Back to Components
Components
Navbar Sticky
Sticky top navigation bar with scroll-aware transparency and optional actions.
NNimbus
Scroll the page to preview the transparency shift.
Pair with hero content or dashboards for a clean entry.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/navbar-sticky.tsx
Installation
Using shadcn CLI
npx shadcn add navbar-sticky --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge