Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
React Native docs
FormsReact Native

Multi select

Select multiple searchable options with controlled values and result states.

Public APILumenMultiSelectReact Native

Native example

Use Multi select

Selection applies immediately. The host owns search, asynchronous results, cancellation, and persistence. Missing selected options retain their raw value as a chip label. Localize every string and count/removal formatter.

View captured React Native example
Multi select rendered in the Expo web renderer Lumen playground
Captured exampleExpo web renderer
tsx
<LumenMultiSelect label="Teams" values={teams} onValuesChange={setTeams}
  query={query} onQueryChange={setQuery} options={matchingTeams} />

Reference

Public API

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

APIValues or typeDefaultDescription
label / optionsstring / readonly LumenAutocompleteOption[]RequiredNames the field and supplies uniquely identified, readable results.
values / onValuesChangeReadonlySet<string> / (values: Set<string>) => voidRequiredControls selection independently from visible results.
query / onQueryChangestring / callbackRequiredControls caller-owned search.
loading / resultsErrorMessage / onRetryboolean / string / callbackfalse / null / nullProvides loading, safe error, and recovery states.
description / errorMessagestringNoneProvides help and separate form validation.
enabled / readOnlybooleantrue / falseBlocks editing and dismisses selection.
chooseLabel / searchLabel / clearSearchLabel / doneLabelstringEnglish defaultsLocalizes selection and dialog actions.
emptyLabel / loadingLabel / retryLabelstringEnglish defaultsLocalizes result states.
selectionLabel / removeLabel(count: number) => string / (label: string) => stringEnglish formattersLocalizes counts and chip removal.
safeAreaInsetsLumenSafeAreaInsetsNonePasses the application safe-area provider insets into the native sheet.
———Applies field layout.

Native behavior

Design and accessibility

When to use it

Selection applies immediately. The host owns search, asynchronous results, cancellation, and persistence. Missing selected options retain their raw value as a chip label. Localize every string and count/removal formatter.

Accessibility

Uses a native dialog with named checkbox options, removal actions, validation, and read-only or disabled behavior.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives