yoga

Yoga is an embeddable layout engine targeting web standards. (by facebook)

Yoga Alternatives

Similar projects and alternatives to yoga

  1. React

    1,934 yoga VS React

    The library for web and native user interfaces.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. react-native

    563 yoga VS react-native

    A framework for building native applications using React

  4. axios

    480 yoga VS axios

    Promise based HTTP client for the browser and node.js

  5. WebKit

    176 yoga VS WebKit

    Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

  6. Servo

    169 yoga VS Servo

    Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

  7. bgfx

    77 yoga VS bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

  8. react-navigation

    76 yoga VS react-navigation

    Routing and navigation for React Native and Web apps

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Ink

    72 yoga VS Ink

    🌈 React for interactive command-line apps

  11. LWJGL

    73 yoga VS LWJGL

    LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.

  12. chalk

    72 yoga VS chalk

    🖍 Terminal string styling done right

  13. Skia

    59 yoga VS Skia

    Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

  14. satori

    40 yoga VS satori

    Enlightened library to convert HTML and CSS to SVG

  15. taffy

    38 yoga VS taffy

    A high performance rust-powered UI layout library

  16. hermes

    44 yoga VS hermes

    A JavaScript engine optimized for running React Native.

  17. NativeScript

    32 yoga VS NativeScript

    ⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.

  18. wpt

    21 yoga VS wpt

    Test suites for Web platform specs — including WHATWG, W3C, and others

  19. og-image

    19 yoga VS og-image

    Discontinued Open Graph Image as a Service - generate cards for Twitter, Facebook, Slack, etc

  20. react-native-skia

    27 yoga VS react-native-skia

    High-performance React Native Graphics using Skia

  21. stretch

    5 yoga VS stretch

    High performance flexbox implementation written in rust

  22. react-native-skia

    Cross platform React Native solution to draw graphics based on Skia (by react-native-skia)

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better yoga alternative or higher similarity.

yoga discussion

Log in or Post with

yoga reviews and mentions

Posts with mentions or reviews of yoga. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-19.
  • Clay – UI Layout Library
    7 projects | news.ycombinator.com | 19 Dec 2024
    Cool! I also have a standalone implementation of CSS Grid [1]. Implemented in Rust in my case (and we also support Flexbox and Block layout). Looks like the licenses are both MIT (although you may want to add a LICENSE file to make that easier to find) so feel free to steal bits if you want. We aim to be fully web compatible, although we're not quite there yet.

    One thing we have that you may be particularly interested is a reasonably substantial test suite. The tests are defined as HTML snippets that we run through Chrome using webdriver in order the scrape (hopefully) correct assertions, and then format into pure-code unit tests. If you wanted to you could write your own test generator and reuse our snippets. (this test infrastructure is also partially shared with Yoga [2], the C++ Flexbox implementation that powers React Native)

    1: https://github.com/DioxusLabs/taffy

    2: https://github.com/facebook/yoga

  • Web Browser Engineering
    6 projects | news.ycombinator.com | 15 Oct 2024
    For React Native the facebook engineers just gave up and were like "all you get is flexbox layout" and people were quite okay with that (although some people grumble about lack of display grid)

    https://github.com/facebook/yoga

  • Show HN: Dropflow, a CSS layout engine for node or <canvas>
    15 projects | news.ycombinator.com | 21 Mar 2024
  • Building Reddit’s Design System on iOS
    5 projects | /r/RedditEng | 27 Sep 2023
    We still wanted to leverage a layout engine that could be performant and easy-to-use. After doing some performance testing with native UIKit, Autolayout, and a few other third-party options, we ended up bringing FlexLayout into the mix, which is a Swift implementation of Facebook’s Yoga layout engine. All RPL components utilize FlexLayout in order to lay out content fast and efficiently. While we’ve enjoyed using it, we’ve found a few touch points to be mindful of. There are some rough edges we’ve found, such as utilizing stack views with subviews that use FlexLayout, that often come at odds with both UIKit and FlexLayout’s layout engines.
  • We're building a browser when it's supposed to be impossible
    13 projects | news.ycombinator.com | 11 Apr 2023
    We have our own test suite (orginally derived from the test suite of Meta's Yoga layout library [0]) which consists of text fixtures that are small HTML snippets [1] and a test harness [2] that turns those into runnable tests, utilising headless chrome both to parse the HTML and to generate the assertions based on the layout that Chrome renders (so we are effectively comparing our implementation against Chrome). We currently have 686 generated tests (covering both Flexbox and CSS Grid).

    We would like to utilise the Web Platform Test suite [3], however these are not in a standard format and many of the tests require JavaScript so we are not currently able to do that.

    [0]: https://github.com/facebook/yoga

    [1]: https://github.com/DioxusLabs/taffy/tree/main/test_fixtures

    [2]: https://github.com/DioxusLabs/taffy/tree/main/scripts/gentes...

    [3]: https://github.com/web-platform-tests/wpt/tree/master/css/cs...

  • minimax — minimalist 3D game engine in Clojure
    5 projects | /r/Clojure | 26 Feb 2023
    The "engine" is built on top of amazing https://www.lwjgl.org/ and https://github.com/bkaradzic/bgfx/, and UI system is baked by https://github.com/memononen/nanovg and https://github.com/facebook/yoga
  • Show HN: Taffy – CSS Grid (+Flexbox) as a Library
    2 projects | news.ycombinator.com | 12 Feb 2023
  • React vs React Native: How Different Are They, Really?
    12 projects | dev.to | 19 Dec 2022
    React Native uses the Yoga engine under the hood, which allows you to use CSS properties to layout your React Native UI in a way that translates really well. Layout in Yoga is limited to Flexbox and absolute/relative positioning, however; there is no CSS grid and no display attribute. This keeps things simpler and more performant, but if developers are accustomed to using other layout techniques on the web, they’ll need to adjust to this new limitation.
  • When dealing with UI, does any of you uses glViewport to layout your elements in the correct place?
    1 project | /r/gamedev | 8 Dec 2022
  • Taffy 0.2 Release: Blazing Fast UI Layout in Rust. Now with `gap`!
    3 projects | /r/rust | 24 Nov 2022
    PR #246 is super interesting to check out: by fixing the caching strategy, we were able to eliminate an exponential time (with respect to tree depth) performance penalty, and get comparable speeds for flat and deeply nested layouts (something I'd never expected to be possible). Preliminary benchmarks shows us significantly faster than yoga, Meta's C++ library for the same thing, especially on deep trees. Not too shabby for a tiny team of volunteers!
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic yoga repo stats
25
17,702
8.4
8 days ago

facebook/yoga is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of yoga is C++.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com