Preview
CommandK is a page-level client binding with no truthful interactive state in static HTML. This server-rendered page does not imitate client behavior. Open the live playground.
Usage
CommandK usage<CommandK target="commands" />API
CommandK APICommandKProps
Global ⌘K / Ctrl+K binding for a CommandPalette (or any kit Dialog): a kit-shipped island (the Toaster category) — mount ONE per page with the target dialog's id. Toggles: open palettes close on a second press. Enhancer discipline: started-guard, listener torn down on abort.
| prop | type | notes |
|---|---|---|
| target | string | The Dialog/CommandPalette id to toggle. |