Vue Select Component

3.20.4 · active · verified Sun Apr 19

Vue Select is a lightweight, extensible Vue component designed to replace the native HTML `<select>` element, offering enhanced features like filtering, tagging, and AJAX support. The project currently maintains two major lines: the stable version 3.x (latest 3.20.4), which exclusively supports Vue 2, and the actively developed beta channel 4.x (currently 4.0.0-beta.6), which targets Vue 3. While version 3.x receives maintenance updates for critical bug fixes, the primary development effort is focused on the Vue 3 compatible 4.x branch. It differentiates itself by being dependency-free at runtime (aside from Vue itself), highly customizable via slots and SCSS variables, and built with strong emphasis on accessibility. Releases for v3.x have become less frequent as v4.x development progresses towards a stable release, which will likely become the new default for Vue 3 projects.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to install `vue-select@beta` (for Vue 3), import, globally register the component, and include its essential CSS for basic usage.

import { createApp } from 'vue';
import App from './App.vue';
import { VueSelect } from 'vue-select';
import 'vue-select/dist/vue-select.css';

createApp(App)
  .component('v-select', VueSelect)
  .mount('#app');

// In App.vue template:
// <template>
//   <div id="app">
//     <v-select :options="['Canada', 'United States', 'Mexico']"></v-select>
//   </div>
// </template>

view raw JSON →