{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"toggle-switch","type":"registry:component","title":"Toggle Switch","description":"An accessible on/off switch built on a native button.","dependencies":["framer-motion"],"files":[{"path":"components/ui/ToggleSwitch.tsx","type":"registry:component","content":"\"use client\";\n\nimport { useState } from \"react\";\nimport { motion, useReducedMotion } from \"framer-motion\";\n\nexport function ToggleSwitch({ label }: { label: string }) {\n const [checked, setChecked] = useState(false);\n const shouldReduceMotion = useReducedMotion();\n\n return (\n \n );\n}","target":"components/ui/ToggleSwitch.tsx"}]}