Skip to main content
Tom_Coggia
New Participant
Sep 10, 2022 4:17 PM UTC
Question

Component in library is not being published

Haven’t found exactly this issue posted: I created a new component in my library, but Figma ignores it when publishing. In the design file it’s no different from any other component - and the component in question works as expected within the library file. But no matter how many times I alter it, Figma doesn’t seem to notice that it’s a component, so it doesn’t get published. I’ve even duplicated and renamed it…doesn’t matter. It’s like it doesn’t exist, so it’s not available in any other files using that library.

This topic has been closed for replies.

15 replies

Pixel_Bonkers
Mar 22, 2024 8:28 AM UTC

Hi, just to support this thread, I’m stating my case as well - my issue was with just the icons not publishing - “Publish changes” was shown only if I selected one icon component, but if I selected all icons, the “Publish changes” button changed to “Combine variants”, and thought I had to do this for each individual icon. But right clicking after selecting all, displays the “Publish selected components” option, just like someone mentioned here. Thanks a lot for this post!

Apr 17, 2024 10:37 AM UTC

In case it helps someone, unpublishing the whole library, reloading all the tabs (or closing and opening Figma again) then re-publishing the library again did it for me.

Hiba1
New Member
Jan 22, 2025 5:37 PM UTC

I was having the same issue and found a fix. Make sure the components you’re having the issue with don’t have any unused component properties, or Figma will flag them as invalid and they won’t be publishable. In your Publish Library modal you might see a dropdown called “Invalid”. I removed all the unused properties from my components and everything was able to be published as expected. Hope this helps!

you saved meee! Thanks :)

Daniel_Jaeger
New Member
Feb 27, 2025 12:01 AM UTC

I found another reason that components aren’t published - the file with the components has to be in a project folder. Components that are in Figma files that are in the drafts folder aren’t published. However, Variables and Styles are which makes it confusing.

Somebody else already pointed out that hidden components aren’t published. To show components for publishing, go to the assets tab on the left, right click on the component and select “show when publishing”.

Cristiane
New Member
Jun 12, 2025 2:23 PM UTC

I don’t know if this has been mentioned before, but if a component has an error, e.g. a name conflict, the component doesn’t get published.

The issue I have is that often, I’m updating several components and some of the editing gets missed and I don’t realise there’s an error (it shows as a warning icon by the property). Is there are place where we can see components with errors? It’s a bit of hit and miss if you have a lot of components in different pages in one file.

Thanks.