Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Radio Group

One choice from a short list. Radios stay round in every style so they never read as checkboxes.

$ pnpm dlx shadcn@latest add @dumb/radio-group

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
<RadioGroup defaultValue="monthly">
  <RadioGroupItem value="monthly" id="monthly" />
  <RadioGroupItem value="yearly" id="yearly" />
</RadioGroup>

Choice cards

Composed with Label to make whole rows clickable.

Tab
Moves focus to the checked item.
Arrow keys
Moves and checks the next item.