# svelte-checkbox A checkbox component for Svelte (Cool animation, Customizable). ### [☑️ Demo](https://svelte-checkbox.surge.sh/) demo ## Installation ```bash yarn add svelte-checkbox ``` ## Usage ```html ```
## Props | Prop | Type | Default | Description | | -------------- | ------- | ------- | ------------------------ | | size | String | 3rem | Component width & height | | name | String | - | Input name | | id | String | - | Component id | | class | String | - | Component class | | primaryColor | String | #242432 | Primary color | | secondaryColor | String | #d8d8ea | Secondary color | | checked | Boolean | false | Checked input |
## Events | Event Name | Callback | Description | | ---------- | ----------------------- | ---------------------------- | | change | (event) => event.detail | fires when checked/unchecked |
```html ```
## Full Usage ```html ```
### [Join Our Telegram Community](https://t.me/svelteGroup)