https://github.com/ehsan-shv/vb-checkbox
Vue3 and Nuxt3 customizable checkbox input.
https://github.com/ehsan-shv/vb-checkbox
Last synced: about 1 month ago
JSON representation
Vue3 and Nuxt3 customizable checkbox input.
- Host: GitHub
- URL: https://github.com/ehsan-shv/vb-checkbox
- Owner: ehsan-shv
- Created: 2022-02-27T16:08:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T16:53:00.000Z (over 4 years ago)
- Last Synced: 2026-03-18T05:58:50.260Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 572 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vb-checkbox
**Vue 3 checkbox component.**
> Support Vue3, Nuxt3 and type-safe. [Demo](https://ehsan-shv.github.io/vb-checkbox/)
## Installation
```bash
npm i vb-checkbox
```
## Import to component
```js
import { defineComponent, ref } from 'vue';
import Checkbox from 'vb-checkbox';
export default defineComponent({
components: {
Checkbox,
},
setup() {
const checked1 = ref(false);
const checked2 = ref(true);
return { check1, check2 };
},
});
```