aspectRatio

aspectRatio

aspectRatio

Width-to-height ratio

Type

number | null

Supported by

  • FrameNode

  • ComponentInstanceNode

Caveats

  • Example: 1.5 for 3:2 ratio

  • Setting to null removes the aspect ratio constraint