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.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
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: groups, open: $open, query: $query, activeId: $activeId, 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