JSPM

  • Created
  • Published
  • Downloads 49
  • Score
    100M100P100Q92893F
  • License MIT

Vue Select Component

Package Exports

  • @morpheme/select
  • @morpheme/select/package.json
  • @morpheme/select/src/Changelog.stories.mdx
  • @morpheme/select/src/Readme.stories.mdx
  • @morpheme/select/src/Select.spec.ts
  • @morpheme/select/src/Select.stories.ts
  • @morpheme/select/src/Select.vue
  • @morpheme/select/src/SelectField.vue
  • @morpheme/select/src/SelectSearchInput.vue
  • @morpheme/select/src/VSelect.dark.scss
  • @morpheme/select/src/VSelect.scss
  • @morpheme/select/src/VSelect.spec.ts
  • @morpheme/select/src/VSelect.stories.ts
  • @morpheme/select/src/VSelect.vue
  • @morpheme/select/src/index.ts
  • @morpheme/select/src/stories/SelectObjects.story.vue
  • @morpheme/select/src/types.ts
  • @morpheme/select/src/vue.d.ts

Readme

Vue Select

Vue Select Component.

Installation

npm

npm i @morpheme/select

yarn

yarn add @morpheme/select

pnpm

pnpm add @morpheme/select

Usage

<script setup lang="ts">
import {ref} from 'vue';
import VSelect from '@morpheme/select';
import '@morpheme/select/dist/style.css';

const items = ref([
  {
    text: 'Item 1',
    value: 1,
  },
  {
    text: 'Item 2',
    value: 2,
  },
]);
</script>

<template>
  <VSelect :items="items" />
</template>

Documentation

View full documentation here.

License

MIT