Skip to main content

Version 1, Update 140

Create and apply custom animation styles​

The Plugin API now supports creating, editing, and applying reusable custom Motion animation styles.

New type​

New methods and properties​

Updated Motion APIs​

  • animationStyles: Now returns Figma-provided and custom animation styles, discriminated by "FIGMA" or "CUSTOM".
  • applyAnimationStyle(): Now accepts a custom animation style ID with { type: "CUSTOM" }.

Vertical auto-layout wrapping​

layoutWrap can now be set to "WRAP" on vertical auto-layout frames (layoutMode === "VERTICAL"), in addition to horizontal auto-layout frames.