Flex Direction
Atomic props for controlling the direction of flex items.
Atomic Props | CSS Properties |
---|---|
row | flex-direction: row; |
column | flex-direction: column; |
flexDirection={value} | flex-direction: {value} |
row
Use row
props to position flex items horizontally.
Result
Loading...
Live Editor
column
Use column
props to position flex items vertically.
Result
Loading...
Live Editor
flexDirection
Use flexDirection={value}
to set items direction.
Result
Loading...
Live Editor