← Moxx Lab
drag the column edge · scroll to move · H panel · R reset · S save png · space pause
Pretext could not be loaded.
This page imports @chenglou/pretext from a CDN and needs a network connection.
← Back to Moxx Lab

Pretext Playtext measured and wrapped without the DOM

Mode

Text
Type
Layout
Numbers

prepare() runs once per text and font. Everything that happens when you drag the width is layout(): arithmetic over cached widths.

Export

Built on chenglou/pretext 1.0.0 (MIT), loaded from a CDN.