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.
Preview
Code
Design software
Installation
CLI
Manual
npx hq-kit add select
Select Item Details
If you need to provide more information about an item, use the SelectItemDetails
component to display additional details.
Preview
Code
Roles
Section
A select component can display items grouped together in sections.
Preview
Code
Select with Icon
A select component can display items grouped together in sections.
Preview
Code
Validation
If a user submits the form without selecting an item, an error message will appear.
Preview
Code
Controlled
You can control the select component by passing the selectedKey
prop.
Preview
Code
Movies
You have selected: Disabled
When the select component is disabled, it cannot be interacted with.
Preview
Code
Design software