Skip to content
V

vue-word-highlighter

The word highlighter library for Vue 2 and Vue 3

by kawamataryoOpen source

#1328in UI Libraries
0In stores

Description

vue-word-highlighter is a Vue library that highlights search words inside a block of text. You pass the search words through the query prop…

Highlights

  • Highlights search words in text
  • Works with Vue 2 and Vue 3
  • String or regular expression queries
  • Case and diacritics options
  • Whole word matching
  • Custom tags, classes and styles

Ratings & Reviews

No ratings yet

Be the first to rate vue-word-highlighter.

People also visit

V

vue-scrollactive

Lightweight and simple to use vue component

UI Libraries
Launch
V

vue3-simple-typeahead

A simple and lightweight Vue3 typeahead component

UI Libraries
Launch
V

vue-3-slider-component

A highly customized slider component for Vue 3

UI Libraries
Launch
V

vue3-tags-input

A tags input component for Vue 3 with custom validation, templating

UI Libraries
Launch
C

@celestia-island/hikari

Hikari Vue 3 component library

UI Libraries
Launch
V

vue-quilly

Tiny Vue 3 component, that helps to create Quill v2 based WYSIWYG editors

UI Libraries
Launch

vue-word-highlighter FAQ

What does vue-word-highlighter do?

It wraps matching search words in a highlight tag inside a block of text.

Which Vue versions does it support?

Vue 2 and Vue 3. The README gives separate install commands for each.

Can it match whole words only?

Yes. Setting matchMode to exact matches whole words, so Java does not match JavaScript.

Can I use a regular expression?

Yes. The query prop accepts a RegExp as well as a string.

What are the best vue-word-highlighter alternatives?

Popular alternatives to vue-word-highlighter include vue-scrollactive, vue3-simple-typeahead and vue-3-slider-component. See all vue-word-highlighter alternatives

Developer Stuff

Badges