{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slider",
  "type": "registry:ui",
  "title": "Slider",
  "description": "Native range slider",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "agent",
    "ui",
    "react"
  ],
  "docs": "https://agent-ui-27t.pages.dev/docs/slider",
  "files": [
    {
      "path": "packages/react/src/slider.tsx",
      "type": "registry:ui",
      "target": "@ui/slider.tsx",
      "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, \"type\"> {}\n\n/** Native range input with keyboard and assistive technology support. */\nexport const Slider = React.forwardRef<HTMLInputElement, SliderProps>(\n  ({ className, min = 0, max = 100, step = 1, ...props }, ref) => (\n    <input\n      ref={ref}\n      type=\"range\"\n      min={min}\n      max={max}\n      step={step}\n      data-agent-id=\"slider\"\n      aria-label={props[\"aria-label\"] ?? \"Adjust value\"}\n      className={cn(\"h-6 w-full cursor-pointer accent-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:cursor-not-allowed disabled:opacity-50\", className)}\n      {...props}\n    />\n  )\n);\nSlider.displayName = \"Slider\";\n"
    }
  ]
}