Reading Room

AI UI component · a prompt for Claude, Codex and Cursor

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

Reading Room is a web reader in React, seen from above as a quiet room at night. An open hardback lies on a green leather mat on a walnut desk, lit by a brass banker's lamp with a green glass shade; a pencil, a cup of coffee, a magnifying glass and a notebook sit around it as 3D-rendered objects, and the corners of the room fall into dark. Drag the edge or a corner and the page folds along the line between its corner and your pointer, its back showing the next page, with a moving shadow and sheen and a soft procedural paper rustle; click the edge, swipe, scroll or use the arrow keys too, and catch a page mid-turn to throw it back. Click the lamp to pull its chain with a click, scroll over it to dim it, or set brightness and colour temperature from 2200 to 4400 K. Pick up the magnifying glass and it follows the pointer, enlarging the text under it, with the wheel for magnification. Fold a page's top corner (or press B) to bookmark it, select text to highlight it in one of four inks, and find every quote and bookmark in the Notes drawer, ready to copy one by one or all at once as Markdown. Four type sizes re-paginate the book and keep your place, three paper tones and a page-sound switch sit in a small popover, and the shelf wall holds your books beside a house library of public-domain classics. Drop an EPUB, FB2, TXT, Markdown or HTML file anywhere to add it. Pagination measures real text in time slices and stores pages as character offsets, so bookmarks and highlights survive a type change. A sample book, The Quiet Hours, ships with it; books, position, bookmarks and highlights stay in IndexedDB and nothing leaves the browser.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • e-reader
  • page turn
  • page curl
  • pagination
  • book layout
  • drop cap
  • desk lamp
  • dimmer
  • colour temperature
  • magnifying glass
  • bookmarks
  • dog-ear
  • text highlight
  • selection toolbar
  • notes drawer
  • copy as markdown
  • library shelf
  • file import
  • drag and drop
  • epub reader
  • indexeddb
  • local storage
  • procedural textures
  • procedural sound
  • keyboard shortcuts
  • touch support

stack

  • react
  • vite
  • javascript
  • css
  • web audio

fonts

IBM Plex Serif, Inter

Free fonts, linked in the prompt.

colors

  • #0B0907
  • #ECE3D1
  • #2A241D
  • #C9A25E
  • #ECD29A
  • #D9CCB6
  • #9A8C76
  • #2F7D55

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license