Navigation Components¶
Primitives for site chrome and wayfinding.
All components accept the base props in addition to those listed.
Prop tables are auto-generated by
npm run gen:docsfrom the zod schemas. Edit inside<!-- gen:props -->blocks will be overwritten.
navbar¶
Top navigation bar with a brand and menu items.
| Prop | Type | Description |
|---|---|---|
brand |
string | Brand/logo text (left side) |
items |
string[] | Menu items (right side) |
sidebar¶
Vertical navigation list. Commonly placed as the left column of a dashboard layout.
| Prop | Type | Description |
|---|---|---|
items |
string[] | Menu entries |
active |
string | number | Active entry — label or zero-based index |
tabs¶
Horizontal tabbed navigation.
| Prop | Type | Description |
|---|---|---|
items |
string[] | Tab labels |
active |
string | number | Active tab — label or zero-based index |
breadcrumb¶
Hierarchical trail showing the user's path.
| Prop | Type | Description |
|---|---|---|
items |
string[] | Segments from root to current |
pagination¶
Page navigation control showing current/total.
| Prop | Type | Description |
|---|---|---|
current |
number | Current page (1-based) |
total |
number | Total page count |
stepper¶
Multi-step progress indicator. Useful for onboarding or checkout flows.
| Prop | Type | Description |
|---|---|---|
items |
string[] | Step labels |
active |
number | Zero-based index of the active step |