Components › Forms

Radio group

One choice from a visible set. RadioCard wraps each option in a selectable panel.

Installation

npx plankui@latest add radio-group

Usage

import { RadioGroup } from "@/components/ui/radio-group";

<RadioGroup defaultValue="team">
  <RadioCard value="team" title="Team" description="Shared projects." />
</RadioGroup>

API reference

PropTypeDefaultDescription
value / defaultValuestringSelected option.
RadioCard.titleReactNoderequiredOption title.
RadioCard.descriptionReactNodeSupporting line.

View the source on GitHub