- Components
- Forms
Native Select
The platform <select> in the Select trigger's pill look, for forms where the native picker is the right call (mobile, long lists). Surface-aware.
Installation#
npx shadcn add @ortaui/native-selectExamples#
Default and small#
Groups#
Disabled and invalid#
On a surface#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| surface | "default" | "raised" | auto | Look on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface. |
| size | "default" | "sm" | "default" | 42px or 36px tall. |
| className | string | - | Applied to the wrapper (set widths here). |