Skip to main content

Row

It adds a new container block that can contain multiple columns as children.

Properties with row component​

PropertyDatatypeDescriptionMandatory
gapXnumberIt adds spacing on sides i.e left and rightNo
gapYnumberIt adds spacing on top and bottomNo

Margin and padding shorthand properties​

This properties are used from styled-system/rebass

PropertyDatatypeDescription
pnumber or
type [number?, number?, number?, number?]
It adds padding
ptnumberShorthand for padding top
prnumberShorthand for padding right
pbnumberShorthand for padding bottom
plnumberShorthand for padding left
mnumber or
type [number?, number?, number?, number?]
Shorthand for margin
mtnumberShorthand for margin top
mrnumberShorthand for margin right
mbnumberShorthand for margin bottom
mlnumberShorthand for margin left