Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: drop. Pick another to preview it and update the animated code:

VS Code Icons · VscCompass

Compass icon

A free compass icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/compass.json
components/icons/vscode-codicons-compass.tsx
import * as React from "react";

/**
 * Compass from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/compass. Sized in em, colored by currentColor.
 */
export function VscCompassIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 16 16"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M6.47854 5.13086C5.61226 4.68207 4.68182 5.61251 5.13063 6.47879L6.11941 8.38733C6.45099 9.02734 6.97209 9.54937 7.61152 9.88209L9.53337 10.8821C10.4005 11.3334 11.3333 10.4005 10.882 9.53339L9.88189 7.61161C9.54916 6.97225 9.02715 6.4512 8.38717 6.11965L6.47854 5.13086ZM6.01854 6.01877L7.92717 7.00757C8.3843 7.24439 8.75716 7.61657 8.99483 8.07325L9.99496 9.99504L8.07311 8.995C7.61638 8.75735 7.24417 8.38447 7.00732 7.92731L6.01854 6.01877Z"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M1 8.00049C1 4.1345 4.13401 1.00049 8 1.00049C11.866 1.00049 15 4.1345 15 8.00049C15 11.8665 11.866 15.0005 8 15.0005C4.13401 15.0005 1 11.8665 1 8.00049ZM8 2.00049C4.68629 2.00049 2 4.68678 2 8.00049C2 11.3142 4.68629 14.0005 8 14.0005C11.3137 14.0005 14 11.3142 14 8.00049C14 4.68678 11.3137 2.00049 8 2.00049Z"
      />
    </svg>
  );
}
With react-icons
import { VscCompass } from "react-icons/vsc";

export function Example() {
  return <VscCompass className="size-5" />;
}
compass.svg
<svg
  viewBox="0 0 16 16"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M6.47854 5.13086C5.61226 4.68207 4.68182 5.61251 5.13063 6.47879L6.11941 8.38733C6.45099 9.02734 6.97209 9.54937 7.61152 9.88209L9.53337 10.8821C10.4005 11.3334 11.3333 10.4005 10.882 9.53339L9.88189 7.61161C9.54916 6.97225 9.02715 6.4512 8.38717 6.11965L6.47854 5.13086ZM6.01854 6.01877L7.92717 7.00757C8.3843 7.24439 8.75716 7.61657 8.99483 8.07325L9.99496 9.99504L8.07311 8.995C7.61638 8.75735 7.24417 8.38447 7.00732 7.92731L6.01854 6.01877Z"
  />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M1 8.00049C1 4.1345 4.13401 1.00049 8 1.00049C11.866 1.00049 15 4.1345 15 8.00049C15 11.8665 11.866 15.0005 8 15.0005C4.13401 15.0005 1 11.8665 1 8.00049ZM8 2.00049C4.68629 2.00049 2 4.68678 2 8.00049C2 11.3142 4.68629 14.0005 8 14.0005C11.3137 14.0005 14 11.3142 14 8.00049C14 4.68678 11.3137 2.00049 8 2.00049Z"
  />
</svg>
Attribution
"Compass" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons:

Compass icon in other sets