ICONYZ
English
Piggy Bank icon from Material Design Icons

Piggy Bank icon

mdi:piggy-bank

The Piggy Bank icon (mdi:piggy-bank) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Banking
Tags
banking, piggybank
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="m19.83 7.5l-2.27-2.27c.07-.42.18-.81.32-1.15A1.498 1.498 0 0 0 16.5 2c-1.64 0-3.09.79-4 2h-5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10v-2h2v2h5.5l1.68-5.59l2.82-.94V7.5zM13 9H8V7h5zm3 2c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1"/></svg>

How to use the Piggy Bank icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:piggy-bank"></iconify-icon>

HTML image

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

Related icons in Material Design Icons

Piggy Bank icon in other icon sets

Piggy Bank icon FAQ

Is the Piggy Bank icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 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="mdi: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/mdi/piggy-bank.svg" alt="Piggy Bank icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →