Command Palette — Playground
groups
State
<button kuiButton type="button" (click)="open.set(true)">Open command palette</button>
<kui-command-palette
[(open)]="open"
[(query)]="query"
[groups]="groups"
(selected)="runCommand($event)"
/>| Name | Type | Default | Description |
|---|---|---|---|
| open | ModelSignal<boolean> | — | Two-way model controlling overlay visibility. |
| groups | readonly KuiCommandGroup[] | — | Command groups rendered in the list. |
| loading | boolean | — | Renders skeleton rows and sets aria-busy. |
| placeholder | string | — | Search input placeholder. |
| label | string | — | Accessible label for the modal dialog and search input. |
| emptyText | string | — | Empty-state title when no command matches. |
| query | ModelSignal<string> | — | Two-way model for the current search value. |
| selected | OutputEmitterRef<KuiCommandItem> | — | Emits the selected command item. |
Inputs and outputs verified against @kikita-labs/ui v1.6.1 public typings.