{
  "name": "compare-slider-demo",
  "type": "registry:example",
  "registryDependencies": [
    "compare-slider"
  ],
  "files": [
    {
      "path": "examples/compare-slider-demo.tsx",
      "type": "registry:example",
      "content": "import {\n  CompareSlider,\n  CompareSliderAfter,\n  CompareSliderBefore,\n  CompareSliderHandle,\n} from \"@/registry/bases/radix/ui/compare-slider\";\n\nexport default function CompareSliderDemo() {\n  return (\n    <CompareSlider\n      defaultValue={50}\n      className=\"h-[400px] overflow-hidden rounded-lg border\"\n    >\n      <CompareSliderBefore>\n        <img\n          src=\"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop&auto=format&fm=webp&q=80\"\n          alt=\"Before\"\n          className=\"size-full object-cover\"\n        />\n      </CompareSliderBefore>\n      <CompareSliderAfter>\n        <img\n          src=\"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop&auto=format&fm=webp&q=80&sat=-100\"\n          alt=\"After\"\n          className=\"size-full object-cover grayscale\"\n        />\n      </CompareSliderAfter>\n      <CompareSliderHandle />\n    </CompareSlider>\n  );\n}\n",
      "target": ""
    }
  ]
}