Forms · RadioGroup
SSR NativeAccessibleRadio Group
Groups mutually exclusive native radio choices under one legend.
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
| Prop | Type | Default | Description |
|---|---|---|---|
legend* | string | — | Visible group question. |
description | string | — | Optional group guidance. |
class | string | — | Additional classes forwarded to the rendered element. |
Accessibility
Native fieldset and legend semantics define the relationship between choices.