yoga: Bindings to Facebook's Yoga layout library

[ bsd3, graphics, library ] [ Propose Tags ]

The Yoga library from Facebook is a fast layout engine written in C that implements flexbox. There are two main ways to interface with these bindings. The high-level bindings are stored in the Yoga module and provide a more Haskell-like interface to the library. The other option is to directly use the C-level bindings in Bindings.Yoga. If you do so you do so at your own risk (i.e. you must manage your own memory). The examples are not built nor included by default. Please refer to the source tarball for examples on how to use this library. These bindings are not affiliated with Facebook in any way, and have been developed separately for the sole purpose of interfacing with their open source library.


[Last Documentation]

  • Bindings
    • Bindings.Yoga
      • Bindings.Yoga.Enums
  • Yoga


Automatic Flags

Build examples


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,
Dependencies base (>4 && <6), bindings-DSL, ieee754 (>=0.7), yoga [details]
License BSD-3-Clause
Copyright 2017-present
Author Pavel Krajcevski
Category Graphics
Source repo head: git clone
Uploaded by Mokosha at 2024-01-14T07:02:19Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 1 direct, 0 indirect [details]
Executables yoga-example
Downloads 3279 total (31 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-01-14 [all 2 reports]