padding
Padding. Scalar when uniform; Sides object when per-side values differ.
Type(s)
| Type | Example |
|---|---|
number | 16 |
TokenReference | $token: DS.Space.400$type: dimension |
Sides | top: 8end: 16bottom: 8start: 16 |
null | null |
Supported on
| Element | Figma Layer(s) |
|---|---|
container | Component, Frame, Instance, Slot |
Source
| Format | File |
|---|---|
| TypeScript | packages/schema/types/Styles.ts |
| JSON Schema | packages/schema/schema/styles.schema.json |