Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-pdf-highlighter

> 前端框架
Open source

Set of React components for PDF annotation

1.4K stars0 likes0 views
WebsiteGitHub

About

Set of React components for PDF annotation

☕️ Buy me a coffee

react-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.

typescript
import "react-pdf-highlighter/dist/style.css";

Example

See demo https://agentcooper.github.io/react-pdf-highlighter/.

To run the example app locally:

bash
npm install
npm start

Install

bash
npm install react-pdf-highlighter

How to use

See ./example/src/App.tsx for the React component API example.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptannotatorhighlightingpdfpdf-viewer

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架