Components · Forms · Select
Back to Select typesSelect
Use for choosing one value from a fixed list, like a country, a status, or a sort order - a picker, not a free-form text field.
Properties
Size, corner radius, label and placeholder are properties of the same component, not separate fields - change them below to check this field's style and states in the Live Preview.
Live Preview
All 4 types compared side by side, each in all 8 states - including Open, which shows the actual options panel, and Loading. One full matrix is rendered per selected combination of Size and Corner radius - check more than one option in a dropdown to see every combination side by side.
Try it
The comparison matrix above freezes one state per row to demonstrate each side by side. This instance is real: click to open it, type to filter the options, and pick one.
When to use
Any form field that picks one value from a known, fixed set of options - never for free-form text.
Validation
A required Select with nothing chosen is still showing its placeholder, not an error - treat "no selection" as invalid only once the user has had a chance to choose.
- Required marking - place an asterisk next to the label, using the Foundation danger color and a programmatic required state. Explain its meaning once per form; omit optional suffixes.
- Validation timing - flag a missing required value on blur or submit, not the instant the trigger receives focus - opening the panel to look at options isn't itself an error.
- Error message - name what's missing, "Choose a country to continue," rather than a generic "This field is required."
Component Guide
Overview
Select is a trigger field that opens a panel of predefined options, letting the user pick exactly one value from a known, fixed set - visually similar to Input but read-only and paired with a chevron, distinct from Dropdown (which triggers actions, not a form value) and Cascader (multi-level drill-down).
When to Use
- A value from a known, fixed set - country, state/province, category.
- Sort order or similar single-choice configuration - Newest first, Price low to high.
- A language or locale picker - any small-to-medium closed option list.
When Not to Use
- Free-form text with no fixed set of valid values - use Input.
- Hierarchical or nested data - use Cascader (linked columns) or Tree Select (an expandable tree).
- Selecting more than one value at a time - use a multi-select variant, Checkbox group, or Transfer.
- A very large option list better filtered by typing - use Autocomplete instead of scrolling a long panel.
Best Practices
- Order options logically - alphabetical, by frequency of use, or with a sensible default first.
- Show an explicit placeholder like "Select an option" rather than silently pre-selecting an arbitrary value.
- Truncate long option labels gracefully in the closed trigger rather than letting them overflow the field.
Do and Don't
Do
An explicit placeholder makes it obvious nothing has been chosen yet, so an untouched field cannot be mistaken for a decision.
Don't
Pre-selecting the alphabetically-first option silently submits an answer nobody gave.
Accessibility
- The trigger uses role="combobox" with aria-haspopup/aria-expanded, and the Open state shows a real role="listbox" panel with role="option" items and aria-selected on the current value - the roles a screen reader needs to announce this as a real picker, not a styled div.
- Keyboard focus stays on the trigger when closed and moves into the option list when open.
- A visible label is associated with the control, and the currently selected value is announced.
Related Components
Input, Cascader, Tree Select, Autocomplete, Dropdown.
{
"component": "Select",
"type": "Dropdown",
"category": "Forms",
"summary": "Select is a trigger field that opens a panel of predefined options, letting the user pick exactly one value from a known, fixed set - visually similar to Input but read-only and paired with a chevron, distinct from Dropdown (which triggers actions, not a form value) and Cascader (multi-level drill-down).",
"whenToUse": [
"A value from a known, fixed set - country, state/province, category.",
"Sort order or similar single-choice configuration - Newest first, Price low to high.",
"A language or locale picker - any small-to-medium closed option list."
],
"whenNotToUse": [
"Free-form text with no fixed set of valid values - use Input.",
"Hierarchical or nested data - use Cascader (linked columns) or Tree Select (an expandable tree).",
"Selecting more than one value at a time - use a multi-select variant, Checkbox group, or Transfer.",
"A very large option list better filtered by typing - use Autocomplete instead of scrolling a long panel."
],
"bestPractices": [
"Order options logically - alphabetical, by frequency of use, or with a sensible default first.",
"Show an explicit placeholder like \"Select an option\" rather than silently pre-selecting an arbitrary value.",
"Truncate long option labels gracefully in the closed trigger rather than letting them overflow the field."
],
"doAndDont": {
"do": "An explicit placeholder makes it obvious nothing has been chosen yet, so an untouched field cannot be mistaken for a decision.",
"dont": "Pre-selecting the alphabetically-first option silently submits an answer nobody gave."
},
"accessibility": [
"The trigger uses role=\"combobox\" with aria-haspopup/aria-expanded, and the Open state shows a real role=\"listbox\" panel with role=\"option\" items and aria-selected on the current value - the roles a screen reader needs to announce this as a real picker, not a styled div.",
"Keyboard focus stays on the trigger when closed and moves into the option list when open.",
"A visible label is associated with the control, and the currently selected value is announced."
],
"relatedComponents": [
"Input",
"Cascader",
"Tree Select",
"Autocomplete",
"Dropdown"
]
}