ICONYZ
English
Hexagon icon from Huge Icons

Hexagon icon

hugeicons:hexagon

The Hexagon icon (hugeicons:hexagon) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
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="none" stroke="currentColor" stroke-width="1.5" d="M7.843 3.802C9.872 2.601 10.886 2 12 2s2.128.6 4.157 1.802l.686.406c2.029 1.202 3.043 1.803 3.6 2.792c.557.99.557 2.19.557 4.594v.812c0 2.403 0 3.605-.557 4.594s-1.571 1.59-3.6 2.791l-.686.407C14.128 21.399 13.114 22 12 22s-2.128-.6-4.157-1.802l-.686-.407c-2.029-1.2-3.043-1.802-3.6-2.791C3 16.01 3 14.81 3 12.406v-.812C3 9.19 3 7.989 3.557 7s1.571-1.59 3.6-2.792z"/></svg>

How to use the Hexagon icon

React

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

<Icon icon="hugeicons:hexagon" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:hexagon" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:hexagon" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:hexagon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/hexagon.svg" alt="Hexagon icon" width="24" height="24">

Related icons in Huge Icons

Hexagon icon in other icon sets

Hexagon icon FAQ

Is the Hexagon icon free for commercial use?

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

How do I use the Hexagon icon in React?

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

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

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

Browse all Huge Icons →