Hacker GitHub

← All repos

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

Mentions per year 24 mentions · busiest year 2023 (11)
20082026
  1. ▲ 115
    Taffy: A flexible, high-performance, cross-platform UI layout library
    story by robin_reala · 2026-08-13 · 44 comments
  2. …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...
  3. …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
  4. …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
  5. …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
  6. …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
  7. …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…
  8. …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)
  9. …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
  10. …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
  11. …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
  12. 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
  13. …covering rendering, text layout, accessibility, window creation, clipboard access, etc. [0]: https://github.com/DioxusLabs/taffy
  14. …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
  15. 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
  16. 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…
  17. …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]:…
  18. …they need (ideally publishing them as a new iteroperable library that others can also use). [0] https://github.com/DioxusLabs/taffy
  19. …- 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
  20. …languages, but there are a handful of projects within the Dioxus ecosystem that do, like taffy. http://github.com/dioxusLabs/taffy
  21. …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.
  22. ▲ 5
    Show HN: Taffy – CSS Grid (+Flexbox) as a library
    story by nicoburns · 2023-02-12 · 1 comment
  23. …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
  24. ▲ 3
    Taffy – A high performance rust-powered layout library
    story by maydemir · 2022-06-15 · 0 comments