GitHub

Switch

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

Notify me when someone mentions me in a comment.

A summary of project activity every Monday morning.

Occasional emails about new features and improvements.

Installation

pnpm dlx shadcn@4.21.1 add https://ui.elhcn.com/r/switch.json

Usage

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