gap

Spacing between items in a layout.

Type

CSSDimension<CSSUnit.Pixel> | `${CSSDimension<CSSUnit.Pixel>} ${CSSDimension<CSSUnit.Pixel>}` | null

Single value (e.g. "10px") applies to both axes; two values (e.g. "10px 20px") set horizontal and vertical separately. Only works with layout enabled. Supported by FrameNode.