Flex
Flex
The Flex
component renders a responsive flexbox layout component that controls the layout of the components nested inside. Use it when you want to create mobile responsive layouts or want to arrange content in columns or rows. This component extends Box.
Import component
import { Flex, Box } from 'rimble-ui';
Example
FlexBox
Props
display
(optional)
Default value:
'flex'
Styled System Props
Flex
uses COMMON
, LAYOUT
, POSITION
, FLEXBOX
, BORDERS
groups of Styled System props.