Skip to main content
Question

Design Library Tricks

  • November 24, 2022
  • 8 replies
  • 756 views

Ryan-Didevar

How can I create a design library and use it in a plugin, so when a user select a design, add it to their Figma project?

8 replies

tank666
  • 4859 replies
  • November 24, 2022

You first need to publish the file as a team library and then use the appropriate Plugin API methods.

You can get some details in this thread: How access other file by Figma API.


Ryan-Didevar

Thank you for your help. I tried the solution and I got an error as below:
Cannot import component with key "..." since it is unpublished!!
Actually I’ve published it with a starter plan and it gives me this error. Should I purchase other plans?


tank666
  • 4859 replies
  • November 26, 2022

With a Starter plan, you can only publish styles to the library. So yes, you need to upgrade to a paid plan.

For more information about publishing libraries and plans, see the following Help Center articles:

Figma Help Center

Ryan-Didevar

Ok thank you. And also I have another question: I only want to let the users to import the component and their changes only applies for themselves and not on the source component. Is it possible? or their changes will apply on the source component?


tank666
  • 4859 replies
  • November 26, 2022

Modifications to imported components in user files will not affect your library.


Ryan-Didevar

Thank you ❤️


Ryan-Didevar

I’ve published a component and only my teammates can import it using its key. but I want everybody to access it. I have no idea what to do? I’m using an educational plan.


tank666
  • 4859 replies
  • November 27, 2022

Not sure, but try changing the library file access to “Anyone with the link” with “can view” permission.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings