# NativeSelect The browser's own select, styled as a control. Native pickers on phones, no script needed. ```ehtml Example import { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from "@elements/ui/native-select"; ``` ## Parts | Part | What it is | |---|---| | `.native-select` | The wrapper: the select and the chevron stacked in one grid cell. | | `.native-select-control` | The ``: id, autocomplete, aria-\*. | | `onchange` | `(e: Event) => void` | `() => {}` | A new option was chosen. | ### NativeSelectOption | Attribute | Type | Default | Description | |---|---|---|---| | `value` | `string` | (required) | The option's value. | | `disabled` | `boolean` | `false` | Not selectable. | ### NativeSelectOptGroup | Attribute | Type | Default | Description | |---|---|---|---| | `label` | `string` | (required) | The group heading. | | `disabled` | `boolean` | `false` | Disables every option in the group. | ## Slots | Slot | Part | Content | |---|---|---| | `default` | `NativeSelect` | `