INTRODUCING

Flexible Layouts
with Yoga

Build flexible layouts on any platform with a highly optimized open source layout engine designed with speed, size, and ease of use in mind.

root
20
20
20
20

Open Source Adoption

Yoga already powers widely used open source frameworks. It enables these frameworks to offer a simple and intuitive layout API that allows for engineers to collaborate more easily across platforms. Yoga has unlocked exciting features such as calculating layouts off of the main thread to help ensure smooth UI performance.


Why You May Consider Yoga

PERFORMANCE

Yoga was built to be fast and performance will always be one of Yoga's primary goals. For a layout engine to be able to power any range of applications, it needs to be fast and never stand in the way of a fluid user experience.

CROSS PLATFORM

Yoga is built with cross platform in mind. To ensure Yoga can be used anywhere, it was written in portable C/C++ and has a low number of dependencies and small binary size. This means Yoga can be used on iOS and Android, sharing knowledge, and potentially code, between platforms.

EASY TO LEARN

Yoga is easy to pick up and learn. The interactive documentation pages and a fully fledged layout editor makes it easy to play and learn all the features. If used with any of the major UI frameworks the layout editor even provides code generation.