π¦ Version Update: Now with Built-in Tailwind Styling β No Extra Imports Needed!
npm install vue-3-tailwind-searchable-multiselectA Vue 3 component for a beautiful, searchable, and multi-select dropdown,
styled with Tailwind CSS.
Easily tag and filter your selections with a responsive UI and minimal setup.
---
!Vue Tailwind multi-select dropdown with search functionality
- β
Vue 3 compatible
- π― Built-in search filtering
- π·οΈ Displays selected items as tags
- π¦ Minimal dependencies
- π¨ Tailwind CSS styled (auto-includes styles)
- π§ Keyboard & click-outside support
---
```bash
npm install vue-3-tailwind-searchable-multiselect
π Usage
1. Import the component and CSS
import MultiSelectDropdown from 'vue-3-tailwind-searchable-multiselect';
2. Register the component
js
Copy
Edit
export default {
components: {
MultiSelectDropdown
}
}
3. Use it in your template
placeholder="Choose from the list..." />
π Props
Prop Type Required Description
dropDownData Array β
Yes Array of objects like { id, name, value } to display
π Example Data Format
js
Copy
Edit
dropDownData: [
{ id: 1, name: 'JohnDoe', value: 'JohnDoe' },
{ id: 2, name: 'JaneSmith', value: 'JaneSmith' },
{ id: 3, name: 'FooBar', value: 'FooBar' }
]
π¨ Customization
The component is styled using Tailwind CSS. You can:
Override styles using custom classes
Use Tailwindβs utility-first approach to theme components globally
β
Compatibility
Vue 3
Tailwind CSS v3+ or bundled styles included (no Tailwind setup required)
π License
MIT
π Author
Made with β€οΈ by Your Name
π NPM
π¦ vue-3-tailwind-searchable-multiselect
yaml
Copy
Edit
---