Skip to content

Switch

A switch.

Terminal window
npx @sv/components switch

Example



---
import { Switch } from "./Switch.jsx";
---
<Switch id="checkbox1">
<span>I agree to use this checkbox</span>
<p class="text-base">This is still work in progress.</p>
</Switch>