ICONYZ
English
Gavel icon from Boxicons

Gavel icon

boxicons:gavel

The Gavel icon (boxicons:gavel) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
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="currentColor" d="M2 20h13v2H2zM18.71 8.71a.996.996 0 0 0 0-1.41l-5-5a.996.996 0 0 0-1.41 0l-9.01 8.99a.996.996 0 0 0 0 1.41l5 5c.2.2.45.29.71.29s.51-.1.71-.29l3.79-3.79l6.79 6.79l1.41-1.41l-6.79-6.79l3.79-3.79Zm-7.21 4.38L7.91 9.5l2.59-2.59l3.59 3.59zM13 4.42l3.59 3.59L15.5 9.1l-3.59-3.59zM9 15.59L5.41 12l1.09-1.09l3.59 3.59z"/></svg>

How to use the Gavel icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Gavel icon in other icon sets

Gavel icon FAQ

Is the Gavel icon free for commercial use?

Yes. Boxicons are released under the MIT 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="boxicons: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/boxicons/gavel.svg" alt="Gavel icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →