...
Toggle a boolean setting on or off.
npx neobrutal add switchimport { Switch } from '@/components/ui/switch'
import { Label } from '@/components/ui/label'<div className='flex items-center gap-2'>
<Switch id='airplane-mode' />
<Label htmlFor='airplane-mode'>Airplane Mode</Label>
</div>This component is built on top of Base UI Switch. Refer to the Base UI documentation for the full list of available props.