2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-29 05:14:04 +03:00
Jeff Sagal 8588cac3d7 Squashed commit of the following:
commit 23feaad53c
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Sun Aug 1 11:45:49 2021 -0700

    Update package.json

commit 69d11c7f58
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Sun Aug 1 11:42:38 2021 -0700

    update eslint config

commit 96819ebb91
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Fri Jul 30 11:01:59 2021 -0700

    build: add prettier and eslint (#1090)

commit f702040f5b
Author: semantic-release-bot <semantic-release-bot@martynus.net>
Date:   Fri Jul 30 00:38:55 2021 +0000

    chore(🚀): 3.12.2

commit 0f763f3ac4
Author: Daniel Molnar <dm@tpwd.de>
Date:   Fri Jul 30 02:37:49 2021 +0200

    fix: set !default for $vs-controls-deselect-text-shadow (#1468)

    - added missing `!default` for $vs-controls-deselect-text-shadow,
      which was the only one not having it
    - `!default` is necessary in order to be able override the variable

commit 335920b586
Author: semantic-release-bot <semantic-release-bot@martynus.net>
Date:   Thu Jul 22 21:41:39 2021 +0000

    chore(🚀): 3.12.1

commit 5e1ac1f5ec
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Thu Jul 22 14:40:29 2021 -0700

    fix: no-options slot should use mutableLoading instead of loading prop (#1465)
2021-08-01 12:31:33 -07:00
2021-08-01 12:31:33 -07:00
2019-11-07 19:33:23 -08:00
2021-08-01 12:31:33 -07:00
2021-08-01 12:31:33 -07:00
2019-11-29 09:43:10 -08:00
2021-08-01 12:31:33 -07:00
2016-07-04 13:00:35 -07:00
2016-03-10 14:44:48 -08:00
2021-08-01 12:31:33 -07:00
2019-02-18 22:01:39 -08:00
2020-09-22 15:16:06 -07:00
2021-08-01 12:31:33 -07:00

vue-select Current Release Release Date Bundle Size Monthly Downloads Coverage Status MIT License

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

Vue Select is a feature rich select/dropdown/typeahead component. It provides a default template that fits most use cases for a filterable select dropdown. The component is designed to be as lightweight as possible, while maintaining high standards for accessibility, developer experience, and customization.

  • Tagging
  • Filtering / Searching
  • Vuex Support
  • AJAX Support
  • SSR Support
  • Accessible
  • ~20kb Total / ~5kb CSS / ~15kb JS
  • Select Single/Multiple Options
  • Customizable with slots and SCSS variables
  • Zero dependencies

Documentation

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

Sponsors 🎉

It takes a lot of effort to maintain this project. If it has saved you development time, please consider sponsoring the project with GitHub sponsors!

Huge thanks to the sponsors and contributors that make Vue Select possible!

Install

yarn add vue-select

# or use npm

npm install vue-select

Then, import and register the component:

import Vue from "vue";
import vSelect from "vue-select";

Vue.component("v-select", vSelect);

The component itself does not include any CSS. You'll need to include it separately:

import "vue-select/dist/vue-select.css";

Alternatively, you can import the scss for complete control of the component styles:

@import "vue-select/src/scss/vue-select.scss";

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

License

MIT

S
Description
No description provided
Readme 15 MiB
Languages
JavaScript 58%
Vue 26.4%
CSS 7.8%
SCSS 7.3%
HTML 0.5%