Components/Switch

Switch

On / off toggle with a spring-driven thumb.

Installation

$npx shadcn@latest add @opendraft/switch

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.