Reference · generated from the build code

Every icon file
your platform
actually needs.

Favicon, PWA manifest, Tauri, Electron, Android and the macOS menu bar — one table per target, with the exact filenames and frame sizes. Nothing here is transcribed by hand: the page is generated from iconflow/build.py, so it says what the tool ships and fails the build when the two disagree.

IconFlow 0.10.1 · targets: web, pwa, tauri, electron, tray, android, emote, ios

Web favicon

The modern set is smaller than most guides claim. An SVG covers every current browser at every size; the .ico exists only for legacy fallback, and it is one file, not three.

iconflow ship --targets web
FileSizeWhy it exists
favicon.svgvectorPrimary in every current browser. Scales to any size, one file.
favicon.ico16 · 32 · 48 px framesLegacy fallback. One container, three frames — not three files.
apple-touch-icon.png180 × 180 pxiOS home screen. Flattened onto the background colour: iOS ignores alpha.
icon-192.png192 × 192 pxAndroid home screen and the PWA install prompt.
icon-512.png512 × 512 pxSplash screens and store listings.
icon-512-maskable.png512 × 512 pxAdaptive icon. Artwork inset 10% per side and flattened, so no platform mask can remove part of the mark.
site.webmanifestJSONDeclares the three PNGs, theme colour and display mode.
favicon-head.htmlHTMLThe paste-ready <head> block, generated with the assets.

The <head> block

IconFlow writes this next to the assets as favicon-head.html, so the markup and the files are produced together and cannot disagree:

<!-- Paste into <head>. SVG is primary; .ico is the legacy fallback. -->
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#0b0d12">

PWA manifest and maskable icons

An adaptive platform crops your icon to a shape it chooses. A square drawing that reaches the canvas edge loses its corners; one with transparency shows the mask through. Both problems are solved before export, by insetting the artwork and flattening it onto the background colour.

The generated site.webmanifest declares exactly three icons — the third carrying "purpose": "maskable":

