bvaughn/react-highlight-words
React component to highlight words within a larger body of text observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 1
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3913
- days_rel: 598
- days_push: 598
- n_releases_24m: 1
Adoption not part of the score
2304 stars · 175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A React component that highlights occurrences of given search terms within a larger body of text. It supports custom styling, active match highlighting, and automatic escaping of search words.
Use cases
- highlight search terms in search results
- highlight matching text in a react component
- mark occurrences of keywords in text
- highlight user query matches in a list
- highlight words in a paragraph with react
When to choose
- you need to visually highlight search terms in React-rendered text
- you want a small, focused, well-maintained component with simple props
When to avoid
- you are not using React
- you need syntax highlighting for code rather than search-term highlighting
Facets
library · maturity stable
ui-components search-engine frontend web-development browser react text-highlighting search-terms react-component search nodejs
3 sources
- readme: https://github.com/bvaughn/react-highlight-words · fetched 2026-08-28 · 94d602eaaabf
- homepage: https://bvaughn.github.io/react-highlight-words/ · fetched 2026-08-29 · 861d44584942
- registry_npm: https://registry.npmjs.org/react-highlight-words · fetched 2026-08-29 · 59254fc28bb5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bvaughn/react-highlight-words | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="bvaughn/react-highlight-words")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem