Platen
Writing app template ยท App screens
An analog typewriter on a dark walnut desk: a green felt blotter, a black enamel machine with chrome trim and a rubber platen, a cream sheet typed in uneven ribbon ink, red-and-black ribbon, index cards and a blue carbon copy.
The first screen is the app itself. A cream sheet sits in a drawn carriage on a green felt blotter: a black rubber platen with knurled knobs, a chrome paper bail with a margin scale and a red pointer at the current column, and a return lever. Type and the carriage slides the way a real one does, as far as the screen has room for; a soft bell rings seven characters before the right margin, Enter (or the lever) returns the carriage with a ratchet and a thump, and the window keeps the current line in the middle of the paper while older lines roll up under the bail. Every sound is synthesized with Web Audio after the first key press and the Bell key mutes it.
The machine's round keys run the modes. Strict refuses backspace, delete, undo and typing over a selection, per sheet. Focus dims everything except the sentence you are in, and the page around the machine. The left ribbon spool fills toward a daily word goal (250 to 1,000), the right one runs a 15 or 25 minute sprint that ends with a low chime and a note of what you wrote. Lines that start with # are typed in the red half of the ribbon. Below the machine, drafts live as ruled index cards in an oak tray: open one into the machine, start a new one, rename it with validation (empty, longer than 40 characters, duplicate) or throw it out with eight seconds to undo. A carbon copy shows what the export will contain, and .txt and .md are real downloads.
The rest of the page is a typed memo on why it works, a shortcuts index card with drawn keycaps (every shortcut works on the page), local-first sync and privacy with a drawn diagram, honest pricing (a one-time $39 app against an optional $30 a year sync, with the three-year sums), a download form with inline validation, licence key format check, loading, error and success states, questions and the footer. Everything is drawn in CSS and SVG; there are no images.
The brand is fictional: Platen, a distraction-free writing app for Mac, Windows and Linux made by Platen Works, two people in Ghent. Names, people and figures on the page are invented.
What works
- The sheet: type, click or use the arrows; carriage slide, column pointer, margin bell, carriage return and centred current line
- Return lever types a line break
- Bell key mutes or unmutes all sounds (remembered)
- Strict key: no backspace, delete, cut, undo or overwrite for this sheet; refusals shake the stage and explain
- Focus key: current sentence at full ink, the rest of the sheet and page dimmed; Esc leaves
- Sprint keys 15 and 25: countdown on the right spool, words this sprint, stop button, gentle chime at the end
- Daily goal select and the goal spool
- New card, open card, rename with inline validation, throw out with undo
- Export .txt and .md from the keys, the carbon copy or Ctrl/Cmd+S
- Keyboard shortcuts Alt+Shift+F, S, B, 1, 2, N
- Download form: email, platform, optional licence key, loading, error with retry, success with reset
- Questions accordion
States you can link to
script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.
| Parameter | What it does |
|---|---|
?mode=focus | opens with focus mode on: only the current sentence at full ink. Open ?mode=focus |
?mode=strict | turns strict mode on for the sheet in the machine and invites a backspace. Open ?mode=strict |
?sprint=25 | starts a 25 minute sprint (also ?sprint=15). Open ?sprint=25 |
?draft=2 | feeds the second card, Letter to Ines (a strict sheet), into the machine. Open ?draft=2 |
?state=empty | an empty drawer and a blank sheet with its placeholder; nothing is saved. Open ?state=empty |
?state=error | the could-not-save notice on the machine and a download form that failed to send. Open ?state=error |
Use it
Copy templates/typewriter/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.
The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.
Inspection
Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.
- 1440 px
- Pass
- 1024 px
- Pass
- 768 px
- Pass
- 390 px
- Pass
- Reduced motion
- Pass
- Page weight
- 219 KB, 8 requests
Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.