Part 11

Navbar / Header

Theme-specific navigation bar components.

The Navbar (Header) component appears at the top of every theme page. Each theme has its own unique header design with different navigation patterns, mobile menu implementations, and visual styles.

Theme Variants

ThemeComponentStyle
LiquidHeaderLiquid.astroTransparent header with blur backdrop
GlassHeaderGlass.astroFrosted glass navigation bar
NeoHeaderNeo.astroBold, high-contrast header
LuxuryHeaderLuxury.astroPremium header with gold accents
MinimalHeaderMinimal.astroClean, minimalist navigation
AuroraHeaderAurora.astroGradient-accent header

All variants are located at src/components/layout/header/.

Features

Each header variant typically includes:

  • Desktop Navigation: Horizontal nav with dropdown menus
  • Mobile Navigation: Hamburger menu with slide-in drawer
  • Theme Switcher: Integrated theme selector component
  • Language Switcher: Locale selector with flag icons
  • Logo: Brand logo component

Navigation links are configured in src/config/navigation.ts (including the Luxury theme’s extended navigation).

Navigation labels are translated via src/locales/{lang}/nav.json.

ℹ️
No Props

Header components take no external props. Navigation items are defined in config files and labels are loaded from locale JSON.