gentleface

Gentleface › Maps & places › compass

compass icon

Compass: explore, compass, discover, discovery. 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="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389ZM5.449 10.184C5.358 10.214 5.267 10.218 5.176 10.197C5.084 10.175 5.005 10.131 4.937 10.063C4.869 9.995 4.825 9.916 4.803 9.824C4.782 9.733 4.786 9.642 4.816 9.551L5.921 6.237C5.974 6.079 6.079 5.974 6.237 5.921L9.551 4.816C9.642 4.786 9.733 4.782 9.824 4.803C9.916 4.825 9.995 4.869 10.063 4.937C10.131 5.005 10.175 5.084 10.197 5.176C10.218 5.267 10.214 5.358 10.184 5.449L9.079 8.763C9.026 8.921 8.921 9.026 8.763 9.079L5.449 10.184Z"/></svg>
React
// Gentleface "compass" (line-round), MIT. https://gentleface.com/icons/compass
import type { SVGProps } from 'react';

export function CompassIcon(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="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389ZM5.449 10.184C5.358 10.214 5.267 10.218 5.176 10.197C5.084 10.175 5.005 10.131 4.937 10.063C4.869 9.995 4.825 9.916 4.803 9.824C4.782 9.733 4.786 9.642 4.816 9.551L5.921 6.237C5.974 6.079 6.079 5.974 6.237 5.921L9.551 4.816C9.642 4.786 9.733 4.782 9.824 4.803C9.916 4.825 9.995 4.869 10.063 4.937C10.131 5.005 10.175 5.084 10.197 5.176C10.218 5.267 10.214 5.358 10.184 5.449L9.079 8.763C9.026 8.921 8.921 9.026 8.763 9.079L5.449 10.184Z" />
    </svg>
  );
}
Vue
Vue: see /icons/compass.md
Svelte
Svelte: see /icons/compass.md
HTML img
HTML img: see /icons/compass.md
CSS
CSS: see /icons/compass.md
Data URL
Data URL: see /icons/compass.md
Sprite
Sprite: see /icons/compass.md
SwiftUI
SwiftUI: see /icons/compass.md
Compose
Compose: see /icons/compass.md
Android XML
Android XML: see /icons/compass.md
Flutter
Flutter: see /icons/compass.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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
explore, compass, discover, discovery
Alternatives
  • compass-north: reset the map bearing to north
  • navigation: turn-by-turn navigation
  • binoculars: lookout or sightseeing
Don’t confuse with
  • globe: web, internet or public, not explore
Also fits
  • binoculars: explore or discover
  • reset bearing: explore or discover
  • telescope: explore or discover
Not for
  • drafting compass (use drafting-compass): the navigation compass means explore (maps)
Tags
compass, explore, discover, navigation, direction
Category
Maps & places
Component name
CompassIcon
History
  • added

More maps & places icons

For agents

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

Feedback