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 '@/lib/registry/default/ui/toggle' </script> <template> <Toggle>Toggle</Toggle> </template>