@mbeineris/svelte-switch

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @mbeineris/svelte-switch

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

23.1 kB

Total Files

6

Last publish

Collaborators

  • mbeineris