Skip to main content

Advanced

Figma Embeds

Embed live Figma designs in websites, documentation, and applications.

Figma embeds let you display live, interactive previews of Figma files and prototypes in external applications. Viewers can pan, zoom, and inspect designs without leaving your site.

Embed Methods

The simplest way to embed a Figma file:

<iframe
  style="border: 1px solid rgba(0, 0, 0, 0.1);"
  width="800"
  height="450"
  src="https://www.figma.com/embed?embed_host=astra&url=https://www.figma.com/design/FILE_KEY/FILE_NAME"
  allowfullscreen
></iframe>

Embed URL Parameters

ParameterDescriptionExample
embed_hostYour app identifierastra
urlFigma file or prototype URLFull Figma URL
node-idSpecific node to focus on1:23
scalingScaling modemin-zoom, contain
hide-uiHide Figma UI elementstrue

Embedding Prototypes

Embed interactive prototypes by using the prototype URL:

<iframe
  width="400"
  height="800"
  src="https://www.figma.com/embed?embed_host=astra&url=https://www.figma.com/proto/FILE_KEY/FILE_NAME?node-id=1:23&scaling=min-zoom"
  allowfullscreen
></iframe>

Prototype embeds are interactive — users can click through flows, trigger animations, and test interactions directly in the embed.

Access Control

Embeds respect Figma’s sharing permissions:

File PermissionEmbed Behavior
Anyone with linkEmbed works for all viewers
Organization onlyOnly org members see the embed
Invite onlyOnly invited users see the embed

Public embeds expose your design to anyone with the page URL. Use “Anyone with the link” sharing only for designs you’re comfortable being public.

For documentation sites, use the oEmbed API with server-side rendering to generate embed HTML at build time. This avoids layout shifts and improves page load performance.