Analysis updated 2026-06-21
Build a cross-platform UI framework for mobile or desktop that arranges components with the same flexbox rules web browsers use.
Embed consistent, predictable layout calculation into a native app without bundling a full browser engine.
| facebook/yoga | id-software/doom | rizinorg/cutter | |
|---|---|---|---|
| Stars | 18,728 | 18,696 | 18,764 |
| Language | C++ | C++ | C++ |
| Setup difficulty | hard | hard | moderate |
| Complexity | 4/5 | 5/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Designed to be embedded inside a UI framework as a library, not used standalone, the main effort is integrating it into your own rendering pipeline.
Yoga is a layout engine, a piece of software that calculates where things should appear on screen, built to follow the same rules web browsers use for their flexbox layout system. Flexbox is the standard approach for arranging boxes, rows, and columns in modern user interfaces. Yoga lets developers use these same familiar layout rules in applications outside the browser, such as native mobile or desktop apps. The library is written in C++ and can be embedded into apps built in other languages through bindings. Its tests are generated from HTML fixtures that are rendered in Chrome to confirm the expected positions, so the output closely matches real browser behavior. Yoga is primarily useful for developers building cross-platform UI frameworks who want consistent, standards-based layout behavior without depending on a web browser at runtime.
Yoga is a C++ layout engine from Meta that lets native mobile and desktop apps use the same flexbox layout rules as web browsers, making UI positioning consistent and predictable outside the browser.
Mainly C++. The stack also includes C++.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.