Export Figma assets for iOS and Android: scales and formats

How to export Figma assets for iOS and Android: density buckets, @2x and @3x, names for Xcode and Android Studio, app icon layers, and WebP or PNG per platform.

By UIXport team12 min read
On this page

Key takeaways

  • Draw at 1x in Figma. One pixel then stands for one iOS point or one Android dp, and every export scale multiplies from there.
  • Android density buckets map to Figma scales as mdpi 1x, hdpi 1.5x, xhdpi 2x, xxhdpi 3x and xxxhdpi 4x. iPhone apps need @2x and @3x.
  • Export simple icons as SVG. Apple recommends SVG or PDF for flat icons, and Android Studio's Vector Asset Studio turns an SVG into a VectorDrawable.
  • In UIXport, one format row per scale, each with its own Filename suffix, exports every density for both platforms in one run and one ZIP.
  • Use WebP for Android bitmaps (transparent WebP needs API level 18) and PNG for iOS bitmaps.
  • App icons start from square artwork without rounded corners: 1024 × 1024 px for iOS, 108 × 108 dp layers for Android and a 512 × 512 px PNG for Google Play.

Short answer: Draw at 1x in Figma, where one pixel stands for one iOS point or one Android dp, and export simple icons as SVG so each platform can use one vector file for every screen. For bitmaps, iPhone apps need @2x and @3x files (PNG for artwork, JPEG or HEIC for photos), and Android needs one file per density bucket, from 1x (mdpi) to 4x (xxxhdpi), where WebP is a good fit. In UIXport you can export all of those scales in one run, with one format row and one filename suffix per scale.

Say you are handing an onboarding flow to two developers. One builds the iOS app in Xcode, the other the Android app in Android Studio. They want the same artwork, cut two ways. The iOS developer expects [email protected] and [email protected]. The Android developer expects five files all called onboarding_welcome.webp, each in a different folder.

Neither of them wants Frame 427 (3).png.

If 1x, 2x and 3x are new to you, start with 1x, 2x, 3x: exporting Figma assets for high-density screens.

What does an app asset pipeline from Figma look like?#

Three kinds of artwork, three routes. Simple icons go out as vectors, detailed artwork goes out as bitmaps at several scales, and app icons follow each platform's own template.

Asset iOS (Xcode) Android (Android Studio)
Simple icons and flat artwork SVG or PDF in the asset catalog SVG, converted to a VectorDrawable in drawable/
Illustrations, photos, detailed artwork PNG at @2x and @3x (JPEG or HEIC for photos) WebP or PNG, one file per density in drawable-<density>/
App icon One 1024 × 1024 px image, or separate layers for Icon Composer Adaptive icon layers at 108 × 108 dp, plus a 512 × 512 px Google Play icon

Sources: Apple's Images and App icons guidelines, and Android's pixel density and adaptive icon docs, as of October 2026.

Which density buckets do iOS and Android use?#

iOS uses scale factors: Apple lists @2x and @3x for iPhone and @2x for iPad, so neither needs @1x files. Android uses density buckets from mdpi at 1x to xxxhdpi at 4x. In Figma, both are simply the scale you export at.

Android's baseline is mdpi, about 160 dpi, where one density-independent pixel (dp) is roughly one physical pixel. Every other bucket is a multiple of it.

Platform Bucket or scale Approx. density Figma and UIXport scale A 48-unit asset in pixels
Android mdpi 160 dpi 1x 48 × 48
Android hdpi 240 dpi 1.5x 72 × 72
Android xhdpi 320 dpi 2x 96 × 96
Android xxhdpi 480 dpi 3x 144 × 144
Android xxxhdpi 640 dpi 4x 192 × 192
iOS @2x 2 px per point 2x 96 × 96
iOS @3x 3 px per point 3x 144 × 144

Android also lists ldpi at 0.75x, which isn't among UIXport's scales (0.5x to 4x), while Figma's own export panel accepts a custom multiplier such as 0.75x (Figma help). What Android does when a density is missing is covered in the 1x, 2x, 3x guide.

