Inline

Inline layouts define a collection of elements in a horizontal list. Alignment of items can be controlled as a group or independently for each item.

Gaps allow control of white space between layout items. Gaps can be set via t-shirt sizes, xs, sm, md, lg, xl.

1
2
3
4
1
2
3
4
1
2
3
4
1
2
3
4
1
2
3
4

Control the item alignment within the layout container. Block alignment runs along the vertical axis and inline alignment run on the horizontal axis.

1
2
1
2
1
2
1
2
1
2
1
2
1
2

Similar to controling the alignment above, you can align individual items separately from the rest of the items within the layout group.

1
1
1
1
1
1
1

Use align:stretch to allow items to fill the space horizontally within the parent layout container.

1
2

Use align:inline-stretch to allow items to fill the space vertically within the parent layout container.

1
2

By default inline layouts allow items to wrap within the parent layout container.

1
2
3
4
5
6

Use align:inline-stretch to allow items to fill the space vertically within the parent layout container.

1
2
3
4
5
6

Search