Combobox
Filter a typed option list to one selected value.Examples
Installation
Install the package, then import only the components a route uses. Exports are tree-shakable.
Install
pnpm add fractalsvelteImport
<script lang="ts">
import { Combobox } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Combobox } from 'fractalsvelte';
</script>
<Combobox />Props
| Prop | Type | Default | Description |
|---|---|---|---|
options | Option[] | - | The list of selectable options. |
value | string | '' | The selected value. Supports bind:. |
placeholder | string | 'Search…' | Placeholder text shown when empty. |
