Skip to main content
13 · navbarsNavigation & Wayfinding5 Variations

Navigation Bars

Responsive site headers spanning minimal hairline bars, transparent hero overlays, floating capsules, asymmetric split headers, and multi-column mega-menus.

navigationheaderresponsivemobile-menudropdown
Minimal Navigation
navbars/minimal
Loading variation navbars/minimal...

Component Information

Single-row hairline header with wordmark, inline navigation links with active underline indicator, utility CTA, and mobile menu drawer.

Variation ID
navbars/minimal
Motion Engine
css
Source File
src/labs/components/components/navbars/variations/minimal.tsx
Reduced Motion & Accessibility

CSS color transitions only; zero spatial motion.

  • Uses single <nav> landmark with aria-current="page" on active link.
  • Mobile trigger exposes aria-expanded and aria-controls; closes on Escape.
Dependencies
  • lucide-react^0.553.0Required

    Menu, X, and ArrowUpRight icons

Usage Documentation

import { MinimalNavbar } from '@/src/labs/components/components/navbars';

export function SiteHeader() {
  return (
    <MinimalNavbar
      brandName="ACME STUDIO"
      activeHref="/services"
      links={[
        { label: 'Work', href: '/work' },
        { label: 'Services', href: '/services' },
        { label: 'About', href: '/about' },
      ]}
      cta={{ label: 'Contact', href: '/contact' }}
    />
  );
}

Props API (6)

PropTypeDefaultDescription
brandNamestring'WEB TATTVA'Brand wordmark label.
brandHrefstring'#home'Destination for brand mark.
linksreadonly NavLinkItem[]DEFAULT_NAV_LINKSPrimary horizontal navigation items.
activeHrefstring'#services'Active route href marked with aria-current="page".
cta{ label: string; href: string }{ label: 'Start Project', href: '#contact' }Optional right-aligned CTA button.
onNavigate(href: string) => void—Optional navigation callback for SPA interception.