Skip to content

React Text Maker โ€‹

A React component for text highlighting and annotation with customizable themes and interactive features.

Try It Out โ€‹

Basic Usage โ€‹

jsx
import { ReactTextMaker } from 'react-text-maker';

function App() {
  return (
    <ReactTextMaker
      text="Select this text to create a highlight annotation."
      hint="Important"
    />
  );
}

Features โ€‹

  • ๐ŸŽจ Customizable highlight colors and themes
  • ๐Ÿ–ฑ๏ธ Interactive text selection and highlighting
  • โŒจ๏ธ Keyboard shortcuts support (Delete/Backspace to remove highlights)
  • ๐ŸŽฏ Multiple highlight support with nested annotations
  • ๐Ÿ” Customizable hint text display
  • ๐ŸŽญ Theme-based highlighting system
  • โšก Real-time highlight updates
  • ๐Ÿงช Comprehensive test coverage

Installation โ€‹

bash
# Using npm
npm install react-text-maker

# Using yarn
yarn add react-text-maker

# Using pnpm
pnpm add react-text-maker

Documentation Navigation โ€‹