Launched this week
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 tags:Open Sourceβ€’Developer Toolsβ€’GitHub
Launch Team
Wispr Flow: Dictation That Works Everywhere
Wispr Flow: Dictation That Works Everywhere
Stop typing. Start speaking. 4x faster.
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! πŸš€