Getting Started
Dark Mode
Charts
Colors
Drag-and-drop
Forms
Utilities
Select
Select a start and end date, perfect for booking a vacation or setting periods efficiently, streamlining the process of defining time spans with ease.
Basic
A select component displays a dropdown list of options, allowing users to pick one from the list.
Installation
If you hit any issues, make sure you check out the installation guide here for more information.
Composed Components
Plug this component into the CLI, and it automatically loads all the included components. No need to add them individually.
The Select comes packed with a variety of components to make it stand out.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Select Item Details
If you need to provide more information about an item, use the SelectItemDetails
component to display additional details.
Section
A select component can display items grouped together in sections.
Select with Icon
A select component can display items grouped together in sections.
Validation
If a user submits the form without selecting an item, an error message will appear.
Controlled
You can control the select component by passing the selectedKey
prop.
Uncontrolled
You can uncontrolled the select component by passing the defaultSelectedKey
prop.
Disabled
When the select component is disabled, it cannot be interacted with.