Documentation

Welcome to the Pretext documentation. Pretext is a blazing fast, zero-DOM JavaScript library designed for robust and universal text measurement. Whether you're building complex UI layouts or need precise control over text sizing, Pretext offers an efficient solution that simplifies integration and boosts performance.

Our open-source library adheres to the MIT license, ensuring you have the freedom to customize and incorporate it into your projects. Explore the benchmarks to see how Pretext outperforms traditional methods, try the demo to experience its speed firsthand, and leverage its capabilities to power your next production UI.