API reference
Generated from each primitive's $props() declaration.
NativeSelect.Root
Native HTML select dropdown with dark mode support.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| value bind: | — | — | |
| class as className | string | — | |
| children | Snippet | — | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |
NativeSelect.OptGroup
Native HTML select dropdown.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| children | Snippet | — | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |
NativeSelect.Option
Native HTML select dropdown.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| children | Snippet | — | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |