Overlays
Command
Fast, composable command menu and palette with keyboard navigation and filtering.
idle
Usage
Anatomy
The parts and how they nest, taken from the preview above.
Examples
Modal command palette
Opens an accessible command palette dialog with backdrop, search input, and keyboard navigation.
Grouped command palette
Search grouped actions and pages in a dialog. Selecting a result closes the palette.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use action names that describe outcomes. Group related commands and show shortcuts when they exist. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Keep important actions available outside the palette. Use Combobox when selecting a form value. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Array of item options or groups containing item arrays for filtering. |
| | "always" | Automatically highlights matching items while typing or on open. |
| | true | Preserves the active item highlight when the pointer leaves the list. |
| | true | Controls whether the command list is rendered inline without popup positioning. |
| | true | Controls visibility of the command list in inline presentation. |