Navbar

Navigation

A navigation bar for site-wide navigation. Use navbars at the top of pages to provide primary navigation and branding.

Import

import { 
  Navbar, 
  NavbarContent, 
  NavbarBrand, 
  NavbarItems, 
  NavbarItem,
  ResponsiveNavbar 
} from "@/components/ui/navbar";

Usage

Interactive Navbar

A responsive navigation bar that adapts to screen size. Use the viewport toggle to see how the navbar transforms - mobile view shows a hamburger menu that opens a dropdown.

API Reference

variant"default"
"default" | "dark" | "transparent" | "blur"

Visual style of the navbar

stickyfalse
boolean

Make the navbar sticky at the top

borderedtrue
boolean

Show bottom border