ICONYZ
English
Badge icon from Radix Icons

Badge icon

radix-icons:badge

The Badge icon (radix-icons:badge) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix 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
Radix Icons
Author
WorkOS
License
MIT
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M11.756 5.013a2.5 2.5 0 0 1 0 4.974L11.5 10h-8l-.256-.013a2.5 2.5 0 0 1 0-4.974L3.5 5h8zM3.5 6a1.5 1.5 0 1 0 0 3h8a1.5 1.5 0 0 0 0-3zm7 1a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1z"/></svg>

How to use the Badge icon

React

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

<Icon icon="radix-icons:badge" width="24" />

Vue

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

<template>
  <Icon icon="radix-icons:badge" width="24" />
</template>

Svelte

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

<Icon icon="radix-icons:badge" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="radix-icons:badge"></iconify-icon>

HTML image

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

Badge icon in other icon sets

Badge icon FAQ

Is the Badge icon free for commercial use?

Yes. Radix 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="radix-icons: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/radix-icons/badge.svg" alt="Badge icon">, or paste the SVG code inline to style it with CSS.

Browse all Radix Icons →