Components/Native Select
Native Select
Styled native HTML select element. Use this when you need full mobile/OS integration or for forms that must work without JavaScript.
Installation
npx ajaxui add native-selectProps
| Prop | Type | Default | Description |
|---|---|---|---|
| selectSize | "sm" | "md" | "lg" | "md" | - |
| variant | "default" | "filled" | "ghost" | "underline" | "default" | Bordered, muted surface, borderless until hover/focus, or bottom-border only. |
| error | boolean | false | - |
| className | string | - | Applied to the wrapper, so width constraints size the select and its chevron together. |