Extensions

Press shift + S to search API reference.

Interface

MarginProps

View source
interface MarginProps
marginOptionalResponsiveProp<MarginProperty<Length>>

Sets the margin area on all four sides of an element. It is a shorthand for marginTop, marginRight, marginBottom, and marginLeft.

marginBottomOptionalResponsiveProp<MarginBottomProperty<Length>>

Sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

marginLeftOptionalResponsiveProp<MarginLeftProperty<Length>>

Sets the margin area on the left of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

marginRightOptionalResponsiveProp<MarginRightProperty<Length>>

Sets the margin area on the right of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

marginTopOptionalResponsiveProp<MarginTopProperty<Length>>

Sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

marginXOptionalResponsiveProp<MarginProperty<Length>>

Sets the margin area on the left and right of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

marginYOptionalResponsiveProp<MarginProperty<Length>>

Sets the margin area on the top and bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.