Select
InputsA dropdown selection component.
Preview
Usage
<Select label="Country" options={countries} bind:value={country} />Props
| Name | Type | Default | Description |
|---|---|---|---|
| value | string | '' | The selected value. |
| options | { value: string, label: string }[] | [] | List of options. |
| label | string | '' | Label text. |