ICONYZ
English
Octagon icon from coolicons

Octagon icon

ci:octagon

The Octagon icon (ci:octagon) is a free SVG icon from the coolicons set by Kryston Schwarze. It is drawn on a 24 × 24 grid. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
coolicons
Author
Kryston Schwarze
License
CC-BY-4.0
Size
24 × 24
Category
Shape
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.405 21H9.594c-.49 0-.734 0-.964-.056a2 2 0 0 1-.578-.239c-.202-.123-.374-.296-.72-.642L3.938 16.67c-.346-.346-.52-.519-.643-.72a2 2 0 0 1-.24-.579C3 15.14 3 14.895 3 14.405V9.594c0-.49 0-.734.055-.964q.075-.308.24-.578c.122-.2.293-.37.633-.71l.01-.01l3.394-3.394l.01-.01c.34-.34.51-.51.71-.633q.27-.165.578-.24C8.86 3 9.105 3 9.594 3h4.811c.49 0 .735 0 .965.055c.204.05.4.13.578.24c.202.124.375.297.72.643l3.395 3.394c.346.346.519.518.642.72q.165.27.24.578c.055.23.055.475.055.964v4.811m0 .001c0 .49 0 .734-.056.964a2 2 0 0 1-.239.578c-.123.202-.296.375-.642.72l-3.394 3.395c-.346.346-.519.519-.72.642q-.271.165-.579.24c-.23.055-.475.055-.964.055"/></svg>

How to use the Octagon icon

React

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

<Icon icon="ci:octagon" width="24" />

Vue

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

<template>
  <Icon icon="ci:octagon" width="24" />
</template>

Svelte

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

<Icon icon="ci:octagon" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ci:octagon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ci/octagon.svg" alt="Octagon icon" width="24" height="24">

Related icons in coolicons

Octagon icon in other icon sets

Octagon icon FAQ

Is the Octagon icon free for commercial use?

Yes. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Octagon icon in React?

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

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

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

Browse all coolicons →