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("Commands", groups, open, onOpenChange, query, onQueryChange, activeId, onActiveIdChange, 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