Hide on Scroll Bar
- from @beste-ui
A sticky store bar that slides away while you scroll down, returns as soon as you scroll up and shrinks from 64 to 56 pixels once the page moves. Shop drops a full-width panel of three link columns, and on a phone the menu is a floating bottom pill of icon links whose Menu button grows a card above it; the pill hides on scroll down too. Panels stay in the markup and are 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/navbar112Registry dependencies1
- button