Binhlaig logoBinhlaig UI
Components/Navbar
Binhlaig UI Component

Navbar

A responsive navigation bar with brand, links, actions and mobile menu support.

Installation

Install Navbar in your project.

Terminal
npx binhlaig-ui@latest add navbar

For project setup, installer selection, dependencies, and advanced installation instructions, see the Installation Guide.

View Installation Guide →Update or Overwrite →

Import

Import the Navbar primitives you need.

import {
  Navbar,
  NavbarActions,
  NavbarBrand,
  NavbarContainer,
  NavbarLink,
  NavbarMenuButton,
  NavbarMobileLink,
  NavbarMobileMenu,
  NavbarNav,
} from "@/components/ui/navbar"

Basic

Use brand, navigation links and actions inside the navbar container.

Responsive

Hide desktop navigation and show a mobile menu button on smaller screens.

With Actions

Add search, theme controls or primary actions.

Binhlaig UI

API Reference

Main primitives available in Binhlaig UI Navbar.

ComponentPurpose
NavbarRoot navigation header.
NavbarContainerCenters and spaces navbar content.
NavbarBrandBrand or logo link.
NavbarNavDesktop navigation links.
NavbarLinkNavigation link with active state.
NavbarActionsRight-side action controls.
NavbarMenuButtonMobile menu toggle.
NavbarMobileMenuResponsive mobile navigation panel.
NavbarMobileLinkMobile navigation link.