Skip to content

Latest commit

 

History

History
 
 

basic

Lector Basic Example

This is a basic example of using Lector, a headless PDF viewer for React.

Open in StackBlitz

Features

  • PDF rendering with canvas layer
  • Text selection and copying
  • Responsive layout
  • Dark mode support
  • Loading state handling

Getting Started

  1. Clone the repository:
git clone https://github.com/unriddle-ai/lector.git
cd lector/examples/basic
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. Open http://localhost:5173 in your browser.

Learn More