Stack

Use stack to apply an equal amount of space between multiple objects.

 

Stack illustration 1

Usage

stack usage illustration 1

In design, use Figma auto layout to create a stack of elements where possible.

stack usage illustration 2

Don’t use stack when you need precise control over individual spacing


Available platforms

Platform

Available

Figma

Web (@ovotech/element)

v1+

App (@ovotech/element-native)

v1+