gentleface

Gentleface › Layout & interface › favicon

favicon icon

Favicon: favicon, site icon. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.176 5.58C3.303 5.259 3.488 4.976 3.732 4.732C3.976 4.488 4.259 4.303 4.58 4.176C4.875 4.059 5.182 4 5.5 4L10.5 4C10.818 4 11.125 4.059 11.42 4.176C11.741 4.303 12.024 4.488 12.268 4.732C12.512 4.976 12.697 5.259 12.824 5.58C12.941 5.875 13 6.182 13 6.5L13 10.5C13 10.638 13.049 10.756 13.146 10.854C13.244 10.951 13.362 11 13.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L13.5 12C13.309 12 13.125 11.965 12.948 11.895C12.755 11.818 12.586 11.707 12.439 11.561C12.293 11.414 12.182 11.245 12.105 11.052C12.035 10.875 12 10.691 12 10.5L12 6.5C12 6.309 11.965 6.125 11.895 5.948C11.818 5.755 11.707 5.586 11.561 5.439C11.414 5.293 11.245 5.182 11.052 5.105C10.875 5.035 10.691 5 10.5 5L5.5 5C5.309 5 5.125 5.035 4.948 5.105C4.755 5.182 4.586 5.293 4.439 5.439C4.293 5.586 4.182 5.755 4.105 5.948C4.035 6.125 4 6.309 4 6.5L4 10.5C4 10.691 3.965 10.875 3.895 11.052C3.818 11.245 3.707 11.414 3.561 11.561C3.414 11.707 3.245 11.818 3.052 11.895C2.875 11.965 2.691 12 2.5 12L1.5 12C1.359 12 1.241 11.952 1.144 11.856C1.048 11.759 1 11.641 1 11.5C1 11.359 1.048 11.241 1.144 11.144C1.241 11.048 1.359 11 1.5 11L2.5 11C2.638 11 2.756 10.951 2.854 10.854C2.951 10.756 3 10.638 3 10.5L3 6.5C3 6.182 3.059 5.875 3.176 5.58ZM7.856 6.144C7.952 6.241 8 6.359 8 6.5L8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9L5.5 9C5.359 9 5.241 8.952 5.144 8.856C5.048 8.759 5 8.641 5 8.5L5 6.5C5 6.359 5.048 6.241 5.144 6.144C5.241 6.048 5.359 6 5.5 6L7.5 6C7.641 6 7.759 6.048 7.856 6.144ZM10.5 7C10.641 7 10.759 7.048 10.856 7.144C10.952 7.241 11 7.359 11 7.5C11 7.641 10.952 7.759 10.856 7.856C10.759 7.952 10.641 8 10.5 8L9.5 8C9.359 8 9.241 7.952 9.144 7.856C9.048 7.759 9 7.641 9 7.5C9 7.359 9.048 7.241 9.144 7.144C9.241 7.048 9.359 7 9.5 7L10.5 7Z"/></svg>
React
// Gentleface "favicon" (line-round), MIT. https://gentleface.com/icons/favicon
import type { SVGProps } from 'react';

export function FaviconIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.176 5.58C3.303 5.259 3.488 4.976 3.732 4.732C3.976 4.488 4.259 4.303 4.58 4.176C4.875 4.059 5.182 4 5.5 4L10.5 4C10.818 4 11.125 4.059 11.42 4.176C11.741 4.303 12.024 4.488 12.268 4.732C12.512 4.976 12.697 5.259 12.824 5.58C12.941 5.875 13 6.182 13 6.5L13 10.5C13 10.638 13.049 10.756 13.146 10.854C13.244 10.951 13.362 11 13.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L13.5 12C13.309 12 13.125 11.965 12.948 11.895C12.755 11.818 12.586 11.707 12.439 11.561C12.293 11.414 12.182 11.245 12.105 11.052C12.035 10.875 12 10.691 12 10.5L12 6.5C12 6.309 11.965 6.125 11.895 5.948C11.818 5.755 11.707 5.586 11.561 5.439C11.414 5.293 11.245 5.182 11.052 5.105C10.875 5.035 10.691 5 10.5 5L5.5 5C5.309 5 5.125 5.035 4.948 5.105C4.755 5.182 4.586 5.293 4.439 5.439C4.293 5.586 4.182 5.755 4.105 5.948C4.035 6.125 4 6.309 4 6.5L4 10.5C4 10.691 3.965 10.875 3.895 11.052C3.818 11.245 3.707 11.414 3.561 11.561C3.414 11.707 3.245 11.818 3.052 11.895C2.875 11.965 2.691 12 2.5 12L1.5 12C1.359 12 1.241 11.952 1.144 11.856C1.048 11.759 1 11.641 1 11.5C1 11.359 1.048 11.241 1.144 11.144C1.241 11.048 1.359 11 1.5 11L2.5 11C2.638 11 2.756 10.951 2.854 10.854C2.951 10.756 3 10.638 3 10.5L3 6.5C3 6.182 3.059 5.875 3.176 5.58ZM7.856 6.144C7.952 6.241 8 6.359 8 6.5L8 8.5C8 8.641 7.952 8.759 7.856 8.856C7.759 8.952 7.641 9 7.5 9L5.5 9C5.359 9 5.241 8.952 5.144 8.856C5.048 8.759 5 8.641 5 8.5L5 6.5C5 6.359 5.048 6.241 5.144 6.144C5.241 6.048 5.359 6 5.5 6L7.5 6C7.641 6 7.759 6.048 7.856 6.144ZM10.5 7C10.641 7 10.759 7.048 10.856 7.144C10.952 7.241 11 7.359 11 7.5C11 7.641 10.952 7.759 10.856 7.856C10.759 7.952 10.641 8 10.5 8L9.5 8C9.359 8 9.241 7.952 9.144 7.856C9.048 7.759 9 7.641 9 7.5C9 7.359 9.048 7.241 9.144 7.144C9.241 7.048 9.359 7 9.5 7L10.5 7Z" />
    </svg>
  );
}
Vue
Vue: see /icons/favicon.md
Svelte
Svelte: see /icons/favicon.md
HTML img
HTML img: see /icons/favicon.md
CSS
CSS: see /icons/favicon.md
Data URL
Data URL: see /icons/favicon.md
Sprite
Sprite: see /icons/favicon.md
SwiftUI
SwiftUI: see /icons/favicon.md
Compose
Compose: see /icons/favicon.md
Android XML
Android XML: see /icons/favicon.md
Flutter
Flutter: see /icons/favicon.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
favicon, site icon
Tags
favicon, site-icon, browser-tab, tab, website, web, page-icon, ico, site-settings
Category
Layout & interface
Component name
FaviconIcon
History
  • 20 px drawn, 24 px drawn, added

More layout & interface icons

For agents

Metadata: /icons/favicon.json · Markdown: /icons/favicon.md · SVG: https://gentleface.com/svg/{style}/16/favicon.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/favicon.png