All activity
ByteLand Technology Limitedleft a comment
Hey Product Hunt! 👋 I'm excited to share taffy-layout! If you've ever tried to implement complex layouts like Flexbox or Grid outside of the DOM (e.g., in Canvas, for games, or server-side image generation), you know it's tough to get right without sacrificing performance. I built this to bring the power of the Rust Taffy engine to the JS ecosystem. Speed: WebAssembly-powered calculations....

Taffy LayoutThe Taffy layout engine, now running in JavaScript
Bring high-performance Flexbox and CSS Grid layouts to any JavaScript environment. taffy-layout is a lightweight WebAssembly wrapper for the Rust-based Taffy engine, enabling lightning-fast UI calculations independent of the DOM.
Perfect for:
Canvas/WebGL applications (Games, Editors)
Server-side rendering (PDFs, OpenGraph images)
Custom UI frameworks
Features: 🚀 Near-native WASM performance 📦 Full Flexbox & Grid support 📝 TypeScript ready 🔧 Universal (Node, Deno, Bun, Browser)

Taffy LayoutThe Taffy layout engine, now running in JavaScript
