ICONYZ
English
Piggy Bank icon from SmartIcons Glyph

Piggy Bank icon

si-glyph:piggy-bank

The Piggy Bank icon (si-glyph:piggy-bank) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 17 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
17 × 17
Tags
piggybank
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17"><path fill="currentColor" fill-rule="evenodd" d="M16.041 6.33c0-.528-1.832-.95-1.93-.939c-1.005-1.909-3.206-3.228-5.762-3.358c-2.038-.104-3.416.358-4.387 1a3.6 3.6 0 0 0-1.084.001c-.47.081-.809.258-1.18.581c-.213.185-.59.58-.231.787c.259.15.633-.108.909-.124c.079-.006.152.009.225.022c-.697.907-.963 1.739-1.264 1.739C.054 6.039.04 6.762.04 7.345v1.333c0 .381.481 1.286.67 1.5c1.041 1.181 1.635 2.057 3.36 2.633c.03.663.463 1.189.997 1.189c.418 0 1.179-1.039 2.225-1.039c2.5 0 3.369 1.039 3.797 1.039c1.119 0 .996-1.354.992-1.402c1.957-.939 2.614-2.757 2.614-4.879c0-.15-.013-.297-.025-.444c.777-.076 1.371-.466 1.371-.945M4 7a1 1 0 1 1 0-2a1 1 0 0 1 0 2m7.274-2.274c-.432-.386-1.113-.576-1.782-.763c-.67-.186-1.226-.341-1.801-.234c-.744.139-.986-.216-.392-.447c.685-.266 1.605-.4 2.509-.148c.86.238 1.538.791 1.978 1.33c.421.521.04.76-.512.262"/></svg>

How to use the Piggy Bank icon

React

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

<Icon icon="si-glyph:piggy-bank" width="24" />

Vue

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

<template>
  <Icon icon="si-glyph:piggy-bank" width="24" />
</template>

Svelte

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

<Icon icon="si-glyph:piggy-bank" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--piggy-bank]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:piggy-bank"></div>

Web component

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

<iconify-icon icon="si-glyph:piggy-bank"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si-glyph/piggy-bank.svg" alt="Piggy Bank icon" width="24" height="24">

Piggy Bank icon in other icon sets

Piggy Bank icon FAQ

Is the Piggy Bank icon free for commercial use?

Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Piggy Bank icon in React?

Install @iconify/react and render <Icon icon="si-glyph: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/si-glyph/piggy-bank.svg" alt="Piggy Bank icon">, or paste the SVG code inline to style it with CSS.

Browse all SmartIcons Glyph icons →