Skip to main content
Question

figma.teamLibrary returns stale library variable data after library publish/update

  • March 29, 2026
  • 0 replies
  • 4 views

Credit.Club

When a Team Library variable collection is updated and republished, the Plugin API still returns stale variable descriptors in files where that library is enabled/imported.

Specifically:

  • figma.teamLibrary.getAvailableLibraryVariableCollectionsAsync() returns the expected collection
  • figma.teamLibrary.getVariablesInLibraryCollectionAsync(collection.key) returns outdated variable names/keys
  • the Figma Variables UI in the same file shows the new/current variables correctly

This makes Plugin API data inconsistent with the actual library state visible in Figma UI.