Skip to main content
Yuri_Ryzhenkov
December 18, 2023
Solved

Variables from published library aren't available in the new project

  • December 18, 2023
  • 7 replies
  • 3267 views

Hello there. Shortly problem is that published variables are not available in the file where i enabled this library.

Steps:

  1. Published a library with two color variables (and two color modes)
  2. Enabled library in empty project
  3. Made a rectangle and tried to apply a variable

Results:
On first iteration i was able to apply a variable on rectangle. When i’m trying to change it, it doesn’t show the second variable.

On second iteration (the same steps) it went well and i don’t know why. I am able to switch between variables.

On third iteration i’ve tried to publish big library with 238 variables. In project file 0 variables appeared.


I have files from each iteration, so Figma support guys, you are welcome to investigate it.

This topic has been closed for replies.
Best answer by Yuri_Ryzhenkov

Problem solved. The issue was in variables with state “Hide from publishing”, a lot of them have been disabled in imported library from “Untitled UI” by unknown reason.

7 replies

Arkadiy
December 18, 2023

Similar issue

Sergey_Tomashevsky
New Participant
December 18, 2023

The same problem. It is not clear how to publish variables.

Celine_
Figmate
Community Support
December 19, 2023

Hi there!
Sorry to hear you are having issues publishing your library.
To cover some basics, here’s a guide how to publish individual styles, components, or variables: https://help.figma.com/hc/en-us/articles/360025508373-Publish-a-library#individual
If you are still running into issues, I’d recommend you to reach out directly the support with a copy of your file (where the library is located) and share a quick screenshot / video recording when the issue happens here: https://help.figma.com/hc/en-us/requests/new. This will help our team to investigate and replicate it. Thank you!

Yuri_Ryzhenkov
Yuri_RyzhenkovAuthorAnswer
December 28, 2023

Problem solved. The issue was in variables with state “Hide from publishing”, a lot of them have been disabled in imported library from “Untitled UI” by unknown reason.

Celine_
Figmate
Community Support
December 29, 2023

Glad you’ve found a fix. Thanks for letting us know!

Julia_Mnizhek
Active Member
May 22, 2024

Faced same problem recently. We have created several variable collections in our tokens library, none of them are hidden, but in the files where we apply this tokens library we see only one collection and cannot see the others.

_fay
December 17, 2024

this issue has been daunting me for a few weeks now, thank you for coming back and replying with the solution.