dioxuslabs/taffy

A high performance rust-powered UI layout library

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on September 19th, 2026
Created on January 4th, 2022
Open Issues & Pull Requests: 140 (+0)
GitHub issues: Enabled
Number of forks: 226
Total Stargazers: 3,578 (+0)
Total Subscribers: 22 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.3 hours
Mean response time: 84.6 days
90th percentile: 234.3 days
Tracked items: 105

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 16% of issues opened in the past year have never received a reply. 64% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 67% of issues opened in the past year have been closed, leaving a working backlog. Three people close 87% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 67
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 817 days
Stale 30+ days: 60
Stale 90+ days: 52

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (33)
  • enhancement (14)
  • good first issue (13)
  • documentation (5)
  • A-flexbox (4)
  • benchmarks (3)
  • controversial (3)
  • meta (2)

Detailed Description

Taffy is a high-performance UI layout library written in Rust that implements CSS layout algorithms.

The tool solves the problem of computing UI element positions and sizes across different platforms by implementing the CSS Block, Flexbox, and CSS Grid layout algorithms. It is designed as a dependency for other UI and GUI libraries rather than as a standalone application, allowing projects to leverage battle-tested layout specifications without building their own layout engine. The library faithfully implements the Flexbox and CSS Grid specifications, meaning developers can apply knowledge from web CSS directly to their projects.

Taffy suits projects that need reliable, performant layout computation in Rust, particularly game engines, terminal UI frameworks, and native GUI toolkits. It is already integrated into several established projects including Bevy, Servo, Slint, and the Lapce and Zed text editors. The tool is designed as a collaborative cross-team project, making it suitable for teams that want to avoid duplicating layout logic. Language bindings exist or are in development for Python and WebAssembly, expanding its reach beyond pure Rust projects.

The project maintains active development with regular contributions addressing layout edge cases and specification compliance. The roadmap indicates planned support for additional layout paradigms beyond the currently implemented Block, Flexbox, and CSS Grid algorithms. Development activity shows ongoing refinement of the layout implementations and expansion of the tool's capabilities to cover more CSS layout scenarios.