Preview
CommandPalette is a client-driven modal command surface and remains closed during SSR. This server-rendered page does not imitate client behavior. Open the live playground.
Usage
CommandPalette usage<CommandPalette id="commands" commands={[{ label: 'Open deploys', href: '/' }]} />API
CommandPalette APICommandPaletteProps
| prop | type | notes |
|---|---|---|
| id | string | Document-unique id — open with `onOpenDialog(id)`. |
| commands | Command[] | |
| title? | string | Dialog title (default "Commands") — the palette's accessible name. |
| placeholder? | string | |
| mix? | MixInput |