ComponentsSwitchA control that allows the user to toggle between checked and not checked.Docs API Reference PreviewCodeAirplane Mode Installation pnpm npm yarn bunpnpm dlx shadcn@latest add https://basecn.dev/r/switch.json Examples Disabled PreviewCodeToggle Theme Color PreviewCodeDefaultBlueGreenRedDocs by FumadocsAnalytics by Databuddy