Back to Component Browser

Radio

Quartz

lib/quartz/components/Radio/index.ts

Preview
Choose an option

Import

import { Radio } from '@/lib/quartz';

Props (6)

NameTypeRequiredDefaultDescription
descriptionstringoptionalThe description text for the `<Radio>`. Accessibly tied to the underlying `<input type="radio">`.
childrenReactNodeoptionalAdditional content below the Radio
childrenMarginTopUnitsenumoptional0The margin between the `children` and the description or label above it....
_quartzInternal_childrenTestIdstringoptional@internal Used for testing within Quartz.
refRef<HTMLInputElement>optionalAllows getting a ref to the component instance....
keyKeyoptional

Usage

Not used in any projects yet.