Piggy Bank icon
boxicons:piggy-bank
The Piggy Bank icon (boxicons:piggy-bank) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7h-1.4L18 5.4V3c0-.55-.45-1-1-1h-1c-1.44 0-2.75.78-3.45 2H9c-3.86 0-7 3.14-7 7c0 .25.02 6.28 2.11 10.45A1 1 0 0 0 5 22h4c.55 0 1-.45 1-1v-3h2v3c0 .55.45 1 1 1h4c.33 0 .65-.17.83-.45c1.54-2.31 2.08-5.11 2.27-6.55h.9c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1m-1 6h-.81c-.53 0-.97.42-1 .95c0 .04-.19 3.38-1.75 6.05h-2.45v-3c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v3H5.63c-1.61-3.73-1.64-8.95-1.64-9c0-2.76 2.24-5 5-5h4.18c.42 0 .8-.27.94-.67A1.99 1.99 0 0 1 15.98 4v1.81c0 .27.11.52.29.71l2.19 2.19c.19.19.44.29.71.29h.81v4Z"/><path fill="currentColor" d="M16 9a1 1 0 1 0 0 2a1 1 0 1 0 0-2M7 8h6v2H7z"/></svg>How to use the Piggy Bank icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:piggy-bank" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:piggy-bank" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:piggy-bank" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--piggy-bank]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:piggy-bank"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:piggy-bank"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/piggy-bank.svg" alt="Piggy Bank icon" width="24" height="24">Related icons in Boxicons
Piggy Bank icon in other icon sets
Piggy Bank icon FAQ
Is the Piggy Bank 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 Piggy Bank icon in React?
Install @iconify/react and render <Icon icon="boxicons:piggy-bank" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Piggy Bank icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/piggy-bank.svg" alt="Piggy Bank icon">, or paste the SVG code inline to style it with CSS.