bevy-ui-layout
Installation
SKILL.md
Bevy UI layout
When to use
Load this when laying out HUD or menu nodes. Text content stays on bevy-ui-text. Colors and widget styling stay on bevy-ui-theming.
ECS shape
- Crate text (opened): spawn UI with
widget::Button,ImageNode,Text, andNode. Layout uses Flexbox and CSS Grid. - Components named:
Node,BackgroundColor,BorderColor,BorderRadius,ComputedNode,GridPlacement,GridTrack,GlobalZIndex. - Feature:
bevy_uiis a custom ECS-driven UI framework. - Systems: layout and update systems are engine-owned (
bevy::ui::updateexists). Do not write a second layout pass.