It is useful to group buttons together and align them.
Unlike on UIGridContainerElement, buttons do not expand to fill the container. Instead, they use the space they need and are wrapped to the next line when they overflow.
Label
A label can be added to the button row using the label property.
Label
Alignment
It is possible to align the button row to the start or end of the container using the align property.
Start alignment
Start alignment
End alignment
End alignment
Overflow
When buttons overflow the container, they are wrapped to the next line.
In this example, the combination of UIGridContainerElement and UIButtonRowElement is used to layout a footer where the buttons are aligned to the end of the container and the text is at the start.