{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "compare-slider-demo",
  "title": "Compare Slider: Light vs dark",
  "description": "The same UI in both themes.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/compare-slider.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/compare-slider-demo.tsx",
      "content": "import { CompareSlider } from \"@/registry/cuelark/ui/compare-slider\";\n\nfunction Mock({ dark }: { dark?: boolean }) {\n  return (\n    <div className={dark ? \"dark\" : \"\"}>\n      <div className=\"grid h-full content-start gap-3 bg-background p-6 text-foreground\">\n        <div className=\"h-3 w-24 rounded-full bg-foreground/80\" />\n        <div className=\"h-2 w-40 rounded-full bg-muted-foreground/40\" />\n        <div className=\"mt-3 grid grid-cols-3 gap-2\">\n          {[0, 1, 2].map((i) => (\n            <div key={i} className=\"h-16 rounded-lg border border-border bg-card\" />\n          ))}\n        </div>\n        <div className=\"mt-2 h-8 w-28 rounded-md bg-primary\" />\n      </div>\n    </div>\n  );\n}\n\nexport default function CompareSliderDemo() {\n  return <CompareSlider className=\"aspect-[16/10] w-full max-w-lg\" before={<Mock />} after={<Mock dark />} beforeLabel=\"Light\" afterLabel=\"Dark\" />;\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "compare-slider",
    "example"
  ],
  "type": "registry:component"
}