Switch

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

Source code

Click here to see the source code for this component on GitHub. Feel free to copy it and adjust it for your own use.

Installation

npx ui-thing@latest add switch

Usage

Basic example

Form