Forms
Radio
A single radio; normally used through RadioGroup.
When to use
One option inside a RadioGroup.
Use something else
Standalone → always use RadioGroup.
Do
- Use
descriptionfor a one-line consequence of the option.
Don't
- Don't use a single radio on its own; it can't be unselected.
Props
| Prop | Type |
|---|---|
name | string |
value | string |
checked | boolean |
defaultChecked | boolean |
onChange | (e: any) => void; disabled?: boolean; description?: string; children?: React.ReactNode; className?: string |
Use
const { Radio } = window.Tessera;
const el = React.createElement(Radio, { /* props */ });