Components/Select

Search documentation

Jump to any guide or component.

↑↓ move · Enter open · Esc close

Forms · Select

SSR NativeAccessible

Select

A native single-choice select with Cetha sizing and validation states.

Live previewv0.1.4
Astro
---
import { Select } from '@charvesta/cetha';
---

<Select name="region" aria-label="Region">
  <option>Jakarta</option>
  <option>Singapore</option>
</Select>

API reference

PropTypeDefaultDescription
invalidbooleanfalseApplies invalid styling and aria-invalid.
size'sm' | 'md' | 'lg''md'Sets control density.
classstringAdditional classes forwarded to the rendered element.

Accessibility

Use a visible Field label where possible; native keyboard behavior is retained.