ICONYZ
English
Coins icon from Boxicons

Coins icon

boxicons:coins

The Coins icon (boxicons:coins) 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
Tags
coin
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 2C8.02 2 4 3.37 4 6v12c0 2.63 4.02 4 8 4s8-1.37 8-4V6c0-2.63-4.02-4-8-4m0 18c-3.72 0-6-1.29-6-2v-1.27c1.54.84 3.78 1.27 6 1.27s4.46-.43 6-1.27V18c0 .71-2.28 2-6 2m0-4c-3.72 0-6-1.29-6-2v-1.27c1.54.84 3.78 1.27 6 1.27s4.46-.43 6-1.27V14c0 .71-2.28 2-6 2m0-4c-3.72 0-6-1.29-6-2V8.73C7.54 9.57 9.78 10 12 10s4.46-.43 6-1.27V10c0 .71-2.28 2-6 2m0-4C8.28 8 6 6.71 6 6s2.28-2 6-2s6 1.29 6 2s-2.28 2-6 2"/></svg>

How to use the Coins icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Coins icon in other icon sets

Coins icon FAQ

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

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

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

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

Browse all Boxicons →