toffeeversion Documentation on ocaml.org

CSS layout engine for OCaml (Flexbox, Grid, Block)

Toffee is a pure OCaml port of Taffy, a battle-tested Rust CSS layout library. It implements CSS Flexbox, Grid Level 1, and Block layout with margin collapsing. No C stubs, no runtime dependencies. Designed to be embedded in UI frameworks, terminal applications, or any project that needs 2D layout.

Tags css layout flexbox grid css-grid taffy layout-engine
AuthorThibaut Mattio <thibaut.mattio@gmail.com>
LicenseISC
Published
Homepagehttps://github.com/invariant-hq/mosaic
Issue Trackerhttps://github.com/invariant-hq/mosaic/issues
MaintainerThibaut Mattio <thibaut.mattio@gmail.com>
Dependencies
Source [http] https://github.com/invariant-hq/mosaic/releases/download/0.3.0/mosaic-0.3.0.tbz
sha256=a92cbbcbe016fb19fb0a749222da0e459a9567aef3f4c7340d9bd6b71c53ed6f
sha512=6a7ab054605538bb31a2b73a1a6d093981a2704c9f0af5852221c05735290d74aca7c7282298c4d0f91e86a800e2ccd94b4918af883cd963449c758eb6b272b3
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/toffee/toffee.0.3.0/opam
Required by