{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/radio-group-15","type":"registry:component","title":"Radio Group 15","description":"An animated inset radio group with smooth transitions for language selection","registryDependencies":["label","radio-group"],"files":[{"path":"src/registry/new-york/components/radio-group/radio-group-15.tsx","content":"import { CircleIcon } from 'lucide-react'\n\nimport { RadioGroup as RadioGroupPrimitive } from 'radix-ui'\n\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst RadioGroupAnimatedInsetDemo = () => {\n  return (\n    <RadioGroupPrimitive.Root data-slot='radio-group' defaultValue='english' className='grid gap-3'>\n      <div className='flex items-center gap-2'>\n        <RadioGroupPrimitive.Item\n          value='english'\n          id='lang-english'\n          data-slot='radio-group-item'\n          className='border-input text-primary-foreground focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary! [&_svg]:fill-primary-foreground relative aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow,border] outline-none focus-visible:ring-3 [&_svg]:size-4 data-[state=checked]:[&_svg]:size-2'\n        >\n          <CircleIcon className='fill-primary absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transition-all duration-500' />\n        </RadioGroupPrimitive.Item>\n        <Label htmlFor='lang-english'>English</Label>\n      </div>\n      <div className='flex items-center gap-2'>\n        <RadioGroupPrimitive.Item\n          value='spanish'\n          id='lang-spanish'\n          data-slot='radio-group-item'\n          className='border-input text-primary-foreground focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary! [&_svg]:fill-primary-foreground relative aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow,border] outline-none focus-visible:ring-3 [&_svg]:size-4 data-[state=checked]:[&_svg]:size-2'\n        >\n          <CircleIcon className='fill-primary absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transition-all duration-500' />\n        </RadioGroupPrimitive.Item>\n        <Label htmlFor='lang-spanish'>Español</Label>\n      </div>\n      <div className='flex items-center gap-2'>\n        <RadioGroupPrimitive.Item\n          value='french'\n          id='lang-french'\n          data-slot='radio-group-item'\n          className='border-input text-primary-foreground focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary! [&_svg]:fill-primary-foreground relative aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow,border] outline-none focus-visible:ring-3 [&_svg]:size-4 data-[state=checked]:[&_svg]:size-2'\n        >\n          <CircleIcon className='fill-primary absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transition-all duration-500' />\n        </RadioGroupPrimitive.Item>\n        <Label htmlFor='lang-french'>Français</Label>\n      </div>\n    </RadioGroupPrimitive.Root>\n  )\n}\n\nexport default RadioGroupAnimatedInsetDemo\n","type":"registry:component","target":"components/shadcn-studio/radio-group/radio-group-15.tsx"}]}