# RadioGroup

Render a grouped single-choice input set. The classic multiple-choice exam format, now in UI form.

## Notes

- Use RadioGroup when all choices should stay visible.
- Pass label when the group needs an explicit visible legend.
- If you have more than 5 options, consider using a Select instead.

## Properties

| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| name (required) | `string` | - | Name for the radio group. |
| label | `string` | - | Optional group label. |
| options (required) | `RadioOption[]` | - | List of radio options. |
| disabled | `boolean` | false | Whether the group is disabled. |
| defaultValue | `string` | - | Default selected value. |
| class | `string` | - | Additional CSS classes. |

## Example

```astro
<RadioGroup name="channel" label="Preferred channel" options={channelOptions} />
```
