l2logic2b/ui

Switch

A control that allows the user to toggle between checked and not checked.

Installation

npx logic2b@latest add switch

Usage

import { Switch } from "@/components/ui/switch"

<Switch id="airplane-mode" />