Multi Select
Vue Multi Select Component.
Installation
npm
npm i @gits-id/multi-select
yarn
yarn add @gits-id/multi-select
pnpm
pnpm i @gits-id/multi-select
Usage
<script setup lang="ts">
import {ref} from 'vue';
import VMultiSelect from '@gits-id/multi-select';
import '@gits-id/multi-select/dist/style.css';
const items = ref([
{
text: 'Item 1',
value: 1,
},
{
text: 'Item 2',
value: 2,
},
{
text: 'Item 2',
value: 2,
},
]);
const selected = ref();
</script>
<template>
<VMultiSelect v-model="selected" :items="items" />
</template>
Documentation
View full documentation here.
License
MIT