Select

Inputs

A dropdown selection component.

Preview

Usage

<Select label="Country" options={countries} bind:value={country} />

Props

NameTypeDefaultDescription
valuestring''The selected value.
options{ value: string, label: string }[][]List of options.
labelstring''Label text.