Alternatives
Usage
Use the Inline
primitive when you want to layout a group of elements together
and allow them to wrap onto a new line.
This is particularly useful when you want the elements to naturally fill the horizontal space available, rather than implementing a specific grid. A good example of this might be a "tag cloud".
Gap
The spacing between children can be adjusted using the gap
prop.
Vertical alignment
Items of varying height can be vertically aligned using the alignY
prop.
Horizontal alignment
Items can be aligned horizontally using the align
prop.