menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Figma

Figma is the first collaborative UI design tool built in the browser. Join our growing community and kick off a conversation!

Channels
Team

Hide UI with embed doesn't work

December 9, 2020 at 2:29pm
The Figma community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

Hide UI with embed doesn't work

December 9, 2020 at 2:29pm
I've been able to succesfully hide the Toolbar and Footer when sharing a prototype as a link. But every time I embed the prototype, the UI comes back. I'm using the &hide-ui=1 code but it just doesn't seem to work. Anyone have any success with this? Thanks!

December 9, 2020 at 2:32pm
Can you share your embed code? I don't think you can use & in the embed but need to URL encode it (%26 I think but don't quote me on that). So try %26hide-ui=1
I've tried with and without the 26
Hmm, try encoding the equals too so %26hide-ui%3D1 ... what you're sharing should work though... remove the style and allowfullscreen to see if that fixes things...
I embed figma prototypes all the time with custom iframes. I just use the src="" but never use any of the other parameters.
Got it! I stripped it down to its bare minimum like you described and added the %26hide-ui%3D1. Now I'm going to try to add back some dimension parameters without breaking it. Thank you so much Nelson!