Menu
Horizontal or vertical link list. Most commonly used in headers and footers.
TSX
<Menu
items={[
{ text: 'Home', href: '/' },
{ text: 'Pricing', href: '/pricing' },
{ text: 'About', href: '/about', target: '_self' },
]}
/>
| Prop | Type | Default |
|---|---|---|
items | { text: string, href: string, target?: string }[] | — (shorthand) |
target defaults to "_blank" when you don't supply one. Other layout props: layout ("horizontal" default, "vertical" for stacked), separator (default ""), align (default "center"), fontSize (default "14px").