Export a transparent PNG from Figma, without the white box

Why Figma exports come out with a white box and how to fix it. Hide the frame fill, export the layer, and pick PNG, SVG, WebP or AVIF instead of JPG.

By UIXport team9 min read
On this page

Key takeaways

  • A Figma export is transparent only when nothing in it paints a background and the file format can store transparency.
  • To drop a frame's background, hide or delete its fill, untick Show in exports, or export the layer or group inside the frame instead.
  • PNG, SVG, WebP and AVIF can keep transparency. JPG cannot, so transparent areas always turn into a solid colour.
  • Figma's own export covers transparent PNG and SVG. For transparent WebP (Free) or AVIF (Pro) you need a plugin such as UIXport.
  • Check every transparent asset on a dark or checkered background before you hand it off, because on a white page a white background is invisible.

Short answer: To export a transparent background from Figma, make sure nothing in your selection paints a background, then pick a format that can store transparency. Hide the frame's fill (or untick Show in exports), or export the layer instead of its frame, and choose PNG or SVG. JPG can't store transparency, so transparent areas always come out solid, which is the white box you keep seeing.

You built a logo on a tidy frame, exported it, and the developer dropped it on the dark footer. Now there's a white rectangle around it. Nothing is wrong with the logo. Either the export brought the frame's background along, or the file format had nowhere to keep the see-through parts.

An alpha channel is the part of an image that records how see-through each pixel is. PNG has one. JPG does not.

Why does my Figma export have a background?#

When a transparent export isn't working, usually the thing you exported has a fill, or the format can't store transparency. Match what you see to a row below.

What you see in the file Likely cause Fix
A white or coloured box around the artwork The frame you exported has a fill Hide or delete the fill, or untick Show in exports
Artwork from behind your layer shows up Ignore overlapping layers is off Turn it back on
A white box only in the JPG version JPG has no alpha channel Export PNG, SVG, WebP or AVIF
A white fringe around a cut-out photo The placed image has white in its own pixels Replace the source image
A shadow cut off at the edge Clip content is on in the parent frame Give the frame room, or turn Clip content off

The settings are described in Figma's help on export formats and settings and frames.

Steps to export a transparent PNG from Figma#

You don't need a plugin to export a PNG without a background. Clear the fill, add a PNG export setting and preview it.

  1. Select the artwork. Click the logo, icon or group itself, not the frame it sits on. If you need the frame's size, select the frame instead.
  2. Clear the fill. If you export a frame, remove its background first, as shown below.
  3. Add an export setting. In the Export section toward the bottom of the right sidebar, click the plus icon, choose PNG and pick a scale such as 2x.
  4. Leave Ignore overlapping layers on. It's on by default and keeps whatever sits behind your layer out of the file.
  5. Preview, then export. With one object selected you can open Preview. Then click Export.

How do I remove the frame fill from an export?#

Hide the fill, delete it, or untick Show in exports. Pick by whether you still want to see the background while you design.

  • Delete or hide the fill. The frame turns see-through on the canvas too. Hiding it with the eye icon lets you bring it back in one click.
  • Untick Show in exports. Figma's help says this checkbox in the Fill section hides a frame's fill in the exported file. The fill stays on the canvas, which helps when it's a design reference, like the dark card you check a light logo against.

Nested frames each have their own fill. If a box survives, check every frame between the artwork and the one you export.

Should you export the layer or the frame?#

Export the layer or group for a file cropped tight to the artwork. Export a frame with no fill when you need a fixed canvas size with space around it.

Figma's best-practice guide explains why: "a group's bounds are determined by its child elements", while frame sizes are set independently of their children (Figma best practices). A logo group exports at exactly the logo's size. A 512 × 512 frame with a centred icon and no fill exports at 1x as a 512 × 512 PNG with transparent padding.

Ignore overlapping layers matters here too. Figma's help says that when it's on, "Figma only includes the selected layers in the export". When it's off, any layers that intersect your selection come along. If a background rectangle keeps appearing behind a layer you selected on its own, check this setting first.

Which formats keep a transparent background?#

PNG, SVG, WebP and AVIF can all keep transparency. JPG can't. Figma's own export offers PNG, JPG, SVG and PDF, so transparent WebP and AVIF need a plugin.

Format Transparency In Figma's own export Good for
PNG Full alpha (Figma exports 32-bit RGBA) Yes Logos, cut-outs, soft shadows
SVG Yes Yes Vector logos, icons, flat illustrations
WebP Yes No, needs a plugin Smaller web images
AVIF Yes No, needs a plugin Smaller web images, newer support
JPG No alpha channel Yes Photos and fully opaque images

Sources: Figma help and the MDN image file type guide.

PNG is the safe default. MDN calls it "the fallback for any image needing transparency". The cost is size, since Figma's help notes a PNG is much larger than the same export as a JPG. For vector logos and icons, SVG is often the better pick, as we explain in SVG vs PNG for icons and logos.

For raster images on the web, MDN suggests WebP or AVIF, which "generally provide better compression than PNG, JPEG, and GIF". As of October 2026, caniuse lists full support for displaying WebP images from Chrome 32, Edge 18, Firefox 65, Safari 16.0 on macOS and Safari 14 on iOS, and AVIF images from Chrome 85, Edge 121, Firefox 93, Safari 16.4 on macOS and Safari 16.0 on iOS. The trade-offs are in AVIF vs WebP vs PNG for UI design, and a pick per asset type is in the best image format for every website asset.

Why does JPG turn transparent areas white?#

