ZAO造

Select

A single choice from a short, fixed set of options.

Preview

Su uses the Quiet instrument direction. Use the mode switcher above to see light and dark.

Region
Choose the region for this workspace.
Backup region
Choose a backup region.
Current plan
Workspace location
Open the list to browse complete names and scroll through locations.

Sizes

Small
Default
Large

Fields together

Region

Edit the fields, then save changes.

Usage

  • Use Select when the available choices can be scanned without searching.
  • Keep option labels short and distinct. Use Combobox when people need to filter a longer list.
  • A fill highlights the option being navigated. The checkmark identifies the selected value.

API

PropValuesDefault
labelstringrequired
optionsOption[]required
value / defaultValuestring—
onValueChange(value: string | null) => void—
placeholderstring—
disabledbooleanfalse
sizesmall | default | largedefault

Example

import { Select } from '@zao/react';

<Select label="Region" options={[{ value: 'west', label: 'West' }]} />

Accessibility

Select connects its label, trigger, list, and selected option through Base UI. Arrow keys navigate enabled options, Enter selects, and Escape closes the list. Native item keyboard focus keeps a visible outline, and disabled options remain inactive. Highlighting stays visible in forced colors and through closing; reduced motion shows the completed popup immediately.