taffy
is a flexible, high-performance, cross-platform UI layout library written in Rust.
Currently, we only support a flexbox layout algorithm, but support for other paradigms is planned.
This crate is a collaborative, cross-team project, and is designed to be used as a dependency for other UI and GUI libraries. Right now, it powers:
- Dioxus: a React-like library for building fast, portable, and beautiful user interfaces with Rust
- Bevy: an ergonomic, ECS-first Rust game engine
Contributions welcome:
if you'd like to use, improve or build taffy
, feel free to join the conversation, open an issue or submit a PR.
If you have questions about how to use taffy
, open a discussion so we can answer your questions in a way that others can find.