Skip to content
R

react-highlighter

Highlight select fragments of texts

by heliorFree

#624in UI Libraries
0In stores

Description

react-highlighter is a React component that highlights selected fragments of a string. You give it the text to find, as a string or a regula…

Highlights

  • Highlight fragments of a string
  • Search by string or regular expression
  • Case-sensitive option
  • Ignore diacritics option
  • Highlight with an HTML element or class

Ratings & Reviews

No ratings yet

Be the first to rate react-highlighter.

People also visit

R

react-highlight-words

React component to highlight words within a larger body of text

UI Libraries
Launch
R

react-highlight

React component for syntax highlighting

UI Libraries
Launch
R

rich-textarea

A small customizable textarea for React to colorize, highlight, decorate texts

UI Libraries
Launch
R

react-pdf-highlighter

Set of React components for PDF annotation

UI Libraries
Launch
W

@webscopeio/react-textarea-autocomplete

Offers autocomplete over textarea in style of GitHub

UI Libraries
Launch
R

react-search-input

Simple react.js component for a search input, providing a filter function

UI Libraries
Launch

react-highlighter FAQ

What is react-highlighter?

A React component that highlights selected fragments of text.

Can I search with a regular expression?

Yes. The search prop accepts a string or a regular expression.

Is matching case-sensitive?

Not by default. The caseSensitive prop defaults to false, and it does not apply to regular expression searches.

What does ignoreDiacritics do?

When on, it makes matching ignore diacritics. It defaults to false, and diacriticsBlacklist lists characters to treat as having none.

Is it open source?

Yes. The source is public on GitHub at helior/react-highlighter.

What are the best react-highlighter alternatives?

Popular alternatives to react-highlighter include react-highlight-words, react-highlight and rich-textarea. See all react-highlighter alternatives

Developer Stuff

Badges