Should you export vectors or bitmaps for app assets?#

Vectors, wherever the artwork allows. Apple and Android both point to vector formats for icons, and one SVG replaces seven bitmaps while staying sharp at any density.

On Android, a vector drawable is an XML file that describes shapes instead of pixels. It sits once in the plain drawable/ folder and serves every density. You rarely write it by hand: Vector Asset Studio in Android Studio imports an SVG and writes the XML. On iOS, Apple recommends PDF or SVG for flat icons, interface icons and other flat artwork that has to scale.

Vector Asset Studio reads only part of SVG. It doesn't support filter effects such as drop shadows and blurs, text, pattern fills, dashed paths or blend modes, and it takes centered strokes only. Android also recommends keeping vector drawables to 200 × 200 dp or smaller, because larger ones take longer to draw, and says images with a lot of detail, such as many launcher icons, work better as bitmaps.

In practice, line icons, glyphs and simple flat illustrations go out as SVG, and photos, grain, blur, shadows, heavy detail and large Android illustrations go out as bitmaps.

UIXport's SVG suits this route. Text is converted to outlines, which Vector Asset Studio needs, and Clean SVG Markup (Remove Figma properties) is on by default, running SVGO while keeping the viewBox. The scale setting is ignored for SVG, which is what you want for a vector. For the choice asset by asset, see SVG vs PNG for icons and logos.

How should you set up Figma frames for app export?#

One frame per asset, drawn at 1x, sized in whole numbers and named like the final file.

  • Draw at 1x. A 24 × 24 frame is a 24 pt icon on iOS and a 24 dp icon on Android. Apple suggests designing at the lowest resolution and keeping vector points on whole values, so they stay on the pixel grid at 2x and 3x.
  • Use even sizes. hdpi is 1.5x, so 25 dp becomes 37.5 px. Even sizes such as 24, 48 or 240 land on whole pixels.
  • Keep padding inside the frame. The frame is the export, so the space around the artwork travels with every file.
  • Keep backgrounds transparent unless the asset needs one. PNG and WebP keep transparency. UIXport's JPG flattens it onto white.
  • Name the frame as the resource. Lowercase letters, digits and underscores, such as onboarding_welcome or ic_arrow_back, work on both platforms.

Steps to export every density in one run#

Add one format row per scale and give each row its own suffix. This example sends four onboarding illustrations to both platforms.

Row Scale Format Filename suffix File for onboarding_welcome
iOS 2x PNG @2x [email protected]
iOS 3x PNG @3x [email protected]
Android mdpi 1x WEBP _mdpi onboarding_welcome_mdpi.webp
Android hdpi 1.5x WEBP _hdpi onboarding_welcome_hdpi.webp
Android xhdpi 2x WEBP _xhdpi onboarding_welcome_xhdpi.webp
Android xxhdpi 3x WEBP _xxhdpi onboarding_welcome_xxhdpi.webp
Android xxxhdpi 4x WEBP _xxxhdpi onboarding_welcome_xxxhdpi.webp
  1. Select the frames. Select the four illustration frames in Figma and open UIXport. They appear in the Exporter list, already checked.
  2. Turn the first row into iOS @2x. Under Export as, the first row starts as PDF at 1x. Change it to PNG at 2x, open the row menu (⋯), type @2x in Filename suffix and click Done.
  3. Add iOS @3x. Click Add format, set PNG at 3x and give it the suffix @3x.
  4. Add the five Android rows. Click Add format five more times and set each row to WEBP, with the scales and suffixes from the table.
  5. Set the WebP quality. The Quality Level card appears once a WebP row exists, starting at 90. Pick a preset such as High (80%) or drag the slider. It doesn't affect PNG.
  6. Leave the naming pattern alone. Under Advanced settings, Naming Pattern is {frame} by default. The suffixes do the rest.
  7. Name the ZIP and export. Under Archive settings, type a ZIP archive file name such as onboarding-assets, then click Export 4 Selected (7 Formats).

