Skip to content
Docs
Open Promoeyes

group

UI item · inside ui / ui3dlayoutsset 1× in templates and rigs

A bare flex box on a UI stage, the `div` of ui: it draws nothing and lays out its children by `layout`. Not item sugar: write it inside a `children` list, or as `item(component=group)`.

group(align=center gap=1 h=1)

Attributes

aligntextCross-axis alignment of the children: `start`, `center`, `end` or `stretch`.1×
gapnumberSpace between the children, in stage units.1×
hnumber1×
layouttext`row`, `column` or `grid`: how its children flow.1×

Where it goes

Written under