Reflow-free text-to-box fitting for React, built on Pretext.
-
Updated
Jun 24, 2026 - TypeScript
Reflow-free text-to-box fitting for React, built on Pretext.
Variable-weight text fitting engine — fill any rectangle with kinetic typography
A simple, dependency-free JavaScript utility that dynamically adjusts the font size of text to make it fit perfectly within its parent container's width. This script is ideal for headlines, responsive titles, and any design where text needs to scale precisely with its containing element.
Smart text fitting with variable fonts, ink-box bounds, and algebraic solving
No ajustes tu diseño a medidas hardcodeadas a mano, esta herramienta hace que tu texto quepa dentro de cualquier campo sin desbordar y autoajustando su tamaño de fuente según responsividad, si estimas que tu texto cabe en N líneas, dilo y lo ajustará al tamaño perfecto para desktop, tablet y smartphone usando esa cantidad de líneas, y mucho más
To associate your repository with the text-fitting topic, visit your repo's landing page and select "manage topics."