Select

A select allows users to choose a single option from a list of options.

select/main

Resources

Intro & Anatomy

Select components enable users to choose one option from a predefined list of at least four options through a dropdown interface.

Use selects when users need to make a single selection from multiple options where space efficiency is important, e.g. choosing countries, categories, or time periods.

Selects conserve interface space by displaying only the selected option whilst providing access to all available choices through an expandable list. They work best when users need to select from a substantial number of mutually exclusive options.

select/anatomy

 


 

Options & Styles

Labels & Helpers

Label is always required to provide clear context for expected input.
Hint is optional and provides additional guidance or examples.
Counter is optional and shows character limits or current count.
Icon is optional and should only be used when it provides additional benefit.

select/label

Input Values

Selected value displays the user's entered text or data.
Placeholder / Prompt is optional and provides example formatting or expected content.

select/values

States

Selects have multiple interactive states:

Default for standard input appearance
Selected for when the user has selected an option from the dropdown
Error for validation failures requiring user attention

select/states

Disabled

Disabled selects show that a field exists but isn't currently available for input, e.g. when certain conditions haven't been met or the field is temporarily unavailable.

select/disabled

 


 

Best Practice & Usage

Selects should be used for single-choice scenarios with multiple options where space conservation is beneficial.

Use clear, concise option labels and provide appropriate default states for optimal user experience.

dropdown/Usage/DO-MultipleOptions
dropdown/Usage/DONT-yesno
dropdown/Usage/DO-4Options
dropdown/Usage/DONT-emptyState
dropdown/Usage/DO-shortText
dropdown/Usage/DONT-longText
dropdown/style/do
dropdown/style/dont

 


 

Theming

You can customise colours, border width and radius, font styles and weights, spacings and sizes to match your design requirements.

When not using MDX icons, a slot is available to use your own icon library or SVG icons for star representations.