Icons

Carbon Piggy Bank Icon

The Carbon Icons Piggy Bank icon uses a clean SVG vector format. Compare it against similar icons in 27 other libraries on IconStash, adjust stroke width, change colors with a hex picker, and export at any size.

Interactive Customizer

1.5px
128px

About this icon

Use the Piggy Bank icon

The Piggy Bank icon from Carbon Icons fits naturally in e-commerce checkout flows, shopping carts, payment UI, product listings, storefronts, and fintech apps. Its fill style makes it ideal for interface components and product UI.

Open it in IconStash to set stroke color via presets or a custom hex value, choose an exact pixel size (16–512px), control stroke width (0.1–3px), and preview against dark, light, or checkered backgrounds before downloading.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Piggy Bank icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Carbon is IBM's design system, and Piggy Bank reflects its enterprise-first constraints: flat geometry, no gradients, and shapes that survive being shrunk into dense data grids. It is a common choice for regulated, data-heavy products where clarity outranks personality.

UX best practices

In checkout flows, product listings and pricing tables, the Piggy Bank icon sits directly on a conversion path, so label it. Cart, payment and invoice actions need an aria-label even when a visible caption is present, because these controls are where ambiguous iconography measurably costs completed purchases.

Use in your project

React / npm — Carbon Icons

npm install @carbon/icons-react

import { PiggyBank } from '@carbon/icons-react';

// JSX usage:
<PiggyBank size={24} />

Copy the SVG markup directly from the IconStash editor to use the Piggy Bank icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="piggy-bank icon"><path fill="currentColor" d="M16.5 14H20v-2h-2v-1h-2v1.05a2.5 2.5 0 0 0 .5 4.95h1a.5.5 0 0 1 0 1H14v2h2v1h2v-1.05a2.5 2.5 0 0 0-.5-4.95h-1a.5.5 0 0 1 0-1"/><path fill="currentColor" d="M29 13h-2.02A5.78 5.78 0 0 0 25 8.852V5a1 1 0 0 0-1.6-.8L19.667 7H15c-5.51 0-9.463 3.241-9.948 8H5a1 1 0 0 1-1-1v-2H2v2a3.003 3.003 0 0 0 3 3h.07A9.17 9.17 0 0 0 9 23.557V27a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-2h3v2a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-3.363A5.1 5.1 0 0 0 26.819 20H29a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m-1 5h-2.876c-.305 2.753-.823 3.485-3.124 4.315V26h-2v-3h-7v3h-2v-3.622A7.01 7.01 0 0 1 7 16c0-4.835 4.018-7 8-7h5.334L23 7v2.776c2.418 1.86 1.913 3.186 2.018 5.224H28Z"/></svg>

Library & related icons

About Carbon Icons

IBM's open-source icon library aligned with the Carbon Design System. 2,600+ enterprise-grade icons maintained by IBM's design team.

  • Total icons: 2,644+
  • Style: outline
  • License: Apache 2.0
  • npm package: @carbon/icons-react
Browse all 2,644 Carbon Icons icons →

People also search for

Frequently asked questions

What is the Piggy Bank icon?

The Piggy Bank icon is a fill-style SVG icon from the Carbon Icons library, categorized under Commerce. It is designed for use in e-commerce checkout flows, shopping carts, payment UI, product listings, storefronts, and fintech apps. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Piggy Bank icon free to use?

Yes. Carbon Icons is licensed under Apache 2.0, making it free for personal and commercial use. This means you can freely use the Piggy Bank icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Piggy Bank icon in React?

Install the package with `npm install @carbon/icons-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Carbon Icons icon library?

IBM's open-source icon library aligned with the Carbon Design System. 2,600+ enterprise-grade icons maintained by IBM's design team. It contains 2,644+ icons. IconStash indexes the complete Carbon Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Piggy Bank icon as a PNG?

Yes. Open the Piggy Bank icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the fill icon style mean?

An icon in fill style uses a clean SVG vector format. This style is best suited for interface components. The Carbon Icons Piggy Bank icon follows this visual convention throughout the Carbon Icons design system.

Can I change the Piggy Bank icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.