Svelte switch
A simple switch component for sveltev3. Example can be found here.
Installing
npm i -D svelte-switch
Usage
<script>
import Switch from './Switch.svelte';
let yes = false;
</script>
<Switch bind:checked={yes}></Switch>
License
This project is licensed under the MIT License.