Animated Navbar

A floating pill. A highlight glides between items, menus swing down in 3D, and phones get a hamburger with an accordion.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

AnimatedNavbar props

PropTypeDefaultDescription
logoReactNodeBrand mark or name shown at the left of the bar.
itemsNavbarItem[]Navigation links, optionally with dropdown sub-items.
actionsReactNodeRight side: theme toggle, sign in, call to action...
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks