Figma Plugins

Figma Plugins

  • Introduction
  • API Reference
  • Updates

›Recent Posts

Recent Posts

  • Version 1, Update 49
  • Version 1, Update 48
  • Version 1, Update 47
  • Version 1, Update 46
  • Version 1, Update 45

Version 1, Update 40

December 15, 2021

New:

  • Updated WidgetNode.cloneWidget to support overriding synced maps.
  • Added WidgetNode.widgetId to provide a way to tell if a widget node belongs to your widget.
  • Added figma.pluginId and figma.widgetId for Plugins and Widgets respectively to get the value of the manifest.json "id" field at runtime. This is useful when paired with various WidgetNode apis as well as working with non-null origin iframes.
  • Updated figma.showUI to allow iframes to be positioned within the canvas at a specified x/y coordinate. If the position specified is outside of the user's viewport, the iframe will be moved so that it remains in the user's viewport.
  • Added createLinkPreviewAsync which allows Plugin authors to create a link preview from the provided URL.
  • Added EmbedNode and LinkUnfurlNode which represent link previews
  • Add support for drop events in figma.on as a proposed API. Drop events will trigger when objects outside Figma (such as elements from other browser windows, or files from the local filesystem) are dropped onto the canvas.
Recent Posts
Learn more about Figma