Top Navigation 1 – Left-aligned dropdown navigation
- from @shadcncraft
A classic left-aligned top navigation with horizontal links and inline dropdown menus for larger screens. Primary actions are grouped on the right for clear visual separation. On smaller screens, the layout collapses into a full-height mobile menu with expandable sections, preserving hierarchy while keeping the interaction simple and familiar.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/top-navigation-1Registry dependencies6
- button
- navigation-menu
- @shadcncraft/mobile-navigation-menu
- @shadcncraft/placeholder-logo
- @shadcncraft/use-click-outside
- @shadcncraft/use-mobile
Packages0
No npm packages are installed with it.
