Skip to content
Async search select, light
Light
Async search select, dark
Dark

Every state

  • Async search select, default, light
    Async search select, default, dark

    default

  • Async search select, focus, light
    Async search select, focus, dark

    focus

  • Async search select, loading, light
    Async search select, loading, dark

    loading

  • Async search select, results, light
    Async search select, results, dark

    results

  • Async search select, empty, light
    Async search select, empty, dark

    empty

  • Async search select, error, light
    Async search select, error, dark

    error

  • Async search select, filled, light
    Async search select, filled, dark

    filled

  • Async search select, invalid, light
    Async search select, invalid, dark

    invalid

  • Async search select, disabled, light
    Async search select, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"topics"Input id; the listbox, option, description and error ids hang off it.
namestring"topics"Form name; one hidden input per chosen value.
labelstring"Topics"Field label, also the listbox name.
descriptionstring"We send you new articles on these topics."Line under the field.
placeholderstring"Search topics"Placeholder of the search input.
loadOptions(query: string, signal: AbortSignal) => Promise<{ value: string; label: string; detail?: string }[]>a made-up topic list after 600 msFinds the options for what was typed; reject to show the error state. Earlier searches are aborted.
debouncenumber300Milliseconds after the last key before searching.
minCharsnumber2Typed characters before a search starts.
defaultValue{ value: string; label: string }[]two topicsOptions chosen at the start.
onChange(options: { value: string; label: string }[]) => void–Called with the chosen options after every change.
errorstring–Error under the field; marks the input invalid.
disabledboolean–Disables the search and the chips.
classNamestring–Extra classes on the field.

More multi-selects

All 6
multi-select-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans