Components/Radio Group

Search documentation

Jump to any guide or component.

↑↓ move · Enter open · Esc close

Forms · RadioGroup

SSR NativeAccessible

Radio Group

Groups mutually exclusive native radio choices under one legend.

Live previewv0.1.4
Deployment policy

Choose how changes reach production.

Astro
---
import { RadioGroup } from '@charvesta/cetha';
---

<RadioGroup legend="Deployment policy">
  <label><input type="radio" name="policy" checked /> Manual</label>
  <label><input type="radio" name="policy" /> Automatic</label>
</RadioGroup>

API reference

PropTypeDefaultDescription
legend*stringVisible group question.
descriptionstringOptional group guidance.
classstringAdditional classes forwarded to the rendered element.

Accessibility

Native fieldset and legend semantics define the relationship between choices.