ICONYZ
English
Badge icon from BoxIcons v2

Badge icon

bx:badge

The Badge icon (bx:badge) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
BoxIcons v2
Author
Boxicons
License
MIT
Size
24 × 24
Tags
bx badge
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="M19.965 8.521Q20 8.26 20 8c0-2.378-2.143-4.288-4.521-3.964C14.786 2.802 13.466 2 12 2s-2.786.802-3.479 2.036C6.138 3.712 4 5.622 4 8q0 .26.035.521C2.802 9.214 2 10.535 2 12s.802 2.786 2.035 3.479A4 4 0 0 0 4 16c0 2.378 2.138 4.284 4.521 3.964C9.214 21.198 10.534 22 12 22s2.786-.802 3.479-2.036C17.857 20.284 20 18.378 20 16q0-.26-.035-.521C21.198 14.786 22 13.465 22 12s-.802-2.786-2.035-3.479m-1.442 5.403l-1.102.293l.434 1.053c.095.23.145.483.145.73c0 1.103-.897 2-2 2c-.247 0-.499-.05-.73-.145l-1.054-.434l-.293 1.102a1.99 1.99 0 0 1-3.846 0l-.293-1.102l-1.054.434A1.9 1.9 0 0 1 8 18c-1.103 0-2-.897-2-2c0-.247.05-.5.145-.73l.434-1.053l-1.102-.293a1.993 1.993 0 0 1 0-3.848l1.102-.293l-.434-1.053A1.9 1.9 0 0 1 6 8c0-1.103.897-2 2-2c.247 0 .499.05.73.145l1.054.434l.293-1.102a1.99 1.99 0 0 1 3.846 0l.293 1.102l1.054-.434C15.501 6.05 15.753 6 16 6c1.103 0 2 .897 2 2c0 .247-.05.5-.145.73l-.434 1.053l1.102.293a1.993 1.993 0 0 1 0 3.848"/></svg>

How to use the Badge icon

React

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

<Icon icon="bx:badge" width="24" />

Vue

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

<template>
  <Icon icon="bx:badge" width="24" />
</template>

Svelte

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

<Icon icon="bx:badge" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bx:badge"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bx/badge.svg" alt="Badge icon" width="24" height="24">

Related icons in BoxIcons v2

Badge icon in other icon sets

Badge icon FAQ

Is the Badge icon free for commercial use?

Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Badge icon in React?

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

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

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

Browse all BoxIcons v2 icons →