JubaKitiashvili / expo-pretext
PublicPredict React Native text heights before rendering. Native TextKit/TextPaint measurement + ~0.0002ms JS layout. FlashList, streaming AI chat, typewriter, pinch-to-zoom, obstacle reflow, Dynamic Type, Expo Web. 386 tests. MIT.
expo-pretext is a React Native library that enables advanced text layout features such as reflow around obstacles, precise pre-render height calculation, and smooth animations using native platform text engines.
How It Works
You want text in your mobile app to wrap smoothly around images, resize without jumps, and feel alive in chats.
You discover a friendly tool that gives text superpowers like magazines, making it flow and measure perfectly.
You add the tool to your app with one quick step, no hassle.
You tell it your text style and instantly know exact sizes before showing – no more layout surprises!
Text now wraps around circles, images, or shapes, creating beautiful magazine layouts effortlessly.
Zoom, typewrite, or morph text with fluid gestures and reveals that feel magical.
Your app now has silky-smooth, responsive text that delights users like top apps.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.