{
  "name": "My App",
  "short_name": "My App",
  "icons": [
    {
      "src": "/icon-192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/icon-512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "/icon-512-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "theme_color": "#0b0d12",
  "background_color": "#ffffff",
  "display": "standalone",
  "start_url": "/",
  "scope": "/"
}

Safe zone. By default the maskable asset insets the artwork 10% on every side, leaving it at 80% of the canvas, then flattens it. Any platform mask — circle, squircle, rounded square — lands inside that margin. A mark that needs more room sets maskable_scale, or links its own maskable_svg; check, review and ship all audit the same composition on the configured background.

Windows pinned-site tiles optional

Only produced with --windows-tiles. The artwork is centred on each canvas rather than stretched, which is why the wide tile takes a smaller scale than the squares.

iconflow ship --targets web --windows-tiles
FileSizeWhy it exists
mstile-70x70.png70 × 70 pxSmall pinned-site tile.
mstile-144x144.png144 × 144 pxLegacy pinned-site tile.
mstile-150x150.png150 × 150 pxMedium tile.
mstile-310x310.png310 × 310 pxLarge tile.
mstile-310x150.png310 × 150 pxWide tile — the one rectangle in the set.
browserconfig.xmlXMLPoints at the tiles and sets the tile colour.

Tauri

Five PNGs plus the two desktop containers. The ICO frame order matches the Tauri CLI's own output, so the result drops into src-tauri/icons/ unchanged.

iconflow ship --targets tauri
FileSizeWhy it exists
icons/32x32.png32 × 32 pxPNG, written into src-tauri/icons/.
icons/64x64.png64 × 64 pxPNG, written into src-tauri/icons/.
icons/128x128.png128 × 128 pxPNG, written into src-tauri/icons/.
icons/128x128@2x.png256 × 256 pxRetina pair for the 128 pixel tile.
icons/icon.png512 × 512 pxThe Tauri source image.
icons/icon.ico32 · 16 · 24 · 48 · 64 · 256 px framesWindows. Frame order matches the Tauri CLI's own output.
icons/icon.icns16 · 32 · 64 · 128 · 256 · 512 · 1024 px framesmacOS bundle icon.

Electron

electron-builder reads one source image per platform. The optional corner radius is applied to the raster frames only — your SVG master keeps its own geometry.

iconflow ship --targets electron
FileSizeWhy it exists
build/icon.png1024 × 1024 pxLinux, and the electron-builder source image.
build/icon.ico32 · 16 · 24 · 48 · 64 · 256 px framesWindows installer and window icon.
build/icon.icns16 · 32 · 64 · 128 · 256 · 512 · 1024 px framesmacOS app bundle.

macOS menu bar and system tray

This is the target that fails most often, and it fails silently: a template image carries no colour at all. macOS reads its alpha channel and paints the shape itself, so a full-card app icon with an opaque background arrives as a solid black rectangle.

iconflow ship --targets tray
FileSizeWhy it exists
tray/tray.png32 × 32 pxColour tray icon at 2× density.
tray/tray@16.png16 × 16 pxColour tray icon at 1× density.
tray/trayTemplate.png16 × 16 pxmacOS template: pure black plus alpha. The system recolours it.
tray/trayTemplate@2x.png32 × 32 pxRetina template pair. Required, not optional.
tray/trayIcon.tsTypeScriptOptional inline data-URL module (--tray-ts).

Give the tray its own drawing. A menu bar mark needs real transparency around a sparse shape — usually a simplified version of the master, not the master itself. Pass it with --tray-svg. When you do not, IconFlow derives alpha from the mark's contrast, and if no semantic shape can be isolated it refuses the build rather than shipping a black square.

Android launcher icons

An adaptive icon is two 108dp layers the launcher masks to a shape it chooses: a circle, a squircle, a teardrop. It shows the central 72dp and promises only the central 66dp circle. IconFlow maps the maskable composition onto the layer so the 40% safe circle of icon-512-maskable.png lands exactly on that 66dp circle — at the default scale the artwork's canvas fills 61.1% of the layer, which is 66/108 — so one audit guards both. Each density renders the artwork natively. Copy android/res/ into app/src/main/res/; a Tauri project's is under src-tauri/gen/android/app/src/main/res/.

iconflow ship --targets android
FileSizeWhy it exists
android/res/mipmap-anydpi-v26/ic_launcher.xmlXMLThe adaptive icon: background colour, foreground and monochrome layers.
android/res/mipmap-anydpi-v26/ic_launcher_round.xmlXMLThe same adaptive icon for roundIcon.
android/res/values/ic_launcher_background.xmlXMLThe background layer as a colour resource, from background_color.
android/res/mipmap-mdpi/ic_launcher.png48 × 48 pxLegacy launcher icon (before Android 8), 1×. Rounded-square keyline.
android/res/mipmap-mdpi/ic_launcher_foreground.png108 × 108 pxAdaptive foreground layer, 1×. The maskable composition on a 108dp layer.
android/res/mipmap-mdpi/ic_launcher_monochrome.png108 × 108 pxThemed-icon layer (Android 13+), 1×. Alpha only; the launcher tints it.
android/res/mipmap-mdpi/ic_launcher_round.png48 × 48 pxLegacy round launcher icon, 1×.
android/res/mipmap-hdpi/ic_launcher.png72 × 72 pxLegacy launcher icon (before Android 8), 1.5×. Rounded-square keyline.
android/res/mipmap-hdpi/ic_launcher_foreground.png162 × 162 pxAdaptive foreground layer, 1.5×. The maskable composition on a 108dp layer.
android/res/mipmap-hdpi/ic_launcher_monochrome.png162 × 162 pxThemed-icon layer (Android 13+), 1.5×. Alpha only; the launcher tints it.
android/res/mipmap-hdpi/ic_launcher_round.png72 × 72 pxLegacy round launcher icon, 1.5×.
android/res/mipmap-xhdpi/ic_launcher.png96 × 96 pxLegacy launcher icon (before Android 8), 2×. Rounded-square keyline.
android/res/mipmap-xhdpi/ic_launcher_foreground.png216 × 216 pxAdaptive foreground layer, 2×. The maskable composition on a 108dp layer.
android/res/mipmap-xhdpi/ic_launcher_monochrome.png216 × 216 pxThemed-icon layer (Android 13+), 2×. Alpha only; the launcher tints it.
android/res/mipmap-xhdpi/ic_launcher_round.png96 × 96 pxLegacy round launcher icon, 2×.
android/res/mipmap-xxhdpi/ic_launcher.png144 × 144 pxLegacy launcher icon (before Android 8), 3×. Rounded-square keyline.
android/res/mipmap-xxhdpi/ic_launcher_foreground.png324 × 324 pxAdaptive foreground layer, 3×. The maskable composition on a 108dp layer.
android/res/mipmap-xxhdpi/ic_launcher_monochrome.png324 × 324 pxThemed-icon layer (Android 13+), 3×. Alpha only; the launcher tints it.
android/res/mipmap-xxhdpi/ic_launcher_round.png144 × 144 pxLegacy round launcher icon, 3×.
android/res/mipmap-xxxhdpi/ic_launcher.png192 × 192 pxLegacy launcher icon (before Android 8), 4×. Rounded-square keyline.
android/res/mipmap-xxxhdpi/ic_launcher_foreground.png432 × 432 pxAdaptive foreground layer, 4×. The maskable composition on a 108dp layer.
android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png432 × 432 pxThemed-icon layer (Android 13+), 4×. Alpha only; the launcher tints it.
android/res/mipmap-xxxhdpi/ic_launcher_round.png192 × 192 pxLegacy round launcher icon, 4×.
android/play-store-512.png512 × 512 pxGoogle Play listing icon: the launcher's visible 72dp, full square. Play applies its own mask.

Let the crop have its own composition. A square full-bleed mark does not have to round its corners to survive a circle: set maskable_scale in iconflow.toml, or link a maskable_svg drawn for the crop. The linked source is audited against the master, so it can change scale and padding but not become a different mark. The themed layer is the alpha of monochrome_svg (else tray_svg); without one, the build derives it the way the macOS template is derived, and fails rather than ship a featureless disc. all does not include android: ask for it by name.

iOS and iPadOS app icons

Xcode builds every iOS size from one 1024 pixel image per appearance. iOS 18 and later add two appearances to the light icon: dark, which Apple asks for on a transparent background so the system's dark ground shows through, and tinted, a grayscale image the system colours. Both are optional; without them iOS derives its own. IconFlow derives them from the master's semantic layers — the card marked id="iconflow-background" is stretched to full bleed for the light icon and removed for the dark one — or from a linked ios_dark_svg, and otherwise leaves them to iOS rather than invent one. Xcode's asset compiler checks none of these encodings, so IconFlow does, and refuses a dark mark that disappears on the dark home screen.

iconflow ship --targets ios
FileSizeWhy it exists
ios/AppIcon.appiconset/Contents.jsonJSONThe asset-catalog entry: one 1024 image per appearance, written for the appearances this build ships.
ios/AppIcon.appiconset/icon-1024.png1024 × 1024 pxLight (Any). Opaque RGB, full bleed: iOS masks the square itself.
ios/AppIcon.appiconset/icon-1024-dark.png1024 × 1024 pxDark. The mark on a transparent background, so the system's dark ground shows through.
ios/AppIcon.appiconset/icon-1024-tinted.png1024 × 1024 pxTinted. Opaque grayscale; iOS colours it by luminance.
ios/icon-composer/mark.svgvectorThe transparent full-canvas foreground layer Icon Composer imports (Xcode 26+).
ios/README.mdMarkdownInstall notes for Xcode, Expo, Capacitor, Flutter and Icon Composer, for exactly these files.

Ask for ios by name. all builds the app-icon targets of 0.6. A light-only build writes the light icon and its catalog entry, and the dark, tinted and Icon Composer files are absent. mark.svg is a starting point for Icon Composer, not a finished .icon document: glass and translucency are decided there.

Chat emotes

An emote is judged smaller than its upload and on two backgrounds at once: Twitch draws it at 28 pixels, Discord and Slack at roughly 22 to 32, on white and on dark chat alike. Each size below is rendered natively from the SVG, not scaled down from the largest, and a file over its platform's upload limit fails the build instead of the upload form. all builds the app-icon targets; ask for emote by name.

iconflow build master.svg --targets emote
FileSizeWhy it exists
emote/28.png28 × 28 pxTwitch, as shown in chat. Uploaded with 56 and 112; at most 25 KB.
emote/56.png56 × 56 pxTwitch, 2× density. At most 25 KB.
emote/112.png112 × 112 pxTwitch, 4× density and the size Twitch reviews. At most 25 KB.
emote/128.png128 × 128 pxDiscord and Slack custom emoji. At most 128 KB (Slack's limit; Discord allows 256 KB).

Why 16 pixels decides everything

Every size in the tables above is rendered from the same SVG, but only one of them is where icons actually fail. At 16 pixels a counter closes, a hairline vanishes, and two adjacent colours average into one. A design reviewed at 1024 pixels and exported downward can be unreadable in the browser tab it was made for — and the export step will not tell you.

IconFlow inverts the order. It renders native pixels through a pinned Chromium at every target size, shows you the result at 1:1, and ship fails closed unless automated checks are clean and all six human rubric scores are at least 4 out of 5.

Questions people ask

How many favicon files does a website actually need in 2026?

Six, plus a manifest. An SVG favicon for current browsers, a legacy favicon.ico holding the 16, 32 and 48 pixel frames, a 180 pixel apple-touch-icon.png, and 192, 512 and maskable 512 pixel PNGs declared in the web app manifest. Sets larger than this are almost always carrying files no current platform requests.

What sizes go inside favicon.ico?

16, 32 and 48 pixels. ICO is a container format, so those three frames live inside one file — you do not ship favicon-16.png and favicon-32.png alongside it.

What is the maskable icon safe zone?

Android and other adaptive-icon platforms crop your icon to a shape they choose, so anything near the edge can be cut. IconFlow insets the artwork 10% on each side — leaving it at 80% of the canvas — and flattens the result onto the background colour, so no mask can remove a meaningful part of the mark or reveal transparency.

What does an Android launcher icon need?

Since Android 8 a launcher icon is two 108dp layers — a background and a foreground — that the launcher masks to its own shape, showing the central 72dp and guaranteeing only the central 66dp circle. Android 13 adds a monochrome layer for themed icons. Older launchers still read a 48dp bitmap in each of five densities. IconFlow writes all of it from one SVG, with the background as a colour resource and the foreground composed so its safe circle lands exactly on the 66dp circle.

Why is my macOS menu bar icon a black square?

A macOS template image carries no colour: the system reads only its alpha channel and paints the shape itself. Handing it a full-card app icon whose background is opaque therefore produces a solid black rectangle. The fix is a separate tray drawing with real transparency around a sparse mark. IconFlow detects the failure instead of shipping it: when a source covers too much of the canvas it derives alpha from the mark's own contrast, and refuses the build outright if no semantic shape can be isolated.

What icon sizes does Tauri need?

Five PNGs — 32, 64, 128, 256 (as 128x128@2x.png) and 512 — plus icon.ico for Windows and icon.icns for macOS. IconFlow writes the ICO frames in the same order the Tauri CLI does, so the output is a drop-in replacement.

What icon sizes does Electron need?

A 1024 pixel PNG for Linux and as the electron-builder source, an ICO for Windows and an ICNS for macOS. The container frames are the same desktop set used everywhere else: 16, 24, 32, 48, 64, 128, 256, 512 and 1024 pixels, selected per format.

Can I just resize a 1024 pixel PNG down to 16 pixels?

You can, and that is exactly where most icons fail. At 16 pixels a counter closes, a hairline disappears and two colours average into one. Downscaling produces the file but tells you nothing about whether the result is still readable. IconFlow renders every size from the SVG through a pinned Chromium and shows you the native pixels before anything ships.

Does IconFlow upload my artwork or call an image model?

No. There is no image model and no API key. You author the SVG, a pinned local Chromium renders it exactly as a browser would, and every file is written on your machine. The only network step is the one-time Chromium download.

Who owns the icons made with IconFlow?

You do. No attribution is required, there is no share-alike obligation on your output, and commercial use is unrestricted. Run iconflow license for the full answer.

One master. Every surface.

Stop exporting.
Start proving.

Everything on this page is one command away, and the first run is a genuine gated ship rather than a render.

pip install iconflow
iconflow setup
iconflow demo --out iconflow-demo