Use a margin to add space around and between content.

Usage

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

In design, use Figma auto layout to create margins
Available platforms
Platform |
Available |
---|---|
Figma |
❌ |
Web (@ovotech/element) |
v1+ |
App (@ovotech/element-native) |
v1+ |
Related
External links