Country Picker
CountryPicker: ISO 3166-1 alpha-2 codes with localised names from `Intl.DisplayNames`.
Beta
Ready to use, but its API may still change before it is marked stable.
Usage
Import
import { CountryPicker } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/country-picker.
Controlled and uncontrolled
Pass the value prop to control it, or the default prop to let the component own it.
| Value | Default | Change |
|---|---|---|
value | defaultValue | onChange |
States
disabled · invalid · required
Support
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Supported |
| Density | Supported |
| Server rendering | Client component |
| Reduced motion | Not applicable |
Accessibility
No ARIA widget pattern. Not yet audited.
Tests
Covered by unit, accessibility (axe), interaction, visual and hydration tests.