Fuzzy Matching
Intelligent search with smart matching using fuse.js. Match partial words, handle typos, and provide better search results.
A powerful, accessible, and lightweight tag input component with fuzzy search, keyboard navigation, and WCAG 2.1 AA compliance
Install via npm:
npm install smart-tagzUse in your Vue 3 application:
<template>
<smart-tagz
input-placeholder="Enter tags..."
autosuggest
:sources="languages"
@on-changed="handleTagsChanged"
/>
</template>
<script setup>
import SmartTagz from 'smart-tagz'
import 'smart-tagz/dist/smart-tagz.css'
const languages = ['JavaScript', 'Vue.js', 'TypeScript', 'React', 'Python']
const handleTagsChanged = (tags) => {
console.log('Selected tags:', tags)
}
</script>✨ v0.5.0 includes:
Try Smart-Tagz right here:
MIT © 2024 Prabhu Murthy