Report a problem or share feedback← Catalog
Toolbar Dynamic
curatedfreemotion-primitives/toolbar-dynamic
A toolbar component with dynamic appearance based on user interaction.
$
npx shadcn@latest add @motion-primitives/toolbar-dynamicnpm deps: motion
Our notes
Toolbar that expands into a search/input panel. Hard-codes zinc/white — swap to bg-popover/border/text-muted-foreground before using.- Source
- Motion Primitives
- Kind
- component
- Categories
- navigation
- Use as
- drop-in — replaces your component
- Applies to
- navigation
- Motion
- on press, state · medium · motion · medium cost · ignores reduced motion
- Tags
- motion
- Licence
- MIT (ibelick/motion-primitives). Motion Primitives Pro is a separate paid product — not catalogued.
- Live demo
- motion-primitives.com
- Docs
- motion-primitives.com
Similar
Compare all 4 →- Floating Navbarsmoothui/floating-navbarFloating pill navbar that tightens its padding after 120px of scroll, hides on scroll-down and returns on scroll-up, with a layoutId pill behind the active link. bg-background/90 + backdrop-blur, theme tokens; focus ring uses brand. Positioned absolute — pass className="fixed" for a page navbar. Hide-on-scroll is disabled under reduced motion. Marketing pages only (see the navigation playbook's scroll-aware direction).
- Toolbar Expandablemotion-primitives/toolbar-expandableAn expandable toolbar that reveals additional options with animations.
- Resizable Navbaraceternity/resizable-navbarNavbar that shrinks into a pill on scroll — the standard 'modern landing page' nav.