agentcooper/react-pdf-highlighter
agentcooper/react-pdf-highlighter has 1,414 GitHub stars and 522 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 05:38 UTC. Last push 2024-11-22.
Set of React components for PDF annotation
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalreact-pdf-highlighter
Set of React components for PDF annotation.
Features:
- Built on top of PDF.js
- Text and image highlights
- Popover text for highlights
- Scroll to highlights
Importing CSS
The bundled CSS include the CSS for pdfjs.
import "react-pdf-highlighter/dist/style.css";
Example
See demo https://agentcooper.github.io/react-pdf-highlighter/.
To run the example app locally:
npm install
npm start
Install
npm install react-pdf-highlighter
How to use
See ./example/src/App.tsx for the React component API example.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,732 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,290 starsreact/react
The library for web and native user interfaces.
252,394 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,630 stars