This is the Linux app named react-highlight-words whose latest release can be downloaded as v0.21.0sourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named react-highlight-words with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
react-highlight-words
DESCRIPTION
react-highlight-words renders text with specified substrings highlighted, useful for search results, find-in-page UIs, and autocomplete menus. You pass a string (or node tree) and an array of search terms, and the component splits content into matched and unmatched chunks with minimal overhead. It supports case-sensitive or insensitive matching and optional auto-escaping so user-entered queries won’t be treated as regex. For advanced scenarios, you can provide a custom findChunks function to control tokenization (e.g., word boundaries or diacritics-aware behavior). The highlight output is easy to restyle via a custom tag (like mark) or inline styles, keeping the visual layer decoupled from the matching logic. Because it’s small and framework-idiomatic, it drops into tables, lists, virtualized scroll areas, and complex UIs without forcing layout changes.
Features
- Simple API: input text plus searchWords array yields highlighted chunks
- Case-sensitive or insensitive matching with optional auto-escape
- Custom findChunks for advanced tokenization strategies
- Configurable highlight wrapper element and styles
- Works with plain strings or nested React nodes
- Lightweight and composable for search results and autocompletes
Programming Language
JavaScript
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/react-highlight-words.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.
