Docs
Switch

Switch

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

Installation

Install the following dependencies:

npm install @radix-ui/react-switch

Copy and paste the following code into your project.

Copy and paste the switch code into your project.