Command Palette

Search for a command to run...

Docs
Expandable Menu Navbar

Expandable Menu Navbar

A monochrome floating navbar that springs open into a stacked menu of grouped, metadata-rich nav items with a status footer and keyboard shortcut.

Installation

Usage

A compact pill renders a wordmark and a Menu toggle. Activating the toggle (or pressing Esc to dismiss) springs the panel open into a grouped menu — each row pairs a label on the left with a monospace meta token on the right, and reveals a chevron on hover. A live status indicator and version number anchor the bottom of the panel. The component renders in pure theme tokens, so it inherits whatever light/dark palette is active.

Props

PropTypeDefaultDescription
brandReactNode<StackedMark/>Custom mark rendered on the left of the top bar.
brandLabelstring"Index"Wordmark text rendered next to the mark.
sectionsNavSection[]3 sample groupsGrouped nav items: { title?, items: { label, meta?, href?, external? }[] }.
statusstring"Available"Footer status label rendered next to the live indicator dot.
versionstring"v2.4.1"Footer version string rendered on the right.
shortcutstring"M"Glyph rendered inside the kbd chip on the top bar.
heightnumber | string560Height of the demo container that hosts the navbar.
classNamestringundefinedExtra classes for the outer container.