Vue Multi Select Component.
npm
npm i @morpheme/multi-select
yarn
yarn add @morpheme/multi-select
pnpm
pnpm i @morpheme/multi-select
<script setup lang="ts">
import {ref} from 'vue';
import VMultiSelect from '@morpheme/multi-select';
import '@morpheme/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>
View full documentation here.
MIT