Radio Group
18px radios whose dot pops in, laid out as clickable rows with helper text.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { RadioRows } from '@/components/component-kit/items/radio-rows';
export function Example() { return ( <RadioRows aria-label="Plan" defaultValue="pro" options={[ { value: 'free', label: 'Free', description: 'For trying things out' }, { value: 'pro', label: 'Pro', description: 'For shipping to customers' }, ]} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
options | RadioRowOption[] | — | Options with a value, label and optional description or disabled flag. |
value | string | — | Controlled value; use with onValueChange. |