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 @aceternity/floating-navbar

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

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

70+ templates and component blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode
A product by Aceternity
Building in public at @mannupaaji