DioxusLabs/taffy
View on GitHub ↗ ★ 3,729 Rust
A high performance rust-powered UI layout library
24 mentions on Hacker News by 6 people: 3 stories, 21 comments · first 2022-06-15 · latest 2026-08-13
20082026
-
▲ 115
Taffy: A flexible, high-performance, cross-platform UI layout librarystory by robin_reala · 2026-08-13 · 44 comments
-
…to Servo too, though apparently not officially part of the Servo project - but Servo does use it. https://github.com/DioxusLabs/taffy Used here (I think): https://github.com/servo/servo/tree/c639bb1a7b3aa0fd5e02b40d...
comment by simonw · 2026-01-26 · in When AI 'builds a browser,' check the repo before believing the hype -
…be combined with Taffy to implement inline/text layout). [0]: https://github.com/servo/stylo [1]: https://github.com/DioxusLabs/taffy [2]: https://github.com/linebender/parley --- Also, if you're interested in contributing C bindings for…
comment by nicoburns · 2026-01-12 · in Lightpanda migrate DOM implementation to Zig -
…Minimal binary sizes are around 5mb (although more typical build would be more like 10-15mb). [0]: https://github.com/DioxusLabs/taffy [1]: https://github.com/linebender/parley
comment by nicoburns · 2025-10-20 · in Servo v0.0.1 -
…to create new web engines in future (as they won't have to start completely from scratch). [0]: https://github.com/DioxusLabs/taffy [1]: https://github.com/DioxusLabs/blitz [2]: https://zed.dev [3]: https://bevy.org/
comment by nicoburns · 2025-07-31 · in I tried Servo -
…is also partially shared with Yoga [2], the C++ Flexbox implementation that powers React Native) 1: https://github.com/DioxusLabs/taffy 2: https://github.com/facebook/yoga
comment by nicoburns · 2024-12-20 · in Clay – UI Layout Library -
…is an area in which we have an advantage with our API being in Rust. And our layout engine Taffy ( https://github.com/DioxusLabs/taffy ) is already highly modular. Custom widgets would go beyond just layout and allow for fully custom…
comment by nicoburns · 2024-08-12 · in Blitz: A lightweight, modular, extensible web renderer -
…if the problem of passing data into the WASM VM cheaply (perhaps by reference) can be solved. [0]: https://github.com/DioxusLabs/taffy
comment by nicoburns · 2024-04-14 · in Old CSS, new CSS (2020) -
…I can't get full coverage then the WPT seems to provide little value over our own test suite. [0]: https://github.com/DioxusLabs/taffy
comment by nicoburns · 2024-03-22 · in Show HN: Dropflow, a CSS layout engine for node or <canvas> -
…has to be something compilable to WebAssembly. A web search shows something that's written in Rust: https://github.com/DioxusLabs/taffy?tab=readme-ov-file#taffy
comment by benatkin · 2024-03-22 · in Show HN: Dropflow, a CSS layout engine for node or <canvas> -
…based on a combination of https://github.com/servo/stylo (for css parsing and selector resolution), https://github.com/DioxusLabs/taffy (for box-level layout) and https://github.com/pop-os/cosmic-text (for flow/inline layout). I expect to…
comment by nicoburns · 2024-03-03 · in CSS for printing to paper -
I maintain a web layout library that is designed to be integrated into other software: https://github.com/DioxusLabs/taffy It needs to be combined with a text layout engine (such as https://github.com/pop-os/cosmic-text ), and it doesn't…
comment by nicoburns · 2023-09-22 · in I'm fed up with it, so I'm writing a browser -
…covering rendering, text layout, accessibility, window creation, clipboard access, etc. [0]: https://github.com/DioxusLabs/taffy
comment by nicoburns · 2023-06-19 · in Show HN: Slint – A declarative UI toolkit for embedded and desktop -
…currently a few key missing features like laying out "inline-block" items in line with text). [0]: https://github.com/DioxusLabs/taffy [1]: https://github.com/pop-os/cosmic-text
comment by nicoburns · 2023-06-15 · in Conflict-Driven Synthesis for Layout Engines -
I maintain a library ( https://github.com/DioxusLabs/taffy ) that implements both Flexbox and CSS Grid and is designed to be easily embedded (similar to Yoga, which Ink is using), if anyone wants add CSS Grid support to their app/framework.
comment by nicoburns · 2023-05-08 · in Ink: React for interactive command-line apps -
A full list of projects that are being spun out as framework-agnostic: - taffy: flexbox+css grid https://github.com/DioxusLabs/taffy - blitz: html/css renderer https://github.com/DioxusLabs/blitz - sledgehammer: faster than websys bindings…
comment by jkelleyrtp · 2023-04-13 · in GitHub Accelerator: our first cohort and what’s next -
…JavaScript so we are not currently able to do that. [0]: https://github.com/facebook/yoga [1]: https://github.com/DioxusLabs/taffy/tree/main/test_fixtures [2]: https://github.com/DioxusLabs/taffy/tree/main/scripts/gentes... [3]:…
comment by nicoburns · 2023-04-11 · in We're building a browser when it's supposed to be impossible -
…they need (ideally publishing them as a new iteroperable library that others can also use). [0] https://github.com/DioxusLabs/taffy
comment by nicoburns · 2023-04-11 · in We're building a browser when it's supposed to be impossible -
…- https://github.com/linebender/vello (a canvas like imperative drawing API on top of wgpu) - https://github.com/DioxusLabs/taffy (UI layout algorithms) - https://github.com/pop-os/cosmic-text (text rendering and editing) -…
comment by nicoburns · 2023-04-03 · in XUL Layout is gone -
…languages, but there are a handful of projects within the Dioxus ecosystem that do, like taffy. http://github.com/dioxusLabs/taffy
comment by jkelleyrtp · 2023-02-24 · in Dioxus 0.3 – Templates, Hot Reloading, LiveView, and More -
…the opposite! (it support Flexbox and CSS Grid, but not flow layout). Here if you're interested: https://github.com/DioxusLabs/taffy I'll definitely take a look at your browser when I get some time.
comment by nicoburns · 2023-02-21 · in Opossum: Cross-platform web browser written in Golang, optimized for Plan 9 -
▲ 5
Show HN: Taffy – CSS Grid (+Flexbox) as a librarystory by nicoburns · 2023-02-12 · 1 comment
-
…as of a few days ago) and it hasn't all been combined together into a complete framework yet. [0] https://github.com/DioxusLabs/taffy [1] https://docs.rs/cosmic-text/latest/cosmic_text/
comment by nicoburns · 2022-12-26 · in Dioxus: User interfaces that run anywhere -
▲ 3
Taffy – A high performance rust-powered layout librarystory by maydemir · 2022-06-15 · 0 comments