On/off toggle.
Installation
$ curl -fsSL https://ui.digitexa.com/dx.mjs | node --input-type=module - add switchAlso adds utils, theme and installs @radix-ui/react-switch.
Usage
import { Switch } from "@/components/ui/switch";The Code tab above shows a complete example.