Docs
Switch

Switch

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

Installation

npx shadcn@latest add switch

Usage

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

Examples

Form

Email Notifications

Receive emails about new products, features, and more.

Receive emails about your account security.