ICONYZ
English
Hex icon from Material Icon Theme

Hex icon

material-icon-theme:hex

The Hex icon (material-icon-theme:hex) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 32 × 32 grid. Material Icon Theme 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
Material Icon Theme
Author
Material Extensions
License
MIT
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#26a69a" d="M4 8v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2m4 14V10h4v12Zm11.999-6L18 18.001L21 21l-3 3.001L19.999 26l3.003-3l3 2.999L28 24l-3-2.999l3-3L26.001 16l-3 3z"/></svg>

How to use the Hex icon

React

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

<Icon icon="material-icon-theme:hex" width="24" />

Vue

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

<template>
  <Icon icon="material-icon-theme:hex" width="24" />
</template>

Svelte

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

<Icon icon="material-icon-theme:hex" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--hex]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:hex"></div>

Web component

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

<iconify-icon icon="material-icon-theme:hex"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-icon-theme/hex.svg" alt="Hex icon" width="24" height="24">

Hex icon in other icon sets

Hex icon FAQ

Is the Hex icon free for commercial use?

Yes. Material Icon Theme icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Hex icon in React?

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

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

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

Browse all Material Icon Theme icons →