#bevy #bevy-ui #css-grid #ui #io-flexbox

bevy_ui

A custom ECS-driven UI framework built specifically for Bevy Engine

45 releases

Uses new Rust 2024

0.16.0 Apr 24, 2025
0.16.0-rc.3 Mar 31, 2025
0.15.0 Nov 29, 2024
0.14.0 Jul 4, 2024
0.3.0 Nov 3, 2020

#2549 in Game dev

Download history 21202/week @ 2025-01-17 16482/week @ 2025-01-24 20970/week @ 2025-01-31 26281/week @ 2025-02-07 16726/week @ 2025-02-14 24099/week @ 2025-02-21 21181/week @ 2025-02-28 20318/week @ 2025-03-07 26935/week @ 2025-03-14 21793/week @ 2025-03-21 16960/week @ 2025-03-28 17518/week @ 2025-04-04 22137/week @ 2025-04-11 19041/week @ 2025-04-18 32139/week @ 2025-04-25 20988/week @ 2025-05-02

98,339 downloads per month
Used in 384 crates (19 directly)

MIT/Apache

10MB
176K SLoC

This crate contains Bevy's UI system, which can be used to create UI for both 2D and 3D games

Basic usage

Spawn UI elements with widget::Button, ImageNode, Text and Node This UI is laid out with the Flexbox and CSS Grid layout models (see https://cssreference.io/flexbox/)


Bevy UI

License Crates.io Downloads Docs Discord

Dependencies

~46–79MB
~1.5M SLoC