Back to Components
Components

Navbar

Responsive navbar with a mobile hamburger toggle and optional actions.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/navbar.tsx

Installation

Using shadcn CLI

npx shadcn add navbar --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge