ComponentsRadio

formstexulinot agent-emittableapp

Radio

radio

One option inside a RadioGroup.

Live examples

Radio option

Radio option

Loading demo…

Props

Public props for Radio
NameKindRequiredDefaultDescription
valuestringyes——
disabledbooleannofalse—
idstringno——
labelstringno——
descriptionstringno——
sizeenum (sm, md)no"md"—
cardbooleannofalse—
classstringno——
childrenslotno——

Keyboard

Keyboard behavior for Radio
KeyAction
—See accessibility notes for keyboard behavior.

Accessibility

  • value is required; card layout keeps the label associated with the control.

Evidence for radio

Latest committed gates for radio (as of 2026-10-23). Static snapshot — not live CI.

Behavior

n/ano behavior scenario

No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).

Size (gzip)

@texuli/primitives/radio · budget 4.00 KiB

Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.

Axe

documented

  • tests/e2e/site-component-pages.spec.ts
  • docs/quality (a11y-*)

Site component pages axe gate; package-level a11y docs under docs/quality when present.

Browsers

  • chromium
  • webkit
  • mobile

Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.

When to use

Use when

  • A single exclusive option inside radio-group

Don’t use when

Prefer another component

  • Independent toggles (use checkbox or switch)