That gives one ZIP of 28 files. If the platforms belong to separate teams, export the iOS and Android rows in two runs instead, at the same count.

Figma does part of this natively. You can add as many export settings to a selection as you need, each with its own scale and suffix, and File > Export exports every layer that has settings in one go (Figma help). That covers PNG @2x and @3x. Its formats are PNG, JPG, SVG and PDF, though, so WebP needs a plugin. UIXport adds WebP and packs every file from one run into a single ZIP that you name. More on batch export in UIXport.

How should you name files for Xcode and Android Studio?#

For iOS, one base name with @2x and @3x on the end. For Android, the identical name in every density folder, because Android reads the resource name from the file name.

Xcode. An image set has wells for @1x, @2x and @3x by default, and a file whose name ends in @2x or @3x goes into the matching well when you import it (Apple).

Android Studio. A resource's name is its file name without the extension (Android), so onboarding_welcome.webp is the drawable onboarding_welcome in every folder. Vector Asset Studio only accepts lowercase letters, underscores and digits in a name, and the same rule is the safe choice for bitmaps.

UIXport has no per-density folder option, so the suffixes keep the five Android files apart inside the ZIP. A short script sorts them. Run it in the unzipped folder:

sh
for d in mdpi hdpi xhdpi xxhdpi xxxhdpi; do
  mkdir -p "res/drawable-$d"
  find . -maxdepth 1 -name "*_$d.webp" | while IFS= read -r f; do
    f=${f#./}
    mv "$f" "res/drawable-$d/${f%_"$d".webp}.webp"
  done
done

Each file moves into its bucket without the suffix, so onboarding_welcome_xhdpi.webp becomes res/drawable-xhdpi/onboarding_welcome.webp. The iOS files stay put.

Prefer no script? Export one density per run: one WEBP row, no suffix, and a ZIP named after its folder, such as drawable-xhdpi. Five runs, the same export count. Other tokens, such as {page} and {index}, are covered in the naming patterns guide.

Want the pipeline in code rather than in a designer's hands? An open-source CLI such as FigmaExport is the better fit. It reads the Figma API with a personal access token and writes icons and images straight into an Xcode asset catalog and Android drawable folders, VectorDrawable XML included. UIXport suits the hand-off from a selection.

What app icon files should you export from Figma?#

For iOS, one 1024 × 1024 px square, or its separate layers for Icon Composer. For Android, foreground and background layers at 108 × 108 dp, an optional monochrome layer, and a 512 × 512 px icon for Google Play.

iOS. Xcode can generate every icon size from one 1024 × 1024 px image, which is the default for new iOS apps (Apple). Dark and tinted variants are optional: the dark one needs a transparent background, the tinted one is grayscale, and the system generates any you skip. Apple's app icon guidelines describe a background layer plus one or more foreground layers, combined in Icon Composer. Apple prefers SVG or PDF for those layers, with text outlined, and PNG for mesh gradients and raster art.

Keep the artwork square and unmasked, with no drop shadows, highlights or blurs. The system rounds the corners and adds its own effects.

Android. An adaptive icon has a foreground layer, a background layer and, from Android 13, an optional monochrome layer for themed icons. Each layer is 108 × 108 dp. The outer 18 dp on every side is reserved for masking and visual effects, and only the inner 66 × 66 dp is guaranteed never to be clipped, so keep the logo within it (48 to 66 dp). Vector drawables are preferred and bitmaps are allowed.

As bitmaps, a 108 dp layer is 108 px at mdpi and 432 px at xxxhdpi, and launcher icons go in mipmap folders rather than drawable.

Google Play. The store icon is a 512 × 512 px, 32-bit PNG in sRGB, 1024 KB at most. Make it a full square with no shadow and no rounded corners, since Google Play adds both, and avoid transparency.

Icon Figma frame Export Where it goes
iOS app icon, flattened 1024 × 1024, square, no rounded corners PNG at 1x The AppIcon set in the asset catalog
iOS icon layers 1024 × 1024 per foreground layer, same position SVG, or PNG for raster art Icon Composer
Android adaptive layers 108 × 108 per layer, 66 × 66 safe zone SVG, or PNG at 1x to 4x Image Asset Studio or res/mipmap-anydpi-v26/ic_launcher.xml
Google Play icon 512 × 512, full square, opaque PNG at 1x The Play Store listing

Export each layer from its own full-size frame, such as ic_launcher_foreground and ic_launcher_background, so the positions line up when the developer stacks them.

Should you use WebP or PNG for app images?#

WebP for Android bitmaps, PNG for iOS bitmaps, with JPEG or HEIC for photos on iOS.

WebP is an image format with lossy and lossless modes and support for transparency. According to Android Studio's docs, lossy WebP works from Android 4.0 (API level 14), and lossless or transparent WebP from Android 4.3 (API level 18), as of October 2026.

Android Studio can also convert existing PNGs: right-click an image or folder and choose Convert to WebP. If the PNGs are already in the project, that is the better tool. Export WebP from Figma when the bitmaps don't exist yet and you want the whole set in one pass. More on WebP export.

For iOS, Apple recommends de-interlaced PNG for bitmap artwork, and an 8-bit palette for PNGs that don't need full 24-bit colour. UIXport's PNG is Figma's own PNG with no extra compression and no palette option, so run large PNGs through an optimizer if app size matters.

Checklist before you hand over app assets#

Run through this before the ZIP leaves your machine.

  • Icons are vectors. SVG with no effects, text outlined, nothing over 200 dp for Android.
  • Every scale is there. @2x and @3x for iOS, mdpi to xxxhdpi for Android, all from even 1x sizes.
  • Names match the platform. @2x and @3x for iOS, no suffix once Android files sit in their folders.
  • No JPG for see-through artwork. And no transparency in the Play icon.
  • Dimensions are right. Open one file per scale. A 48 dp asset at xxxhdpi is 192 px.
  • Someone has looked at it on a phone. Apple recommends testing images on a range of real devices.

If you want PNG @2x and @3x for iOS and WebP for every Android density from one selection, in one ZIP, try UIXport from Figma Community. PNG, WebP, SVG and every scale from 0.5x to 4x are on the Free plan.

Questions

What sizes do I export from Figma for Android drawables?

Export at 1x for mdpi, 1.5x for hdpi, 2x for xhdpi, 3x for xxhdpi and 4x for xxxhdpi. A 48 dp asset becomes 48, 72, 96, 144 and 192 pixels square, and each file goes in its own drawable folder under the same name.

Do iOS apps still need @1x images?

Not for iPhone. Apple's Human Interface Guidelines list @2x and @3x for iOS and @2x for iPadOS. @1x is still listed for macOS and tvOS.

Should Android icons be PNG or vector?

Vector for simple icons. Import the SVG with Vector Asset Studio in Android Studio to get one VectorDrawable for every density. Use bitmaps for artwork with a lot of detail and for anything larger than 200 × 200 dp.

Is WebP safe to use in an Android app?

Android supports lossy WebP from Android 4.0 (API level 14) and lossless or transparent WebP from Android 4.3 (API level 18), according to Android Studio's documentation. If your images have transparency, API level 18 is the number to check.

Can UIXport create Android density folders or VectorDrawable XML?

No. UIXport exports SVG, which Vector Asset Studio converts to XML, and it has no per-density folder option. Give each scale row a suffix such as _xhdpi, or export one density per run, then move the files into the drawable folders.

How many exports does a full iOS and Android set use on the Free plan?

None that count against a limit. PNG and WebP exports have no cap on the Free plan, so four illustrations with seven rows (28 files) export in one run. Only Pro features, such as the iOS and Android packs, use one of 10 free Pro runs a month.

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

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.