Home
Accordion
Alert
Avatar
Badge
Button
Card
Carousel
Checkbox
Countdown
Currency Converter
Doc Sidebar
Dialog
Dropdown
Form
Input
Kbd
Label
Progress
Radio Group
Rating
Select
Separator
Skeleton
Slider
Spinner
Switch
Tabs
Textarea
Toaster
Tooltip

Select

A customizable select component with support for custom classnames, onChange, and options.

Textarea Example

Props

Select

className: string, options: string[], onChange?: (event: React.ChangeEvent<HTMLSelectElement>) => void

Note: The options prop is required and must be an array of strings. Each string in the array will be rendered as an option in the select dropdown.