{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "radiogroup-10",
  "dependencies": [
    "react-icons"
  ],
  "registryDependencies": [
    "badge",
    "label",
    "radio-group"
  ],
  "files": [
    {
      "path": "src/components/base-variants/radiogroup/radiogroup-10.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Label } from \"@/components/ui/label\";\nimport { RadioGroup, RadioGroupItem } from \"@/components/ui/radio-group\";\n\nconst RadioGroup10 = () => {\n  const id = useId();\n\n  const items = [\n    { value: \"1\", label: \"Starter\", price: \"Free\" },\n    { value: \"2\", label: \"Growth\", price: \"$19/mo\" },\n    { value: \"3\", label: \"Scale\", price: \"Custom\" },\n  ];\n\n  return (\n    <RadioGroup className=\"w-full max-w-96 gap-0 space-y-2\" defaultValue=\"2\">\n      {items.map((item) => (\n        <div\n          key={`${id}-${item.value}`}\n          className=\"border-input has-data-[state=checked]:bg-primary/10 dark:has-data-[state=checked]:bg-primary/20 has-data-[state=checked]:border-primary relative flex flex-col gap-3 rounded-full border p-4 shadow-[inset_0_-3px_4px_rgba(0,0,0,0.1),inset_0_2px_2px_rgba(255,255,255,1),0_2px_6px_rgba(0,0,0,0.05)] transition has-data-[state=checked]:z-10 dark:shadow-[inset_0_-3px_4px_rgba(0,0,0,0.6),inset_0_1px_2px_rgba(255,255,255,0.1),0_2px_6px_rgba(0,0,0,0.6)]\"\n        >\n          <div className=\"group flex items-center justify-between\">\n            <div className=\"flex items-center gap-2\">\n              <RadioGroupItem\n                id={`${id}-${item.value}`}\n                value={item.value}\n                aria-label={`plan-radio-${item.value}`}\n                className=\"text-primary bg-background data-[state=checked]:border-primary data-[state=checked]:[&_svg]:fill-primary after:absolute after:inset-0\"\n                aria-describedby={`${`${id}-${item.value}`}-price`}\n              />\n              <Label\n                className=\"inline-flex items-center gap-2 font-medium\"\n                htmlFor={`${id}-${item.value}`}\n              >\n                {item.label}\n                {item.value === \"2\" && (\n                  <Badge\n                    variant=\"outline\"\n                    className=\"border-primary/30 bg-primary/10 text-primary rounded-md px-2 py-0.5 text-[10px] shadow-[inset_0px_1px_2px_rgba(255,255,255,0.1)]\"\n                  >\n                    Popular\n                  </Badge>\n                )}\n              </Label>\n            </div>\n            <div\n              id={`${`${id}-${item.value}`}-price`}\n              className=\"text-muted-foreground group-has-checked:text-foreground text-sm\"\n            >\n              {item.price}\n            </div>\n          </div>\n        </div>\n      ))}\n    </RadioGroup>\n  );\n};\n\nexport default RadioGroup10;\n",
      "type": "registry:ui",
      "target": "components/ui/radiogroup-10.tsx"
    }
  ],
  "type": "registry:ui"
}
