Forms/Select

Select

Accessible dropdown select with optional search, clearable selection, and keyboard navigation. A drop-in replacement for the native select element with full styling control.

import { Select } from "@animui/ui"

Basic usage

Props

PropTypeDefaultDescription
optionsArray<{ value: string; label: string; disabled?: boolean }>Array of selectable options.
valuestringControlled selected value.
onChange(value: string) => voidCalled when selection changes.
labelstringLabel rendered above the select trigger.
placeholderstring"Select..."Placeholder text shown when no option is selected.
searchablebooleanfalseAdds a search input to filter options.
clearablebooleanfalseAdds a clear button to reset the selection.
disabledbooleanfalseDisables the select.
errorstringError message shown below the select.
classNamestringAdditional classes on the wrapper.
© 2026 Steal Shadow. MIT License.Report an issue