Switch
A control that allows the user to toggle between checked and not checked.
import { Label } from '@/components/ui/label';
import { Switch } from '@/components/ui/switch';
<template>
<div class="flex items-center gap-3">
<Switch id="airplane-mode" />
<Label @for="airplane-mode">Airplane Mode</Label>
</div>
</template>Installation
Usage
import { Switch } from '@/components/ui/switch';<Switch />