Say hello

~/projects/one-more-highlight

CASE STUDY
Illustration · not a screenshot of one-more-highlight

Open source · 2026

one-more-highlight

A TypeScript library for multi-state text highlighting, for React or with no framework at all.

The problem

Search results, keywords and rich text often need more than one highlight style at once, with or without React.

The build

  • A <Highlight> component and a headless useHighlight hook, typed for each way of selecting matches.
  • Rendering engines for the DOM, the CSS Custom Highlight API, React Native and plain JavaScript that share one matching pipeline.
  • Entry points for accessible highlighting, result announcements and roving keyboard focus across matches.

The outcome

Open source under MIT, published on npm with a documentation site.