We’ve been able to register some Shadcn code components. However while we are able to use the Figma to Plasmic plugin to move over some components the plugin isn’t working completely well.
Take for instance this breadcrumb component in Figma.
When we move the breadcrumb over using the Figma to Plasmic plugin, this is what it looks like this in Plasmic
All the breadcrumbs doesn’t move over. We have the same issue with other components.
Would anyone have a suggestion as to how to solve this problem?
When you use Plasmic Figma plugin, it copies some data to your clipboard, which then gets copied to Plasmic. Can you re-run the Plasmic Figma plugin and paste the contents of the clipboard here?
Hi, could you provide a fresh data reference? This one is already invalid, if possible could you also include a video showcasing the issue while trying to paste the content?
Hi, for handling slots in the figma importer we require a naming convention to be applied in the layers in figma designs. You can read more about it in Importing from Figma | Learn Plasmic. Your current design doesn’t follow the pattern, in a quick glance you should also include Breadcrumb List in your designs. It’s appearing 3 elements because this is the default value of your Breadcrumb component.
It’s not clear to me the issue here, Plasmic is correctly using the specified width in the figma designs.
@fmota I want to thank you for your help and I would also like to share this with the community for others so they can make the Figma to Plasmic plugin work.
Hi, thanks for sharing. An additional note is that you don’t need to name your button component in figma with the [slot] suffix, you only need to do it for the text.
I hope you are good. I’m very grateful for the help you offer earlier!
Just a little question, we’ve been able to get the figma to plasmic component to work but we haven’t been able to get the Figma colors to transfer over to Plasmic.
Would there be a quick sample e.g. of a button and the associated code that we could see so we know exactly what to do to effectively move props like color from Figma to Plasmic?