18+ community demos

Pretext Community
Demo Collection

Games, animations, and typography experiments — all built with @chenglou/pretext, the DOM-free text layout engine. 15KB, zero dependencies, 12+ writing systems, 500× faster than DOM measurement.

Curated by a hobbyist, not affiliated with the official project. All demos are open-source community work.
The official library → github.com/chenglou/pretext

Pretext Library & Community Stats

18
Live Demos
15KB
Bundle Size
0
Dependencies
12+
Writing Systems
500×
Faster Than DOM
🎬
Also by this developer
UGCFast.ai — AI UGC Video Generator
Create high-converting UGC-style ad videos with 300+ AI actors in 35+ languages. The most affordable AI video ads platform — starting at $29/mo.
Try for $1 →

Pretext Demo Gallery

Loading demos…

Built with Pretext by Cheng Lou

Pretext is a TypeScript library for DOM-free text layout — measuring and positioning text using only Canvas, with pure-arithmetic reflows. Created by Cheng Lou (React core, ReasonML, Midjourney).

Guides & Tutorials

View all →