Form fields·loomora/Autocomplete
⚙Related configs↗

Autocomplete

An accessible combobox-style picker with configurable options, selected values, search, and multi-selection limits.

Interactive live playground

Tweak props, change states, and see the live component respond in real time.

Live

How to call

Import directly from the Loomora package root. For projects without Tailwind CSS, ensure loomora/dist/index.css is imported once in your root layout.

import { Autocomplete } from 'loomora'

<Autocomplete label="Choose a component" options={options} properties={{
  value, onChange: (next) => setValue(String(next ?? '')),
}} />

API reference

Important public props and how they affect rendering.

6 props
PropTypeDefaultDescription
optionsAutocompleteOption[][]Selectable option records.
properties.valuestring | number | array—Current selected value(s).
properties.onChangecallbackrequiredReceives selected value(s) and selected option(s).
properties.multiplebooleanfalseEnables multi-select mode.
properties.searchable / onSearchboolean / callback—Enables option filtering and search updates.
properties.min / maxnumber—Selection count constraints in multiple mode.