Flex layout

Flex Layout enables complex arrangement of UI elements within a container, enabling responsive design by controlling the alignment, direction and size of items, for example, use it to arrange a items in a row, evenly spaced and centered vertically. Use when the direction needs complex customization that can't be achieved by StackLayout, FlowLayout or SplitLayout. For additional control of the size and position of content, use FlexItem for each content item inside FlexLayout.

Also known as: CSS flexbox, Flexible box, Responsive layout
Note: This tab list includes overflow; tab positions may be inaccurate or change when a tab is selected

When building a layout for part of a page using FlexLayout, apply semantic HTML. This means using the correct HTML elements for their intended purpose as much as possible.

FlexLayout and FlexItem components support this behavior by allowing access to a prop called as that allows you to render the appropriate HTML instead of a plain “div”.