Select Component

Select component enables users to choose a single or multiple options within a list. It is the trigger to show the dropdown menu.

Dropdown Variations

Select Text field
Used in a form paired with other text fields and other inputs.
Select Button
When the cursor is on top of the option indicating the option is active and possible to be selected.
Inline Select
Indicating to the user that the option has been selected

Guideline

• Only appears when the cursor is hovering over the selected item.
• Should contain a brief read-only text label.
• On default, tooltips are placed on top of the selected item. But when there isn’t enough space in the viewport, it should be placed to the side or below as needed.

When to Use

• To clarify or give more contextual information about the item being displayed.
• To show information in a form of short and brief sentences.
• Provide context for unlabeled icon buttons.

When not to Use

• Not to display the same thing as the hovered item. For example, providing tooltip labelled “confirm” for an action button labelled “confirm”
• Long complex format information.
• Having action button or link.

Code