PWA Icons and Web Manifest
A complete guide to PWA icon setup with manifest entries, favicon alignment, and cross-device validation.
PWA installation quality depends heavily on icon configuration. If manifest icons are missing or malformed, install prompts can degrade or fail to display clean branding.
This guide covers a production-friendly setup for most modern web apps.
Manifest essentials
A minimal manifest should include valid icon entries:
{
"name": "All SVG Icons",
"short_name": "SVG Icons",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#0f172a",
"icons": [
{
"src": "/favicon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
Keep favicon and manifest aligned
Developers sometimes treat favicon files and manifest files as separate tracks. They should be one system:
- tab/browser identity via favicon files
- install identity via manifest icons
Use one source mark and consistent style choices to avoid brand drift.
Recommended asset set
favicon.icofavicon.svgfavicon-16x16.pngfavicon-32x32.pngapple-touch-icon.pngfavicon-192x192.pngfavicon-512x512.pngsite.webmanifest
Implementation workflow
- Generate files with Favicon Generator
- Add
<link rel="manifest" href="/site.webmanifest"> - Add icon links in page head
- Validate manifest in browser devtools
- Re-test install prompt after deploy
Common manifest mistakes
- Wrong
sizesfield - Non-square source images
- Missing high-resolution icon
- Icon file paths that return 404
- Stale cached manifest after file updates
Check network responses first (status code + content-type), then validate manifest JSON structure, then re-test install behavior.
Related guides
Practical FAQ
Final checklist
- Manifest URL is reachable
- Icon file paths return 200
- MIME types are correct
- Theme and background colors are set
- Install prompt shows expected icon
Final recommendation
Think of manifest icons and favicon assets as one deployable package. When they are generated, versioned, and validated together, install and browser identity stay consistent.
Post-deploy maintenance
Whenever brand colors or icons change, update manifest icons and favicon assets together, then verify install prompts on at least one Android and one desktop browser path.
Final note
If manifest and favicon assets are versioned together, install and browser identity quality stays stable release after release.
Additional source references: 1 2 3.