@morpheme/multi-select
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Multi Select

Vue Multi Select Component.

Installation

npm

npm i @morpheme/multi-select

yarn

yarn add @morpheme/multi-select

pnpm

pnpm i @morpheme/multi-select

Usage

<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>

Documentation

View full documentation here.

License

MIT

Package Sidebar

Install

npm i @morpheme/multi-select

Weekly Downloads

131

Version

1.0.1

License

MIT

Unpacked Size

123 kB

Total Files

26

Last publish

Collaborators

  • gravitano