ICONYZ
English
Prettier icon from Material Icon Theme

Prettier icon

material-icon-theme:prettier

The Prettier icon (material-icon-theme:prettier) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 24 × 24 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
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="#f44336" d="M2 8h4v1H2zm0 6h4v1H2zm9-10h3v1h-3zM2 2h3v1H2z"/><path fill="#f9a825" d="M9 2h3v1H9zm1 4h4v1h-4zm-5 6h1v1H5zm-3-2h6v1H2z"/><path fill="#26a69a" d="M2 12h3v1H2zm7-4h5v1H9zM2 4h4v1H2zm3-2h4v1H5z"/><path fill="#ba68c8" d="M2 6h3v1H2zm7-2h2v1H9zm-1 6h4v1H8z"/></svg>

How to use the Prettier icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:prettier"></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:prettier"></iconify-icon>

HTML image

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

Prettier icon in other icon sets

Prettier icon FAQ

Is the Prettier 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 Prettier icon in React?

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

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

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

Browse all Material Icon Theme icons →