Skip to content
BaseLayer Themes

Navbar

Site header with navigation links, modular dropdowns / mega menus, and CTA — full-bleed or floating.

Folder: src/blocks/navbar/

Site chrome for primary navigation. All versions read identity.tsnavigation, share types in src/lib/nav.ts, and render dropdown content through src/components/nav/.

How to author menus: Navigation components — sections, children, featured columns, widths, and recipes.

Version Layout
01 Sticky full-bleed — single plain link list
02 Floating bar — single-column title + description
03 Full-bleed — two-column icon + title + description
04 Full-bleed mega menu (sections) — site default
05 Minimal bar — slide-in drawer (side left/right)
06 Minimal bar — full-screen takeover

Highlights

  • Short formchildren on any link (becomes one list section)
  • Mega menussections with featured, icon-links, and links (optional title / titleStroke)
  • Shared components — Navbar 01–06 all use the same panel pieces
  • Trigger modedropdownTrigger: "hover" | "click" (desktop dropdowns on 01–04); mobile / overlays are always tap
  • Overlays — Navbar 05 (drawer) and 06 (fullscreen) put all links behind a menu button
  • Mobile — hamburger panel; nested content expands full-width as a vertical list

Open a version for the live preview and chrome-specific props. For config shapes and recipes, use the Navigation guide.

← Blocks overview