apps/design-system/content/docs/components/slider.mdx
npx shadcn-ui@latest add slider
<Step>Install the following dependencies:</Step>
npm install @radix-ui/react-slider
<Step>Copy and paste the following code into your project.</Step>
<ComponentSource name="slider" /><Step>Update the import paths to match your project setup.</Step>
</Steps> </TabsContent> </Tabs>import { Slider } from '@/components/ui/slider'
<Slider defaultValue={[33]} max={100} step={1} />