strokeDashPattern
Dash geometry for a dashed stroke. Presence signals a dashed stroke; null or absent signals solid.
Type(s)
| Type | Example |
|---|---|
StrokeDashPattern | dash: 8gap: 4 |
null | null (solid) |
Not token-bindable — structural property, not a design value.
Supported on
| Element | Figma Layer(s) |
|---|---|
container | Component, Frame, Instance, Slot |
vectors | Rectangle, Vector, Ellipse, Star, Polygon |
line | Line |
Figma key
Reads from strokeDashes. See ADR 059 — Border Style.
Source
| Format | File |
|---|---|
| TypeScript | packages/schema/types/Styles.ts |
| JSON Schema | packages/schema/schema/styles.schema.json |