ICONYZ
English
Heptagon icon from Bootstrap Icons

Heptagon icon

bi:heptagon

The Heptagon icon (bi:heptagon) 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"><path fill="currentColor" d="M7.779.052a.5.5 0 0 1 .442 0l6.015 2.97a.5.5 0 0 1 .267.34l1.485 6.676a.5.5 0 0 1-.093.415l-4.162 5.354a.5.5 0 0 1-.395.193H4.662a.5.5 0 0 1-.395-.193L.105 10.453a.5.5 0 0 1-.093-.415l1.485-6.676a.5.5 0 0 1 .267-.34zM2.422 3.813l-1.383 6.212L4.907 15h6.186l3.868-4.975l-1.383-6.212L8 1.058z"/></svg>

How to use the Heptagon icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Bootstrap Icons

Heptagon icon in other icon sets

Heptagon icon FAQ

Is the Heptagon 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 Heptagon icon in React?

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

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

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

Browse all Bootstrap Icons →