Launching today
Taffy Layout

Taffy Layout

The Taffy layout engine, now running in JavaScript

2 followers

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 Layout gallery image
Free
Launch Team
Famulor AI
Famulor AI
One agent, all channels: phone, web & WhatsApp AI
Promoted

What do you think? …

ByteLand Technology Limited
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. Power: Full CSS Grid & Flexbox support. Flexible: Runs anywhere JS runs. I'd love to hear what you build with it! 🚀