DioxusLabs/taffy
A high performance rust-powered UI layout library observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15.5
- age_days: 1702
- days_rel: 9
- days_push: 7
- n_releases_24m: 27
Adoption not part of the score
3539 stars · 216 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Taffy is a high-performance, cross-platform UI layout library written in Rust that implements the CSS Flexbox, Grid, and Block layout algorithms. It computes sizes and positions for a tree of styled UI nodes and is designed as a dependency for GUI toolkits, game engines, and web engines like Bevy, Servo, Zed, and Slint.
Use cases
- compute flexbox layout for a custom GUI toolkit in Rust
- implement CSS grid layout in a game engine UI
- lay out terminal UI interfaces
- build a web browser layout engine
- replace Yoga or Stretch as a layout engine in a Rust UI framework
- position UI widgets in a text editor interface
When to choose
- you need spec-compliant Flexbox, Grid, or Block layout in Rust
- you are building a GUI library, game engine, or web engine and want a battle-tested layout dependency
- you need high-performance incremental layout with caching
- you want a pure layout engine with no rendering or styling opinions
When to avoid
- you need a full UI toolkit with rendering, input, or widgets - Taffy only computes layout
- you need CSS layout in a web browser via JavaScript - use the browser's native engine instead
- you need layout paradigms beyond Flexbox, Grid, and Block (e.g. full CSS positioning support is still limited)
Facets
library · maturity active
ui-components graphics gui graphics cross-platform developer-tools rust cross-platform flexbox css-grid layout-engine ui-layout css-block-layout no-rendering game-development
10 sources
- readme: https://github.com/DioxusLabs/taffy · fetched 2026-08-28 · b4a6e078d708
- homepage: https://docs.rs/taffy · fetched 2026-08-29 · 1ffb81e90006
- site_page: https://docs.rs/crate/taffy/latest/features · fetched 2026-08-29 · 3bde1532f9cc
- site_page: https://docs.rs/ · fetched 2026-08-29 · 8b6abf4d50a5
- site_page: https://docs.rs/crate/taffy/latest · fetched 2026-08-29 · 283d1614ca2b
- site_page: https://docs.rs/document-features/^0.2.7 · fetched 2026-08-29 · 69b8abc187ee
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| DioxusLabs/taffy | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="DioxusLabs/taffy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem