Menubar
A pill menubar: a rounded track with pill triggers that open the kit’s 16px-radius menus.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { MenubarRounded } from '@/components/component-kit/items/menubar-rounded';
export function Example() { return ( <MenubarRounded menus={[ { id: 'file', label: 'File', items: [{ id: 'new', label: 'New window', shortcut: '⌘N' }] }, { id: 'edit', label: 'Edit', items: [{ id: 'undo', label: 'Undo', shortcut: '⌘Z' }] }, ]} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
menus | MenubarRoundedMenu[] | — | Top-level menus, each with a label and its rows. |