cornerRadius
Corner radius. Scalar when uniform; Corners object when per-corner values differ.
Type(s)
| Type | Example |
|---|---|
number | 16 |
TokenReference | $token: DS.Radius.400$type: dimension |
Corners | topStart: 4topEnd: 4bottomEnd: 0bottomStart: 0 |
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 |