#node #bevy #ui #ui-framework #grid #layout #css

bevy_ui

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

25 unstable releases (12 breaking)

0.13.2 Apr 4, 2024
0.13.1 Mar 18, 2024
0.13.0 Feb 17, 2024
0.12.1 Nov 30, 2023
0.3.0 Nov 3, 2020

#562 in Game dev

Download history 11220/week @ 2024-01-14 11091/week @ 2024-01-21 8587/week @ 2024-01-28 9205/week @ 2024-02-04 10638/week @ 2024-02-11 17309/week @ 2024-02-18 12843/week @ 2024-02-25 13890/week @ 2024-03-03 11682/week @ 2024-03-10 14614/week @ 2024-03-17 13708/week @ 2024-03-24 15292/week @ 2024-03-31 12501/week @ 2024-04-07 15360/week @ 2024-04-14 14249/week @ 2024-04-21 12064/week @ 2024-04-28

56,101 downloads per month
Used in 239 crates (7 directly)

MIT/Apache

5.5MB
101K 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 node_bundles::ButtonBundle, node_bundles::ImageBundle, node_bundles::TextBundle and node_bundles::NodeBundle This UI is laid out with the Flexbox and CSS Grid layout models (see https://cssreference.io/flexbox/)

Dependencies

~35–73MB
~1M SLoC