Skip to main content
Question

Unpublish main component duplicate from shared library

  • November 27, 2023
  • 6 replies
  • 1904 views

There’s an old main component in the shared library that I would like to remove. This component is a duplicate of a new component that was created. How to unpublish a single component?

This topic has been closed for replies.

6 replies

y_toku
Figmate
  • Community Support
  • 2503 replies
  • November 28, 2023

Hi there,

Thanks for reaching out. As you may have already tested, right-click on the component in the panel as you shared, you can choose “Hide when publishing”. By doing this, the component won’t be included in the updates when publishing.

This is the ‌help center article: https://help.figma.com/hc/en-us/articles/360039238193-Hide-styles-components-and-variables-when-publishing#h_01HD20M7HSP88R758KMWPE917D

I hope it helps. If you have further questions, please feel free to add your comment!

Thanks,
Toku


Yaniv_Nord

Hi @y_toku If you deselect a component in the Publish Library, a component which was previously published, will deselecting it remove that component from the library, or will it just not publish an update to that component?


y_toku
Figmate
  • Community Support
  • 2503 replies
  • February 15, 2024

@Yaniv_Nord thanks for the reply. It will just not publish and update to that component. In the Library, hidden components remain in the Assets panel, but changes that are made to them won’t trigger any publishing events.

I hope this clarifies your question!

Thanks,
Toku


Yaniv_Nord

Thanks @y_toku !

If unchecking does not unpublish, I’m still don’t understand how I would go about unpublishing a previously published component?

Thank you!


y_toku
Figmate
  • Community Support
  • 2503 replies
  • February 21, 2024

@Yaniv_Nord My apologies for the delayed response! To do this, you’ll need to unpublish the library file initially. Then, when you republish it, make sure to hide the previous components from the library. This method allows you to maintain the connection to the main component with the instances you’ve used without simply deleting them.

I hope this explanation is clear.

Thanks,
Toku


Wimberly_Chad

For anyone coming to this post later, even if the component has already been published, clicking “hide from publishing” DOES unpublish the component.


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