Basics
To position elements on the page, you can use the Flex component.
Components inside Flex will be displayed in display: flex mode.
- $components- a list of components,
- $colSpan- the number of columns the block occupies for screen sizes of 1280px and above,
- $adaptiveColSpan- the number of columns the block occupies for screen sizes up to 1280px,
- $itemsAlign- an equivalent of the CSS class- items-$itemsAlignin Tailwind,
- $justifyAlign- an equivalent of the CSS class- justify-$justifyAlignin Tailwind,
- $withoutSpace- a flag for margins.
Alignment
To align elements, you can use the itemsAlign() and justifyAlign() methods.
Wrap
To transfer the elements (flex-wrap) you can use the wrap() method.