0.0.3 • Published 1 year ago

vue3-lemon-checkbox v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

🚀 Installation

Install using your package manager of choice:

npm install vue3-lemon-checkbox
or
yarn add vue3-lemon-checkbox

⚙️ Usage

Import the component locally or define it globally and include the css file:

<template>
  <lemon-checkbox v-model="val" label="Vite + Vue" />
</template>

<script lang="ts" setup>
import { ref } from "vue";
import { LemonCheckbox } from "vue3-lemon-checkbox";
import "vue3-lemon-checkbox/dist/style.css";
const val = ref(null);
</script>

📃 Props

NameTypeDefaultDescription
v-modelboolean/nullStandard two way input
disabledbooleanfalseMakes the component uninteractable
colorstring#FFF312Color of the checkbox background
labelstring/undefinedCheckbox label
0.0.3

1 year ago

0.0.2

1 year ago