# V radio group 12

> Shipping Options

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-radio-group-12).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-radio-group-12
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-radio-group-12-light-ad68d7bafa31c361.png
- Registry item: https://ui.cnippet.dev/r/v-radio-group-12.json
- Categories: radio group
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-radio-group-12.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: `@cnippet/radio-group`

## Files

### `registry/default/variants/v-radio-group-12.tsx`

```tsx
import { Label } from "@/registry/default/ui/label";
import { Radio, RadioGroup } from "@/registry/default/ui/radio-group";

const options = [
  {
    description: "5–7 business days",
    label: "Standard",
    price: "Free",
    value: "standard",
  },
  {
    description: "2–3 business days",
    label: "Express",
    price: "$9.99",
    value: "express",
  },
  {
    description: "Next business day",
    label: "Overnight",
    price: "$24.99",
    value: "overnight",
  },
];

export default function Particle() {
  return (
    <RadioGroup className="w-full max-w-sm" defaultValue="standard">
      {options.map(({ description, label, price, value }) => (
        <Label
          className="flex cursor-pointer items-center gap-3 rounded-lg border p-3 hover:bg-accent/50 has-data-checked:border-primary/48 has-data-checked:bg-accent/50"
          key={value}
        >
          <Radio value={value} />
          <div className="flex flex-1 items-center justify-between">
            <div className="flex flex-col gap-0.5">
              <span className="font-medium text-sm">{label}</span>
              <span className="text-muted-foreground text-xs">
                {description}
              </span>
            </div>
            <span className="font-medium text-sm">{price}</span>
          </div>
        </Label>
      ))}
    </RadioGroup>
  );
}
```
