Atelier UI

Search components…

Search components…

Navbar

Responsive navbar with frosted glass on scroll, a mobile menu and a floating pill variant.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

NavbarProps

Also accepts all props of React.ComponentProps<"header">

PropTypeDefaultDescription
brand* requiredReact.ReactNode——
links* requiredNavbarLink[]——
primaryAction{ label: string; href: string }——
secondaryAction{ label: string; href: string }——
variant"bar" | "floating""bar""bar" spans the full width, "floating" is an inset pill
stickybooleantrue—
blurbooleantrueFrosted glass background once the page is scrolled

Install

$ npx shadcn@latest add https://chromotion.dev/r/navbar.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this