ICONYZ
English
Coin icon from Boxicons

Coin icon

boxicons:coin

The Coin icon (boxicons:coin) 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="M12 5C7.03 5 2 6.55 2 9.5v5C2 17.45 7.03 19 12 19s10-1.55 10-4.5v-5C22 6.55 16.97 5 12 5m-8 9.5v-2.2c.58.34 1.25.62 2 .86v2.88c-1.31-.51-2-1.13-2-1.54m12-.85v2.97c-.87.18-1.87.31-3 .36v-3c1.03-.04 2.04-.16 3-.33m-5 .33v3c-1.13-.05-2.13-.18-3-.36v-2.97c.96.17 1.97.29 3 .33m7 2.07v-2.88c.75-.24 1.42-.52 2-.86v2.2c0 .42-.69 1.03-2 1.54m-6-4.04c-5.18 0-8-1.65-8-2.5s2.82-2.5 8-2.5s8 1.65 8 2.5s-2.82 2.5-8 2.5"/></svg>

How to use the Coin icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Coin icon in other icon sets

Coin icon FAQ

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

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

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

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

Browse all Boxicons →