Template
App icon template
This app icon template is a 1024 by 1024 HTML or SVG file that renders your icon for the App Store, Google Play and Xcode from one source. The examples above are real icons from apps that use Open Assets.
It is a design as code, not a drag and drop editor: you or your agent change a gradient, a glyph or a corner radius in text, and the CLI renders every size.

Xcode app icon guide Tax Days icon on GitHub
One source, every icon size
The collection uses a 1024 by 1024 source. Add export entries for app-icon, play-icon at 512, and web sizes, and the CLI scales the same file. An xcode output writes AppIcon.appiconset with its Contents.json, so Xcode picks up the new icon on the next build.
App Store icons must be opaque and square; iOS applies the rounded mask. Paint a full bleed background in the template and let the collection borderRadius handle the preview corners only.
HTML or SVG
Use HTML when the icon needs CSS effects such as layered gradients, blur or text with a web font. Use SVG for flat, geometric icons; an SVG template rendered at its source size also gets an .svg copy beside the PNG, which is handy for a logo lockup on your website.
The Cat IQ logo above is an SVG template in the same project as its icon, which is why the logo lockup lives on this page rather than its own.
Test it small
An icon is judged at 60 pixels on a home screen. Render a 120 pixel export and look at it next to other apps before you commit. Bold shapes and two or three colors read best.
Agent prompt
Using Open Assets (npx open-assets), add an icon collection to assets.json with sourceSize 1024x1024, exports app-icon (1024), play-icon (512) and apple-touch-icon (180), and an xcode output pointing at my AppIcon.appiconset. Create assets/icon/icon.html with a full bleed brand gradient and one bold glyph that reads at 60 pixels. Render with npx open-assets render.assets.json collection
{
"id": "icon",
"label": "App icon",
"sourceSize": {
"width": 1024,
"height": 1024
},
"borderRadius": 224,
"templates": [
{
"src": "assets/icon/icon.html",
"name": "icon"
}
],
"export": [
{
"name": "app-icon",
"size": {
"width": 1024,
"height": 1024
}
},
{
"name": "play-icon",
"size": {
"width": 512,
"height": 512
}
},
{
"type": "xcode",
"path": "../ios/MyApp/Assets.xcassets/AppIcon.appiconset"
}
]
}Sizes it renders
| Platform | Size | Pixels | Name in assets.json | Copy |
|---|---|---|---|---|
| App Store | App icon | 1024 × 1024 | app-icon | |
| Play Store | App icon | 512 × 512 | play-icon | |
| Web | PWA icon (large) | 512 × 512 | pwa-512 | |
| Web | Apple touch icon | 180 × 180 | apple-touch-icon |
FAQ
Frequently asked questions
What size should an app icon be?
Design at 1024 by 1024 pixels. That is the App Store size, and Xcode generates the smaller sizes from it. Google Play wants a 512 by 512 PNG.
Should the icon have rounded corners?
No. Upload a square, opaque image. iOS and Android apply their own masks.
Can I make an app icon without design software?
Yes. The icon is HTML or SVG, so you can describe the change to a coding agent and render the result.
Does it support iOS dark and tinted icons?
Render extra templates for dark and tinted versions and add them to the asset catalog. The xcode output writes the standard single icon.