{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slider",
  "title": "Slider",
  "type": "registry:ui",
  "files": [
    {
      "path": "packages/registry-native/components/slider/Slider.tsx",
      "content": "import * as React from 'react'\nimport NativeSlider from '@react-native-community/slider'\nimport { cssInterop } from 'react-native-css-interop'\nimport { useThemeColors } from '@/lib/theme'\nimport { cn } from '@/lib/utils'\n\nexport type SliderProps = Omit<React.ComponentPropsWithoutRef<typeof NativeSlider>, 'ref'> & { className?: string }\nconst SliderControl = cssInterop(NativeSlider, { className: 'style' })\n\nexport const Slider = React.forwardRef<React.ComponentRef<typeof NativeSlider>, SliderProps>(\n  ({ className, minimumTrackTintColor, maximumTrackTintColor, thumbTintColor, ...props }, ref) => {\n    const colors = useThemeColors()\n    return (\n      <SliderControl\n        {...props}\n        ref={ref}\n        minimumTrackTintColor={minimumTrackTintColor ?? colors.primary}\n        maximumTrackTintColor={maximumTrackTintColor ?? colors.input}\n        thumbTintColor={thumbTintColor ?? colors.primary}\n        className={cn('min-h-[48px] w-full', className)}\n      />\n    )\n  },\n)\nSlider.displayName = 'Slider'\n",
      "type": "registry:ui",
      "target": "~/components/ui/slider/Slider.tsx"
    },
    {
      "path": "packages/registry-native/components/slider/index.ts",
      "content": "export * from './Slider'\n",
      "type": "registry:ui",
      "target": "~/components/ui/slider/index.ts"
    }
  ],
  "dependencies": [
    "@react-native-community/slider",
    "react-native-css-interop"
  ],
  "devDependencies": [],
  "registryDependencies": [],
  "description": "Themed system slider with the Expo-compatible native implementation.",
  "categories": [
    "control"
  ]
}