iframe embed remove UI

Hello,

I am currently trying to embed an iframe on a Sharepoint site and I want to remove the Figma UI. I have previously been able to do this by simply amending the url with

%26hide-ui%3D1

but now this doesn’t work. I have noticed that the entire iframe embed code is different now. like I compared the code I have for a prototype that is currently live and has the UI removed, but when I compare it with the embedded code that Figma gives me for that same prototype now, its completely different.

Please help! TIA

If your embed code contains embed.figma.com instead of www.figma.com, it means that Figma Embed KIT 2.0 is used. Although the hide-ui parameter is not specified in the documentation, you can still use it. Just use &hide-ui=true or &hide-ui=1 instead of the encoded string %26hide-ui%3D1. Or use the documented query parameters.

Learn more on Figma Developers:
https://www.figma.com/developers/embed#embed-a-figma-prototype