ICONYZ
English
Gavel icon from Material Design Icons

Gavel icon

mdi:gavel

The Gavel icon (mdi:gavel) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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 Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Tags
court hammer
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m2.3 20.28l9.6-9.6l-1.4-1.42l-.72.71a.996.996 0 0 1-1.41 0l-.71-.71a.996.996 0 0 1 0-1.41l5.66-5.66a.996.996 0 0 1 1.41 0l.71.71c.39.39.39 1.02 0 1.41l-.71.69l1.42 1.43a.996.996 0 0 1 1.41 0c.39.39.39 1.03 0 1.42l1.41 1.41l.71-.71c.39-.39 1.03-.39 1.42 0l.7.71c.39.39.39 1.03 0 1.42l-5.65 5.65c-.39.39-1.03.39-1.42 0l-.7-.7a.99.99 0 0 1 0-1.42l.7-.71l-1.41-1.41l-9.61 9.61a.996.996 0 0 1-1.41 0c-.39-.39-.39-1.03 0-1.42M20 19a2 2 0 0 1 2 2v1H12v-1a2 2 0 0 1 2-2z"/></svg>

How to use the Gavel icon

React

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

<Icon icon="mdi:gavel" width="24" />

Vue

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

<template>
  <Icon icon="mdi:gavel" width="24" />
</template>

Svelte

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

<Icon icon="mdi:gavel" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:gavel"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/gavel.svg" alt="Gavel icon" width="24" height="24">

Gavel icon in other icon sets

Gavel icon FAQ

Is the Gavel icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Gavel icon in React?

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

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

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

Browse all Material Design Icons →