vue-multiselect is a dependency-free Vue component for single and multiple selects, search, tagging, groups, and async options with v-model support.
Overview
vue-multiselect is a UI component library for Vue.js that implements select boxes, multiselects, and tagging in one package. It is intended as a self-contained control for forms and filters where native selects are too limited.
The component supports single and multiple selection, searchable dropdowns, custom option templates, option groups, tagging with an @tag event, and asynchronous option loading for typeahead-style search. Configuration props control searchability, label and track-by fields for object options, limits on visible results, and open direction.
Version 3 targets Vue 3 and is largely backward compatible with the 2.x API aside from standard Vue 3 migration changes: value becomes modelValue and the input event becomes update:modelValue. The implementation uses mixins, exposes slots, works with Vuex, and documents server-side rendering support on the project site.
Install via npm or a CDN global registration. The component requires Vue’s Options API; documentation warns about compatibility issues with some @vitejs/plugin-vue versions that disable Options API unless configured carefully.
Key features
- Single and multiple selection modes
- Searchable dropdown filtering
- Tagging new options
- Async remote options loading
- Custom option and tag templates
- Option groups support
- Vuex-friendly v-model usage
- No external dependencies
Use cases
- Replace native select in Vue forms
- Build searchable country pickers
- Allow users to add custom tags
- Load select options from an API