Build flexible layouts on any platform with a highly optimized open source layout engine designed with speed, size, and ease of use in mind. 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. 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. 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.

Features

  • Provides a wide variety of controls and features such as:
  • The position type of an element defines how it is positioned within its parent
  • Align content defines the distribution of lines along the cross-axis. This only has effect when items are wrapped to multiple lines using flex wrap
  • Align items describes how to align children along the cross axis of their container
  • AspectRatio is a property introduced by Yoga and is not present as a settable property in the css flexbox specification
  • Flex direction controls the direction in which children of a node are laid out
  • The flex wrap property is set on containers and controls what happens when children overflow the size of the container along the main axis
  • Justify content describes how to align children within the main axis of their container

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Yoga

Yoga Web Site

Other Useful Business Software
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Yoga!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

C++

Related Categories

C++ Frameworks, C++ User Interface (UI) Software

Registered

2021-04-13