Piggy Bank 20 icon
energy-icons:piggy-bank-20
The Piggy Bank 20 icon (energy-icons:piggy-bank-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 20 × 20
- Tags
- piggybank
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.333 10c0-2.561-2.314-4.5-5.333-4.5S4.667 7.439 4.667 10c0 1.85.764 3.196 1.879 4.014a.5.5 0 0 1 .204.403v1.75h1.083v-1.042a.5.5 0 0 1 .575-.494c.517.079 1.034.119 1.592.119s1.074-.04 1.59-.12a.502.502 0 0 1 .577.495v1.042h1.083v-1.75a.5.5 0 0 1 .204-.403c1.115-.818 1.879-2.165 1.879-4.014m1 0c0 2.043-.815 3.635-2.083 4.66v2.007a.5.5 0 0 1-.5.5h-2.083a.5.5 0 0 1-.5-.5v-.977a11.5 11.5 0 0 1-2.334 0v.977a.5.5 0 0 1-.5.5H6.25a.5.5 0 0 1-.5-.5V14.66C4.482 13.635 3.667 12.043 3.667 10c0-3.273 2.936-5.5 6.333-5.5s6.333 2.227 6.333 5.5"/><path fill="currentColor" d="M18 10.833a.92.92 0 0 1-.26.656a.92.92 0 0 1-.657.261h-1.367v-1H17v-1.5h-1.336v-1h1.419a.92.92 0 0 1 .656.26c.18.18.26.418.26.657zm-6.333-4.25a.5.5 0 0 1 0 1H8.333a.5.5 0 0 1 0-1zm.25 2.167a1 1 0 1 1 2 0a1 1 0 0 1-2 0"/></svg>How to use the Piggy Bank 20 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:piggy-bank-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:piggy-bank-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:piggy-bank-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--piggy-bank-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:piggy-bank-20"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:piggy-bank-20"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/piggy-bank-20.svg" alt="Piggy Bank 20 icon" width="24" height="24">Related icons in Energy Icons
Piggy Bank 20 icon FAQ
Is the Piggy Bank 20 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Piggy Bank 20 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:piggy-bank-20" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Piggy Bank 20 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/piggy-bank-20.svg" alt="Piggy Bank 20 icon">, or paste the SVG code inline to style it with CSS.