Skip to content

FlexContainer

Properties

PropertyTypeDescription
classNamestring(optional) Outer DOM element class name
directionstring(optional) Direction of sub components. Can be: row or column.
wrapboolean(optional) True to wrap contents if there is not enough space.
justifystring(optional) How to place sub components if there is space available in the container. Can be: flex-start, flex-end, center, space-between, space-around or space-evenly.
dividerstring(optional) How to separate sub components. Can be: space or line.
spacingstring or false(optional) How much space between sub components. Can be medium, small or false for no spacing.
widthstring or false(optional)small, medium or large for predefined standard widths.
childrenReact.Node(optional) Contents.