Hack icon
material-icon-theme:hack
The Hack icon (material-icon-theme:hack) 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
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#607d8b" d="m14 9l-8 8V9l8-8zm12 12L16 31v-8l10-10z"/><path fill="#ffa000" d="m6 20l8-8v8"/><path fill="#607d8b" d="m6 30l8-8H6"/><path fill="#eceff1" d="m16 20l10-10H16"/></svg>How to use the Hack icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:hack" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:hack" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:hack" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--hack]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:hack"></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:hack"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/hack.svg" alt="Hack icon" width="24" height="24">Hack icon in other icon sets
Hack icon FAQ
Is the Hack 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 Hack icon in React?
Install @iconify/react and render <Icon icon="material-icon-theme:hack" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hack icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/hack.svg" alt="Hack icon">, or paste the SVG code inline to style it with CSS.