Documentation
Components
Switch

Switch

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

Installation

npx shadcn@latest add https://exawizards.com/exabase/design/registry/switch.json

Usage

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

API

See the Switch – Radix Primitives (opens in a new tab) documentation.

Examples

Disabled

Form

Email Notifications

Receive emails about new products, features, and more.

Receive emails about your account security.