Components › Forms
Radio group
One choice from a visible set. RadioCard wraps each option in a selectable panel.
Installation
npx plankui@latest add radio-groupUsage
import { RadioGroup } from "@/components/ui/radio-group";
<RadioGroup defaultValue="team">
<RadioCard value="team" title="Team" description="Shared projects." />
</RadioGroup>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value / defaultValue | string | Selected option. | |
| RadioCard.title | ReactNode | required | Option title. |
| RadioCard.description | ReactNode | Supporting line. |