How to export assets from Figma

Learn how to export a Figma layer as PNG and SVG assets by adding export settings, setting a 2x scale, and exporting every format in one click.

Quick answer

Select a layer in the Layers panel, click the plus next to Export in the Design panel, set the scale to 2x, and choose PNG or SVG. Add a second setting for another format, then click the Export button to download every setting from that layer at once.

Steps at a glance

  1. Select the layer in the Layers panel.
  2. Click the plus next to Export.
  3. Type 2x in the scale field.
  4. Click the plus again for a second setting.
  5. Choose SVG from the file type menu.
  6. Click the Export button for the layer.

Interactive demo

Loading demo…

Summary

Figma lets you attach one or more export settings to any layer, each with its own scale and file type. This saves you from re-exporting the same asset every time a design changes.

Step-by-step guide

  1. Step 1

    Select the layer to export

    Open your design file and click the layer you want to export in the "Layers" panel on the left. This guide uses "Frame 2". The Design panel on the right now shows the settings for that layer.

  2. Step 2

    Add an export setting

    In the Design panel, find the "Export" section near the bottom and click the plus button next to it. Figma adds a setting row with a scale field and a file type menu.

  3. Step 3

    Set the export scale

    Click the scale field in the new row and type 2x. A 2x export produces an image at twice the layer's size, which keeps edges sharp on high-resolution screens. The file type menu next to it shows "PNG" by default.

  4. Step 4

    Add a second export setting

    Click the plus next to "Export" again. A second row appears, so one layer can produce several files in a single export.

  5. Step 5

    Choose SVG for the new setting

    Open the file type menu on the new row. It lists "PNG", "JPEG", "SVG" and "PDF". Pick "SVG" to get a scalable vector file alongside your 2x PNG.

  6. Step 6

    Export the layer

    Click the button at the bottom of the Export section, labelled "Export Frame 2" here. Figma exports the layer using every setting you added.

Why this matters

You hand a button or logo to a developer and need a sharp 2x PNG for the app plus an SVG for the web. Setting both on the layer once means one click gives you every format they asked for.

Frequently asked questions

  • Which file types can I export from a layer?

    The file type menu lists PNG, JPEG, SVG and PDF.

  • Can one layer have more than one export setting?

    Yes. Click the plus next to Export again to add another row, each with its own scale and file type, and the export button uses all of them.

Create interactive demos like this one — free, no coding required.

Start for free →