@cubealabs/favicon
v1.0.0
Published
π¨ Generate complete favicon sets from any logo with PWA support, all icon sizes, and framework integration
Maintainers
Readme
@cubealabs/favicon
π¨ Generate complete favicon sets from any logo with PWA support
Automatically detect your framework and generate all favicon sizes, PWA manifests, and integration code. Supports Next.js, React, Angular, Vue, Svelte, and more.
Features
- β All Icon Sizes: 16x16 to 512x512, ICO, Apple Touch, Android Chrome
- β PWA Support: Web manifest, maskable icons, theme colors
- β Framework Detection: Auto-detects Next.js, React, Vue, Angular, etc.
- β Dark Mode: Optional dark mode favicon variants
- β Safari Pinned Tab: Monochrome SVG generation
- β Windows Tiles: Microsoft browserconfig.xml
Installation
npm install @cubealabs/faviconUsage with Claude Code
This is a Claude Code skill. Install it and use with:
/faviconFollow the interactive prompts to generate your complete favicon set.
What Gets Generated
Generated Files:
βββ favicon.ico (16, 32, 48)
βββ favicon-16x16.png
βββ favicon-32x32.png
βββ apple-touch-icon.png (180x180)
βββ android-chrome-192x192.png
βββ android-chrome-512x512.png
βββ icon-512x512-maskable.png
βββ safari-pinned-tab.svg
βββ site.webmanifest
βββ browserconfig.xmlPlus framework-specific integration code for your HTML/JSX files.
Supported Frameworks
- Next.js (App & Pages Router)
- React (Vite, CRA)
- Angular
- Vue / Nuxt
- Svelte / SvelteKit
- Astro
- Gatsby
- Plain HTML
Examples
Input:
- Logo file:
public/logo.svg - Theme color:
#1A1A1A - Dark mode: Yes
Output:
- All favicon sizes generated
- PWA manifest with theme colors
- Framework-specific meta tags
- Dark mode variants
License
MIT Β© Cube A Labs
More Skills
Check out other Cube A Labs skills:
- @cubealabs/cube-ui - UI component generator
- @cubealabs/sitemap - SEO sitemap generator
