Lift a cover, then flip the switch. Leave it and the cover closes, turning it off. An example of Guarded switch.
pnpm dlx shadcn@latest add "https://bevel-ui.vercel.app/r/guarded-switch-demo.json"