GitHub

Native Select

A styled native HTML select element with consistent design system integration.

For a styled select component, use the Select component.

Installation

Usage

Sizes

Use the size prop to change the select height.

Small

Medium

Large

Examples

Default

Groups

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

Disabled

Use the disabled prop to disable the select.

Invalid

Use the aria-invalid to <Select /> or invalid prop on the <Field /> to mark the select as invalid and show error styling.

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.

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.