Components › Components

Select

A native <select>: the customizable select where the browser has it, the usual one elsewhere.

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

tscl
@import uiSelect from '@clarusjs/ui-primitives/select.tscl'

<uiSelect id="size" label="Size" [options]="sizes" [(value)]="form.size" />

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.