Switch

A switch for on and off settings, with keyboard support and form integration. Built on Base UI.

Installation

npx shadcn@4.19.0 add https://ui.edbn.me/r/switch.json

Source