Skip to content

padding

Padding. Scalar when uniform; Sides object when per-side values differ.

Type(s)

TypeExample
number16
TokenReference$token: DS.Space.400
$type: dimension
Sidestop: 8
end: 16
bottom: 8
start: 16
nullnull

Supported on

ElementFigma Layer(s)
containerComponent, Frame, Instance, Slot

Source

FormatFile
TypeScriptpackages/schema/types/Styles.ts
JSON Schemapackages/schema/schema/styles.schema.json