gap

gap

Spacing between items in a layout

Type

`${number}px` | `${number}px ${number}px` | null

Supported by

  • FrameNode

Caveats

  • Only works with layout enabled

  • Single value: 10px (both axes)

  • Two values: 10px 20px (horizontal and vertical)