Skip to main content
Question

iFrames within Components for Figma Sites

  • May 8, 2026
  • 1 reply
  • 29 views

Charlie_B

I'm finding that whenever I try to drop an embedded iframe (URL or HTML embed) into a component, it does not let me. If I try to create a component out of a frame with something that has an iframe embed within it the iframe just pops out of the component. 

 

This is really frustrating to be because a core layout component I have includes an embed. Now half my site will have to be disconnected. 

 

Figma Sites never shows an error (if should if this is the intended interaction). Is this a glitch?? Does anyone know a workaround?

1 reply

adamsmasher
Figmate

Hey. ​@Charlie_B! Thanks for your post.

 

That’s unfortunate that this is pretty critical to your site design, so let’s see if we can figure out what’s going on so you can keep working on it. Could you clarify your workflow a bit more so I can understand what you are seeing and where, and by that I mean what actions are you taking in Figma Design and what actions are you taking in Figma Sites? I’m going to provide some guidance but this will help me in case I’m missing the mark with what you are trying to do.

 

From what you are describing, it sounds like you’ve added blocks to your design in Figma Sites and trying to drag an Embed block into an existing section or block. One thing you could do is try the following:

  1. Drag the Embed block to the page more generally, such as at the bottom of the page.
  2. Click on the File icon on the left so you can view the layers of the file.
  3. Click on the Embed layer in the Layers panel, and drag it up and into the place you’d prefer it in the layout (as opposed to doing this directly on the canvas). 

 

As an example, I added a Feature Cards block to my design, then added an Embed block below that on the canvas. Then on the Layers panel, I dragged the embed block layer up into a position as a child layer of one of the cards:

You can see how I dragged the Embed layer underneath the Card 3 layer.

Â