Files
zeekay b836586a64 fix: Include all component types in registry build
- Updated build-registry.mts to include all component types (ui, ai, 3d, animation, code, etc.)
- Fixed missing components issue by processing all components that start with 'components:'
- Now properly handles components that only exist in one theme variant
- Registry now contains 363 components (up from 117)
- AI, 3D, animation, and code components are now accessible via the registry
2025-10-16 22:33:38 -07:00

13 lines
582 B
JSON

{
"name": "slider-demo",
"registryDependencies": [
"slider"
],
"files": [
{
"name": "slider-demo.tsx",
"content": "import { cn } from \"@/lib/utils\"\nimport { Slider } from \"@/registry/default/ui/slider\"\n\ntype SliderProps = React.ComponentProps<typeof Slider>\n\nexport default function SliderDemo({ className, ...props }: SliderProps) {\n return (\n <Slider\n defaultValue={[50]}\n max={100}\n step={1}\n className={cn(\"w-[60%]\", className)}\n {...props}\n />\n )\n}\n"
}
],
"type": "components:example"
}