Margin

Use a margin to add space around and between content.

 

Visual examples

Usage

Margin usage illustration 1

Don’t use the margin when applying an equal amount of space between multiple objects. Use the stack component instead.

Margin usage illustration 2

In design, use Figma auto layout to create margins


Available platforms

Platform

Available

Figma

Web (@ovotech/element)

v1+

App (@ovotech/element-native)

v1+