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_welcomeoric_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 |
- Select the frames. Select the four illustration frames in Figma and open UIXport. They appear in the Exporter list, already checked.
- 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
@2xin Filename suffix and click Done. - Add iOS @3x. Click Add format, set PNG at 3x and give it the suffix
@3x. - 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.
- 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.
- Leave the naming pattern alone. Under Advanced settings, Naming Pattern is
{frame}by default. The suffixes do the rest. - 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:
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
doneEach 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.
@2xand@3xfor 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.