Generated package

Docusaurus favicon package. Ready to install.

Download the correct Docusaurus favicon package, place every file in the right location, and follow the exact installation steps for this stack.

Stack-specific filesExact snippet locationsCopy-ready guide
Documentation9 files

Docusaurus

For Docusaurus. Files in static/ become root files after build.

ZIP: favico-docusaurus-modern-package.zip

Folder: favico-docusaurus-modern-favicon/

  1. 1
    Download your favicon package.
    Download favico-docusaurus-modern-package.zip for Docusaurus.
  2. 2
    Extract this package in your project.
    Extract it in your project root. The package contains:
    Package structure
    favico-docusaurus-modern-favicon/
    ├── static/favicon.ico
    ├── static/favicon.svg
    ├── static/favicon-dark.svg
    ├── static/favicon-96x96.png
    ├── static/favicon-dark-96x96.png
    ├── static/apple-touch-icon.png
    ├── static/site.webmanifest
    ├── static/web-app-manifest-192x192.png
    └── static/web-app-manifest-512x512.png
  3. 3
    Copy the favicon files to the correct location.
    Copy the generated files to static/.
    Generated fileCopy toStatusPurpose
    favicon.icostatic/favicon.icoOptionalOptional classic browser fallback file. Keep it when useful, but do not link it by default in modern light/dark favicon snippets.
    favicon.svgstatic/favicon.svgRequiredLight-mode SVG favicon for modern browsers.
    favicon-dark.svgstatic/favicon-dark.svgOptionalDark-mode SVG favicon used with prefers-color-scheme: dark.
    favicon-96x96.pngstatic/favicon-96x96.pngRequiredLight-mode PNG fallback favicon.
    favicon-dark-96x96.pngstatic/favicon-dark-96x96.pngOptionalDark-mode PNG fallback favicon.
    apple-touch-icon.pngstatic/apple-touch-icon.pngRequirediPhone/iPad home screen icon.
    site.webmanifeststatic/site.webmanifestRequiredWeb app manifest containing app metadata and PWA icon references.
    web-app-manifest-192x192.pngstatic/web-app-manifest-192x192.pngRequired192×192 Android/PWA icon referenced by the web app manifest.
    web-app-manifest-512x512.pngstatic/web-app-manifest-512x512.pngRequired512×512 Android/PWA icon referenced by the web app manifest.
  4. 4
    Add the config snippet in docusaurus.config.ts or docusaurus.config.js inside headTags.
    docusaurus.config.ts or docusaurus.config.js inside headTags
    headTags: [
      { tagName: "meta", attributes: { name: "color-scheme", content: "light dark" } },
      { tagName: "link", attributes: { rel: "icon", type: "image/svg+xml", href: "/favicon.svg?v=10", media: "(prefers-color-scheme: light)" } },
      { tagName: "link", attributes: { rel: "icon", type: "image/svg+xml", href: "/favicon-dark.svg?v=10", media: "(prefers-color-scheme: dark)" } },
      { tagName: "link", attributes: { rel: "icon", type: "image/png", sizes: "96x96", href: "/favicon-96x96.png?v=10", media: "(prefers-color-scheme: light)" } },
      { tagName: "link", attributes: { rel: "icon", type: "image/png", sizes: "96x96", href: "/favicon-dark-96x96.png?v=10", media: "(prefers-color-scheme: dark)" } },
      { tagName: "link", attributes: { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png?v=10" } },
      { tagName: "link", attributes: { rel: "manifest", href: "/site.webmanifest?v=10" } },
    ],
  5. 5
    Why this setup works.
    • Docusaurus serves static/ from the root URL.
    • Head tags should be configured in docusaurus.config rather than pasted into generated HTML.
  6. Support Favico Studio

    Satisfied with the result?

    If Favico Studio helped you create your favicon faster, you can support the creator and help keep this tool free, fast, and available for everyone.

    Support the creator
  7. 6
    Start your app and verify the favicon URLs.
    Run command
    npm start
    Verify URLs
    http://localhost:3000/favicon.svg
    http://localhost:3000/site.webmanifest
  8. 7
    Common mistakes to avoid.

    Leaving default favicon config active

    Wrong: favicon: "img/favicon.ico"

    Correct: Use the Favico Studio headTags setup

    The default Docusaurus favicon option is not enough for full light/dark modern favicon support.

  9. 8
    Final checklist.
    Correct stack selected.
    Correct package downloaded and extracted.
    Files copied to the exact folder shown in this guide.
    Config snippet added only when this stack requires it.
    Head/favicon snippet added to the exact head location shown in this guide.
    No /public/ or /static/ URL is used unless the framework explicitly requires it.
    favicon.ico is kept as fallback only, not actively linked as the main favicon.
    favicon.svg loads directly.
    favicon-dark.svg loads directly.
    site.webmanifest loads directly.
    Manifest icon PNG files load directly.
    Browser cache cleared and Favico Studio checker passes.