A JPG has no alpha channel, so every pixel must be a solid colour. Whatever was transparent gets filled with a colour when the file is written, and when that colour is white, you get the white box. No quality setting changes that.

It matters most at the edges. The smooth edge of a logo is a ring of partly transparent pixels, and a soft shadow is made of nothing but them. In a PNG those pixels blend with whatever page sits behind them. In a JPG they were already blended with the fill colour, so a logo exported on white shows a pale outline on a dark section, even after you crop the box away.

JPG is still right for photos and anything fully opaque. If a JPG has to sit on a coloured section, give the frame a fill in that exact colour and export the frame, so the edges blend into the right colour.

How can you check that an export is really transparent?#

Look at it on something other than white. On a white page, a transparent PNG and a PNG with a white box look the same.

  • Check the file. Drag the export back into Figma and drop it on a frame with a dark fill, or the colour of the page it's going on. A box or a pale edge shows at once.
  • Check the layer before you export. Open UIXport's Asset finder tab, then select the layer on the canvas, which switches the scope to Selection. The Type filter starts on Images only, so add Frames (which includes groups and sections), Components or Instances to match your layer. Click Preview on the thumbnail and switch to Checker, since the preview opens on Dark or Light depending on the artwork. Checks around the artwork mean no background.

Steps to export transparent WebP and AVIF from Figma#

Figma can't export either format, so you need a plugin. In UIXport, WebP is on the Free plan and AVIF needs Pro, and both keep the alpha channel.

UIXport exports what Figma renders, so clear the background first.

  1. Select and open. Select the layer or fill-less frame and open UIXport. It starts on the Exporter tab, and your selection appears in the list, already checked.
  2. Set the format. The Export as card starts with one PDF row at 1x. Change it to WEBP, or AVIF with Pro, and pick a scale from 0.5x to 4x.
  3. Add a PNG fallback. Click Add format. The new row starts as PNG at 1x.
  4. Choose a quality. In Quality Level, drag the slider (5 to 100, default 90) or pick a preset such as High (80%). At low settings, zoom in on the edges afterwards.
  5. Export. Click Export Selected (N Formats). Two or more files arrive together in UIXport Export.zip.

WebP and PNG have no cap on the Free plan, and an AVIF row uses one of 10 free Pro runs a month. The browser's canvas encodes WebP and a bundled libavif encoder handles AVIF, all inside Figma, so nothing is uploaded. More on the WebP export and AVIF export pages.

Troubleshooting shadows, edges and masks#

Most leftover problems come from Clip content, the source image or the mask, not the format.

  • Shadow cut off. Clip content hides "any objects within the frame that extend beyond the frame's bounds" (Figma help), shadows included. Make the frame bigger or turn Clip content off.
  • Pale halo on dark backgrounds. In a JPG, the edges were blended with white, so export PNG, WebP or AVIF. In a PNG, look for a light stroke or edge in the artwork itself.
  • White fringe around a cut-out photo. If the placed image is a JPG, or was cut out on white, the white is in its pixels and no export setting removes it. Use a source with real transparency, or mask it.
  • Mask missing from the export. Select the mask group, which "includes the mask and any layers it is masking" (Figma help), not a single layer inside it.
  • Soft fade turned hard. A Vector mask uses shape outlines and ignores the translucency of the mask's fill. Switch to an Alpha mask, which follows opacity.

Next steps#

A fill-less selection and Figma's PNG export cover most transparent assets. For the same transparency in WebP or AVIF, install UIXport from Figma Community and export your logo as WebP and PNG in one run on the Free plan.

Questions

Why does my Figma PNG have a white background?

Usually because you exported a frame that has a fill. Hide or delete the fill, untick Show in exports in the Fill section, or select the layer inside the frame and export that instead.

Can Figma export a JPG with a transparent background?

No. JPG has no alpha channel, so every pixel is solid and transparent areas get filled with a colour when the file is written. Use PNG, SVG, WebP or AVIF when you need transparency.

How do I keep a frame's background in Figma but leave it out of the export?

Select the frame and untick Show in exports in its Fill section. The fill stays on the canvas but is left out of files from Figma's own Export panel. Through a plugin, hide or delete the fill instead and check the file.

Can Figma export a transparent WebP or AVIF?

Not on its own, because Figma's export formats are PNG, JPG, SVG and PDF. UIXport exports WebP with transparency on the Free plan and AVIF on Pro.

Does an SVG export keep the background transparent?

Yes, SVG supports transparency. A fill on the frame you export is still drawn, though, so hide it first if you don't want it.

Why is the shadow cut off in my export?

The layer probably sits in a frame with Clip content turned on, which hides anything that extends past the frame's edges. Give the frame more room or turn Clip content off.

Features in this post

Share this post

Share on XShare on LinkedIn

UIXport team

We build UIXport, the Figma plugin for exporting, compressing and delivering UI assets, at Sigma Studio.

About UIXport
  • webp6 min read

    How to export WebP from Figma, step by step

    Figma can't export WebP on its own. Here is how to export frames and layers to WebP with UIXport, with scale, quality, 2x copies, naming and fallbacks.

  • how to6 min read

    Fix Improve image delivery in Lighthouse

    How to fix Improve image delivery in Lighthouse. What the insight checks since Lighthouse 13, and which fixes belong in the design export or the code.

Try it in Figma

Install the plugin from Figma Community. Free includes unlimited core exports and 10 Pro runs a month; Pro adds motion export, print-ready PDFs, AVIF and more.