Components › Components

Combobox

An input that filters a list as you type: one pick or several, options from the server, and a change the parent can cancel.

Styled: Combobox on ui.clarusjs.com, ready to copy, in plain CSS or Tailwind.

tscl
@import uiCombobox from '@clarusjs/ui-primitives/combobox.tscl'

<uiCombobox [id]="'fruit'" [label]="'Fruit'" [options]="fruits" [(value)]="form.fruit" />

From @clarusjs/ui-primitives, styled by @clarusjs/ui: @import '@clarusjs/ui/ui.css' once, and change the look with its --ui- tokens (--ui-accent, --ui-radius, --ui-font…). Without it, the part is unstyled and works the same.