softicons.dev

piggy bank icon

Free piggy bank SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons commerce set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M16 9a5 5 0 0 0-9-2.5"/>
  <path d="M5 13a6 6 0 0 1 11.5-2.3"/>
  <path d="M5 13c0 2 1 3.5 2.5 4.5V19h2.5v-1.2h3V19H16v-2.5a3 3 0 0 0 1-2.2"/>
  <path d="M17 11.5h2a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1.2"/>
  <circle cx="8.5" cy="11.5" r="1"/>
  <line x1="3" y1="12" x2="5" y2="12"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/piggy-bank.svg"
     width="24" height="24" alt="piggy bank icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { PiggyBankIcon } from "@softicons/react";

export default function Example() {
  return <PiggyBankIcon size={24} strokeWidth={2} />;
}
<script setup>
import { PiggyBankIcon } from "@softicons/vue";
</script>

<template>
  <PiggyBankIcon :size="24" :stroke-width="2" />
</template>
import { PiggyBankIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [PiggyBankIconComponent],
  template: `<piggy-bank-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}