Keep favicon SVG simple
Use compact shapes, high contrast, and a tight viewBox.
svg favicon
SVG favicons can stay sharp at many sizes, but they need simple markup, correct links, and fallback planning.
Use compact shapes, high contrast, and a tight viewBox.
Use a type-aware icon link and keep fallback ico behavior where needed.
Preview the icon at small dimensions before publishing.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="7" fill="#11151c"/><path d="M10 11l-4 5 4 5M22 11l4 5-4 5" fill="none" stroke="#fff" stroke-width="3"/></svg>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
Yes, modern browsers support SVG favicons, but fallback planning is still useful.
Simple shapes, strong contrast, and a clear viewBox help at small sizes.