0.0002ms
per layout calculation
DOM-free Text Prediction
Predict text layout dimensions without rendering to the DOM. Eliminates the measurement → render → measure-again cycle.
FlashList Integration
Provide accurate estimatedItemSize for FlashList without trial-and-error. Dynamic content heights calculated instantly.
Streaming AI Chat
Real-time height predictions for streaming LLM responses. No layout jumps as text arrives token by token.
Unicode & i18n
Full coverage for CJK, RTL, emoji, and complex scripts. Width calculations account for character-width variations.
Works great with ERNE
ERNE agents use expo-pretext for accurate layout predictions in generated UI components.
Learn about ERNE