Html icon
material-icon-theme:html
The Html icon (material-icon-theme:html) 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="#e65100" d="m4 4l2 22l10 2l10-2l2-22Zm19.72 7H11.28l.29 3h11.86l-.802 9.335L15.99 25l-6.635-1.646L8.93 19h3.02l.19 2l3.86.77l3.84-.77l.29-4H8.84L8 8h16Z"/></svg>How to use the Html icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:html" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:html" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:html" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--html]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:html"></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:html"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/html.svg" alt="Html icon" width="24" height="24">Html icon in other icon sets
Html icon FAQ
Is the Html 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 Html icon in React?
Install @iconify/react and render <Icon icon="material-icon-theme:html" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Html icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/html.svg" alt="Html icon">, or paste the SVG code inline to style it with CSS.