Skip to content
GitHub

Native Select

Styled native HTML select element.

For a styled select component, use the Select component.

Installation

Usage

Native Select vs Select

  • NativeSelect — Use for native browser behavior, better performance, or mobile-optimized dropdowns.
  • Select — Use for custom styling, animations, or complex interactions.

Sizes

Use the size prop to change the select height.

Small

Medium

Large

State

Controlled

Use value and onChange to control the select externally.

Selected:

Disabled

Use the disabled prop to disable the select.

Invalid

Use the invalid prop to mark the select as invalid.

Examples

Groups

Use <NativeSelectOptGroup /> to group options with a label.

With Field

Wrap in <Field /> with <FieldLabel /> and <FieldDescription /> for proper labeling and accessibility.

Used for shipping estimates

API Reference

NativeSelect

Extends native <select> props. Additional props:

NativeSelectOptGroup

Extends native <optgroup> props. Use label for the group label.

NativeSelectOption

Extends native <option> props. Use value and children for option value and label.


For a complete list of props, see the Ark UI documentation.