When to use it
Hosts own execution and modal presentation. Grouped literal search retains controlled query and highlight; disabled or stale commands cannot execute.
Named command search, enabled highlight navigation and a usable close path.
Native example
Hosts own execution and modal presentation. Grouped literal search retains controlled query and highlight; disabled or stale commands cannot execute.
<LumenCommand label="Commands" groups={groups} open={open} query={query} activeId={activeId} onOpenChange={setOpen} onQueryChange={setQuery} onActiveIdChange={setActiveId} onSelect={run} />Reference
The primary shared and platform-specific options exposed by LumenCommand.
| API | Values or type | Default | Description |
|---|---|---|---|
| controlled state | Stable records and host state | Required | Retains host values and emits intentional user changes. |
Native behavior
Hosts own execution and modal presentation. Grouped literal search retains controlled query and highlight; disabled or stale commands cannot execute.
Named command search, enabled highlight navigation and a usable close path.
Shared component