Select Input

The Select Input component enables users to choose a value from a predefined set of options. It is commonly used for form inputs where the available choices are limited and known in advance.

Styles

default
destructive

Sizes

medium
large

States

default: default
default: hover
default: focus
default: filled
default: disabled
default: mandatory
destructive: default
destructive: hover
destructive: focus
destructive: filled
destructive: disabled

Behavior

The Select Input may reveal native dropdown menus styled by the browser and platform by default. However, a custom menu component from the Statewide Design System can be used to ensure visual consistency and enhanced functionality across all environments.

browser-styling: macOS
Option 1
Option 2
Option 3
Option 4
Option 5
browser-styling: iOS
Option 1
Option 2
Option 3
Option 4
Option 5
custom
Helper message displayed here
Destructive

Edge Cases

Here are a few edge cases demonstrating how to properly handle truncation of labels within select inputs.

label

The top label should be truncated on the first line.

input-text

Content that extends beyond the width of the field is truncated before the icon.

assistive-text
Moldova’s digital evolution is at the heart of seamless public service delivery, providing citizens with easy access to essential information.

The assistive text should be truncated on the second line.