On This Page
A two-state button that can be either on or off.
npx shadcn-vue@latest add toggle
<script setup lang="ts"> import { Toggle } from '@/components/ui/toggle' </script> <template> <Toggle>Toggle</Toggle> </template>