Expanding Search Bar
- from @beste-ui
A bar with brand, links and a search icon that widens into a full input, pushing the links aside, while a Categories trigger drops a two-column floating card. On a phone the search takes over the bar and the filtered link list below it becomes the menu. Every panel 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/navbar105Registry dependencies2
- button
- input