{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slider",
  "type": "registry:component",
  "title": "Slider",
  "description": "A marker stroke with a mustard sticker to grab. The thumb squishes into the paper when pressed and springs back on release; a native range input does the work underneath.",
  "categories": [
    "inputs"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/slider-example.tsx",
      "type": "registry:component",
      "target": "components/plop/slider-example.tsx",
      "content": "\"use client\";\n\nimport { Slider } from \"@plop-ui/react\";\n\n/** Slider: the example from https://plopui.com/docs/components/slider. Edit it freely; the component comes from npm. */\nexport function SliderExample() {\n  return (\n    <>\n      <Slider label=\"Pencil pressure\" defaultValue={40} showValue />\n      <Slider label=\"Radius\" min={0} max={2} step={0.1}\n        value={radius} onValueChange={setRadius}\n        showValue formatValue={(v) => `${v}×`} />\n      <Slider label=\"Volume\" defaultValue={60} disabled showValue />\n\n      // A colored marker fill, and ruler ticks at every step:\n      <Slider label=\"Spice\" min={0} max={5} defaultValue={3} tone=\"tomato\" ticks showValue />\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/slider-example.tsx. Docs: https://plopui.com/docs/components/slider"
}
