UI Siêu Ngon

Select

Custom dropdown with keyboard navigation, search, multi-select, option groups, and smart positioning.

Playground
label
placeholder
size
searchable
clearable
disabled
rounded
<Select
  options={options}
  placeholder="Choose a fruit..."
/>

Basic

Single selection with a placeholder.

With Label and Clearable

Favourite fruit

Searchable

Show a search input inside the dropdown.

Multi-select

Enable multiple option selection.

Option Groups

Group options with the group key.

Fruits
Vegetables

Error State

Category
Please select a category

Sizes

API

PropertyTypeDefaultDescription
options*SelectOptionOrGroup[]Array of options or option groups. Each option: { value, label, disabled? }
valuestring | number | (string | number)[]Controlled value. Array when multiple is true
defaultValuestring | number | (string | number)[]Initial value for uncontrolled usage
onChange(value) => voidCalled when selection changes
multiplebooleanfalseEnable multi-select mode
searchablebooleanfalseShow a search input inside the dropdown
clearablebooleanfalseShow a clear button when a value is selected
placeholderstring"Select..."Placeholder shown when no option is selected
disabledbooleanfalseDisable the select
labelstringLabel rendered above the trigger
requiredbooleanfalseMark label as required
errorstringError message below the select
hintstringHint text below the select
size"sm" | "md" | "lg""md"Size preset
emptyTextstring"No options found"Empty state message