Tessera
GitHub

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 description for a one-line consequence of the option.

Don't

  • Don't use a single radio on its own; it can't be unselected.

Props

PropType
namestring
valuestring
checkedboolean
defaultCheckedboolean
onChange(e: any) => void; disabled?: boolean; description?: string; children?: React.ReactNode; className?: string

Use

const { Radio } = window.Tessera;
const el = React.createElement(Radio, { /* props */ });