Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Floating Navbar

A sticky Navbar that hides on scroll, reveals when scrolled up.

Open in

Scroll back up to reveal Navbar

Installation

Run the following command

npx shadcn@latest add https://ui.aceternity.com/registry/floating-navbar.json

Props

Prop nameTypeDescription
classNamestringThe class name of the child component.
navItems{name: string, link: string, icon: ReactNode}The navigation items you want to render in the navbar

Build websites faster and 10x better than your competitors with Aceternity UI Pro

With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.

Go Pro
Manu was quick to respond, very professional, and delivered a website within a week. Very good job. Looking forward to collaborating again

Asriel Han

Founder, CTO at Advex AI

A product by Aceternity
Building in public at @mannupaaji