#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

#2127 in Game dev

Download history 21095/week @ 2025-01-09 25457/week @ 2025-01-16 17208/week @ 2025-01-23 19529/week @ 2025-01-30 27330/week @ 2025-02-06 18456/week @ 2025-02-13 21067/week @ 2025-02-20 22080/week @ 2025-02-27 19314/week @ 2025-03-06 27313/week @ 2025-03-13 21006/week @ 2025-03-20 20433/week @ 2025-03-27 15153/week @ 2025-04-03 23700/week @ 2025-04-10 17081/week @ 2025-04-17 31392/week @ 2025-04-24

89,020 downloads per month
Used in 379 crates (18 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

~47–79MB
~1.5M SLoC