Taffy LayoutThe High-Performance Layout Engine
A flexible, high-performance flexbox and grid layout engine for the web, mobile, and beyond. Built with Rust and WASM.
- Flexbox and Grid layouts without a DOM.
- Fast, deterministic layout for custom renderers.
- Portable API built for real-world UI engines.
GRID
ROW
COL
Why Taffy
Lightning Fast
Written in Rust and compiled to WebAssembly. Benchmarked for maximum efficiency and minimal latency.
Flexbox & Grid
Complete and robust support for both CSS Flexbox and CSS Grid layout algorithms, ensuring pixel-perfect results.
Modern Standard
Fully compliant with modern CSS layout specifications, making it familiar to any web developer.
Multi-Platform
Run everywhere. Perfect for game engines, desktop apps, mobile frameworks, and high-performance web apps.