Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Yoga embeddable Flexbox layout engine

Document status: reviewed. Canonical source.

Summary

Yoga is an embeddable C++20 Flexbox-focused layout engine with broad language/platform bindings. It demonstrates the value of a small portable layout runtime used outside browsers.

NUIF relevance

Yoga is a differential/reference target for Flexbox semantics and a reminder that adapter/runtime portability matters. Taffy remains preferable for the Rust reference implementation because NUIF also needs Grid and native Rust integration.