ICONYZ
English
Compass icon from Bootstrap Icons

Compass icon

bi:compass

The Compass icon (bi:compass) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Bootstrap Icons
Author
The Bootstrap Authors
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M8 16.016a7.5 7.5 0 0 0 1.962-14.74A1 1 0 0 0 9 0H7a1 1 0 0 0-.962 1.276A7.5 7.5 0 0 0 8 16.016m6.5-7.5a6.5 6.5 0 1 1-13 0a6.5 6.5 0 0 1 13 0"/><path d="m6.94 7.44l4.95-2.83l-2.83 4.95l-4.949 2.83l2.828-4.95z"/></g></svg>

How to use the Compass icon

React

import { Icon } from "@iconify/react";

<Icon icon="bi:compass" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bi:compass" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bi:compass" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--compass]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:compass"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bi:compass"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bi/compass.svg" alt="Compass icon" width="24" height="24">

Related icons in Bootstrap Icons

Compass icon in other icon sets

Compass icon FAQ

Is the Compass icon free for commercial use?

Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Compass icon in React?

Install @iconify/react and render <Icon icon="bi:compass" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Compass icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.

Browse all Bootstrap Icons →