# @mbeineris/svelte-switch

> Sveltev3 switch component

Latest version **1.0.0** (published 2019-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mbeineris/svelte-switch
pnpm add @mbeineris/svelte-switch
yarn add @mbeineris/svelte-switch
bun add @mbeineris/svelte-switch
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-08-25 |
| First published | 2019-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 22.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Marius Beineris |
| Maintainers | mbeineris |
| Keywords | svelte |

## Links

- npm: https://www.npmjs.com/package/@mbeineris/svelte-switch
- Repository: https://github.com/mbeineris/svelte-switch
- Homepage: https://github.com/mbeineris/svelte-switch#readme
- Issues: https://github.com/mbeineris/svelte-switch/issues
- npm.io page: https://npm.io/package/@mbeineris/svelte-switch

## Recent versions

- 1.0.0 (latest) — 2019-08-25

## README

# Svelte switch

A simple switch component for sveltev3. Example can be found [here](https://svelte.dev/repl/35d77f2ab11e4197a19ffd8e7c4ac74e?version=3.9.1).

### 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.

---
_Source: https://npm.io/package/@mbeineris/svelte-switch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
