Icon packs
What an icon pack is here, what it may contain, and how a theme asks for one.
An icon pack is a ZIP of images, published as its own listing with its own categories, licence and reviews. It is not a theme and does not carry pages or formulas.
Read the first section of the upload and community guidelines before
you build one. Icon packs are where nearly all rejections happen, and the reason is always
the same: the icons came from somewhere the uploader had no right to take them from.
The archive#
pack.json
icons/
chrome.svg
camera.png
…pack.json describes the pack and maps packages to files:
{
"formatVersion": 2,
"id": "my-pack",
"name": "My Pack",
"license": "CC-BY-4.0",
"icons": {
"com.android.chrome": "chrome.svg",
"com.android.camera2": "camera.png"
}
}| Field | Meaning |
|---|---|
formatVersion | The pack format. |
id | Stable identifier. A theme names this in its iconPack. |
name | Display name. |
license | SPDX identifier, matching the one on the listing. |
icons | Package name → file name inside icons/. The path may be written with or without the icons/ prefix. |
File names in the mapping are resolved inside icons/; nothing outside that folder is read. Several packages may point at the same file, so one icon for a family of apps costs one file. A package name must look like one (a.b, letters, digits and underscores), and a mapping that points at a file the archive does not contain is rejected rather than silently skipped.
Allowed extensions are .svg, .png, .jpg and .jpeg. The type is decided by the file's own contents, not by its extension, so an .svg that is really something else is refused.
Contents#
Icons may be vector (SVG) or raster. Vector is worth the effort: one file scales to every density, tints cleanly through iconColor, and is a fraction of the size.
SVGs are checked and re-written on the way in: scripts, external references and anything else that is active rather than descriptive are removed. An SVG that depends on those will not look right, which is the correct outcome: an icon should be a picture.
The size ceilings are on limits.
How a theme uses one#
A theme names a pack in its top-level iconPack, and individual elements can override it with iconPackId: "" follows the theme, "none" uses stock icons. A pack id the device does not have falls back to system icons silently, so a theme that names your pack still works for somebody who has not installed it.
Because of that, a theme that only looks right with one particular pack should say so in its description. It will not break without it; it will just look like a different theme.
Publishing one#
The same path as a theme: from the app, with categories, a licence, an attestation and screenshots. See publishing a theme and licensing. Repackaging somebody else's icons is the single most common reason an icon-pack listing comes down.
Documentation for launcher 0.1.0-alpha Android 12 and later last updated