use svg as favicon react code example Example: use svg as favicon react <link rel="icon" type="image/svg+xml" href="/favicon.svg" sizes="any">