Select

React select dropdown component with grouped options, per-item descriptions, multi-select, action items, and column-based layouts

import { Select } from "@plexui/ui/components/Select";

Examples

Overview

variant
size
checkPosition
clearable
multiple

With descriptions

variant
size
checkPosition
triggerIcon

Actions

Grouped options

Multiple selection

Column configuration

Reference

Use aria-labelledby with the ID of a visible field label. The default trigger includes that label and its current value or placeholder in its accessible name. aria-label, aria-describedby and aria-invalid also reach the default trigger. Custom triggers manage their own accessibility attributes.

Searchable menus name their input Search options by default. Set searchAriaLabel for a more specific search label without changing the trigger's accessible name or the visible placeholder.

PropTypeDefaultDescription
optionsOptions<T>Array of options or grouped options
valuestring | string[]Selected value (single) or values (multiple)
onChangefunctionCalled when selection changes
multiplebooleanfalseAllow multiple selection
placeholderstring"Select..."Trigger placeholder
variantstring"outline"Trigger variant
sizestring"md"Trigger size
pillbooleanfalseRounded trigger
clearablebooleanfalseShow clear button
blockbooleantrueFull width trigger
disabledbooleanfalseDisable select
actionsarrayActions below options list
OptionViewReact.FCCustom option render
TriggerViewReact.FCCustom trigger render (multi)
searchPlaceholderstringSearch input placeholder
searchAriaLabelstring"Search options"Accessible name of the search input, independent of the trigger label

Select shares the unified 9-step size scale with Button, Input, SelectControl, and SegmentedControl.