0.0.1 • Published 1 year ago

lemon-ui-checkbox v0.0.1

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

🚀 Installation

Install using your package manager of choice:

yarn add vue-tri-state-checkbox

📺 Demo

https://matija-components.vercel.app/tri-state-checkbox

⚙️ Usage

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

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

<script lang="ts" setup>
import { ref } from "vue";
import { TriStateCheckbox } from "vue-tri-state-checkbox";
import "vue-tri-state-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.1

1 year ago