Skip to content

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.

License

Notifications You must be signed in to change notification settings

ericlifs/vue-select

 
 

Repository files navigation

vue-select Current Release Bundle Size Monthly Downloads Code Coverage Maintainability Score MIT License

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, zero dependency, extensible Vue component.

  • Tagging
  • Filtering / Searching
  • Vuex Support
  • AJAX Support
  • SSR Support
  • ~20kb Total / ~5kb CSS / ~15kb JS
  • Select Single/Multiple Options
  • Customizable with slots and SCSS variables
  • Tested with Bootstrap 3/4, Bulma, Foundation
  • +95% Test Coverage
  • Zero dependencies

Documentation

Complete documentation and examples available at https://vue-select.org.

Install

$ npm install vue-select

Register the component

import Vue from 'vue'
import vSelect from 'vue-select'

Vue.component('v-select', vSelect)

You may now use the component in your markup

<v-select v-model="selected" :options="['Vue.js','React']"></v-select>

You can also include vue-select directly in the browser. Check out the documentation for loading from CDN..

License

MIT

About

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.8%
  • Vue 31.3%
  • CSS 9.3%
  • HTML 0.6%