backgroundImage
Image fill. Fallback representation used when no image component is configured.
Type(s)
| Type | Example |
|---|---|
ImageValue | $image: "#/images/hero"objectFit: COVER |
TokenReference | $token: DS.Image.Hero$type: image |
null | null (no image fill) |
Supported on
| Element | Figma Layer(s) |
|---|---|
container | Component, Frame, Instance, Slot |
vectors | Rectangle, Vector, Ellipse, Star, Polygon |
Figma key
Reads from fills (IMAGE paint). See ADR 063 — Image Content.
Source
| Format | File |
|---|---|
| TypeScript | packages/schema/types/Styles.ts |
| JSON Schema | packages/schema/schema/styles.schema.json |