Sticky Sub-Nav Pills
- from @beste-ui
A main bar of brand, links and a button stacked over a second sticky row of section pills, where a filled indicator slides to the pill you click with a shared framer-motion layout. There is no mega menu; on a phone the toggle reveals the main links as one horizontally scrollable pill row, and the section pills scroll sideways too. The mobile row stays in the markup and is toggled with CSS.
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 @beste-ui/navbar102Registry dependencies1
- button