Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
ActionsAndroid

Command

Named command search, enabled highlight navigation and a usable close path.

Public APILumenCommandAndroid / Compose

Native example

Use Command

Hosts own execution and modal presentation. Grouped literal search retains controlled query and highlight; disabled or stale commands cannot execute.

Command rendered in the Android phone emulator Lumen playground
Captured exampleAndroid phone emulator
kotlin
LumenCommand("Commands", groups, open, onOpenChange, query, onQueryChange, activeId, onActiveIdChange, run)

Reference

Public API

The primary shared and platform-specific options exposed by LumenCommand.

APIValues or typeDefaultDescription
controlled stateStable records and host stateRequiredRetains host values and emits intentional user changes.

Native behavior

Design and accessibility

When to use it

Hosts own execution and modal presentation. Grouped literal search retains controlled query and highlight; disabled or stale commands cannot execute.

Accessibility

Named command search, enabled highlight navigation and a usable close path.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module