Alignment#
Every component in Bumbag has the ability to set an alignX
or alignY
prop, allowing the component to be aligned horizontally or vertically.
Vertical alignment#
I am aligned to the center
Editable example
I am aligned to the top
Editable example
I am aligned to the bottom
Editable example
Horizontal alignment#
I am aligned to the center
Editable example
I am aligned to the left
Editable example
I am aligned to the right
Editable example
On this page