A zero-dependency web component that renders any HTML as a thermal receipt and exports it as a shareable PNG
On its own page, read 14 September 2026
Type the markup. The paper prints.
One custom element that renders anything you wrap in it as a thermal receipt, then exports it as a PNG. Zero dependencies, no build step, MIT.
- The same file, versioned. Scoped because the registry rejects the bare name tearline as too close to readline.
- Not a template language, not an image service, and not an ESC/POS driver. It does not talk to a physical thermal printer. It renders the look of a till receipt in the DOM, and hands you a PNG of it. How the paper is built.
- Fired as an export moves through its four real steps, not a progress bar of invented percentages. How the export works.

