Elements Native Select
Back to Elements

Native Select

0 components

UI elements you can copy into your project.

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.