favicon-pwa
Set up favicon and PWA manifest for website projects. Creates favicon.ico, apple-touch-icon, and site.webmanifest. Use at project end before release. Triggers on "favicon", "PWA", "manifest", "app icon".
When & Why to Use This Skill
This Claude skill automates the essential final steps of web development by generating a complete favicon set and a PWA-compliant web manifest. It streamlines the creation of multi-size icons (ICO, PNG), configures brand-specific theme colors from CSS, and automatically updates Next.js layout metadata to ensure a professional, app-like user experience across all devices and browsers.
Use Cases
- Project Launch Preparation: Quickly generate all necessary favicons and manifest files to ensure a professional look before a website goes live.
- PWA Implementation: Simplify the process of making a website installable by creating a standard-compliant site.webmanifest with custom icons and theme colors.
- Automated Metadata Management: Automatically update Next.js app/layout.tsx with the correct metadata for icons and manifests, reducing manual coding errors.
- Brand Identity Integration: Ensure visual consistency by extracting brand colors from CSS to set the theme and background colors in the PWA manifest.
| name | favicon-pwa |
|---|---|
| description | Set up favicon and PWA manifest for website projects. Creates favicon.ico, apple-touch-icon, and site.webmanifest. Use at project end before release. Triggers on "favicon", "PWA", "manifest", "app icon". |
Favicon & PWA Setup
Create favicon set and PWA manifest for professional web presence.
Workflow
- Get brand colors from globals.css
- Create/request favicon source (512x512 PNG or SVG)
- Generate favicon variants
- Create site.webmanifest
- Add to app/layout.tsx
Required Files
Favicon Set
| File | Size | Location |
|---|---|---|
| favicon.ico | 16x16, 32x32, 48x48 | app/favicon.ico |
| apple-touch-icon.png | 180x180 | public/apple-touch-icon.png |
| icon-192.png | 192x192 | public/icon-192.png |
| icon-512.png | 512x512 | public/icon-512.png |
site.webmanifest
Create at public/site.webmanifest:
{
"name": "[Business Name]",
"short_name": "[Short Name]",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "[primary color from globals.css]",
"background_color": "[background color from globals.css]",
"display": "standalone",
"start_url": "/"
}
Layout Integration
Add to app/layout.tsx metadata:
export const metadata: Metadata = {
icons: {
icon: '/favicon.ico',
apple: '/apple-touch-icon.png',
},
manifest: '/site.webmanifest',
}
Checklist
- favicon.ico created (multi-size)
- apple-touch-icon.png created (180x180)
- icon-192.png and icon-512.png created
- site.webmanifest created with correct colors
- Layout metadata updated
- Favicon displays in browser tab