{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/switch-07","type":"registry:component","title":"Switch 7","description":"A gradient-styled switch with amber to sky/indigo color transitions based on state","registryDependencies":["switch"],"files":[{"path":"src/registry/new-york/components/switch/switch-07.tsx","content":"import { Switch } from '@/registry/new-york/ui/switch'\n\nconst SwitchGradientDemo = () => {\n  return (\n    <Switch\n      aria-label='Destructive Switch'\n      className='focus-visible:border-destructive to-destructive/60 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 bg-linear-to-r from-amber-500 bg-origin-border data-[size=default]:h-5.5 data-[size=default]:w-10 data-[state=checked]:from-sky-400 data-[state=checked]:to-indigo-700 [&_span]:group-data-[size=default]/switch:size-5 data-[state=checked]:[&_span]:translate-x-4.5 data-[state=checked]:[&_span]:rtl:-translate-x-4.5'\n    />\n  )\n}\n\nexport default SwitchGradientDemo\n","type":"registry:component","target":"components/shadcn-studio/switch/switch-07.tsx"}]}