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