# Pricing plan radio cards

> Pricing plan radio cards

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-radio-group-17).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-radio-group-17
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-radio-group-17-light-6564a99d9e5301f2.png
- Registry item: https://reui.io/r/new-york-v4/c-radio-group-17.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-radio-group-17.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `field`, `radio-group`

## Files

### `c-radio-group-17.tsx`

```tsx
import {
  Field,
  FieldContent,
  FieldDescription,
  FieldLabel,
  FieldTitle,
} from "@/components/ui/field"
import {
  RadioGroup,
  RadioGroupItem,
} from "@/components/ui/radio-group"

const plans = [
  {
    value: "free",
    title: "Free",
    price: "$0",
    description: "For personal projects and experiments.",
  },
  {
    value: "pro",
    title: "Pro",
    price: "$19",
    description: "For professionals and small teams.",
  },
  {
    value: "enterprise",
    title: "Enterprise",
    price: "$49",
    description: "For organizations with advanced needs.",
  },
]

export function Pattern() {
  return (
    <RadioGroup defaultValue="pro" className="w-full max-w-xs">
      {plans.map((plan) => (
        <FieldLabel key={plan.value} htmlFor={plan.value}>
          <Field orientation="horizontal">
            <RadioGroupItem value={plan.value} id={plan.value} />
            <FieldContent>
              <FieldTitle className="flex items-center justify-between">
                <span>{plan.title}</span>
                <span className="text-sm font-semibold">{plan.price}/mo</span>
              </FieldTitle>
              <FieldDescription>{plan.description}</FieldDescription>
            </FieldContent>
          </Field>
        </FieldLabel>
      ))}
    </RadioGroup>
  )
}
```
