Piggy Bank
The piggy-bank icon represents a traditional savings container used to store coins or money.
Exports at 24 × 24 px
Code
Piggy Bank in your framework
In any framework. Customize it above, and the code follows.
export const PiggyBankIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 14 14" fill="none" stroke="currentColor" {...props}>
<g fill="none"><path stroke="#4147d5" strokeLinecap="round" strokeLinejoin="round" d="M1 2.315c.254.68.736 1.194 1.229 1.559"/><path fill="#d7e0ff" d="m10.556 2.165l-.21 1.26c.77.686 1.321 1.577 1.544 2.575h.36a1 1 0 0 1 1 1v2.382a1 1 0 0 1-.553.895l-1.578.788a1.75 1.75 0 0 1-3.401.812a6.05 6.05 0 0 1-2.887-.111l-.006.028a1.75 1.75 0 0 1-3.411-.785l.261-1.137a2 2 0 0 1 .102-.308A4.64 4.64 0 0 1 1 7c0-2.76 2.462-5 5.5-5q.518 0 1.009.084c.542-.71 1.346-.957 2.062-1.042c.614-.072 1.087.513.985 1.123"/><path stroke="#4147d5" strokeLinecap="round" strokeLinejoin="round" d="m10.556 2.165l-.21 1.26c.77.686 1.321 1.577 1.544 2.575h.36a1 1 0 0 1 1 1v2.382a1 1 0 0 1-.553.895l-1.578.788a1.75 1.75 0 0 1-3.401.812a6.05 6.05 0 0 1-2.887-.111l-.006.028a1.75 1.75 0 0 1-3.411-.785l.261-1.137a2 2 0 0 1 .102-.308A4.64 4.64 0 0 1 1 7c0-2.76 2.462-5 5.5-5q.518 0 1.009.084c.542-.71 1.346-.957 2.062-1.042c.614-.072 1.087.513.985 1.123M6.354 4.16H4.836M9.75 6.053V7"/></g>
</svg>
);Other libraries
Piggy Bank in 8 more libraries
Each library draws it its own way. Open one to compare.
Flex color icons
More like it
Icons that share its tags, in the same style.
Search Flex color icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Flex color icons icon from a prompt.
Get ProTags
Browse by tag
Piggy Bank is tagged UI, icon, finance and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Flex color icons MCP, with Pro
Ask for Piggy Bank or any of 1,000 Flex color icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Piggy Bank icon means and where it's used, then how to install, style, label and license it.
The piggy-bank icon represents a traditional savings container used to store coins or money. It is commonly used in digital applications to symbolize saving or finance.
The piggy-bank icon appears in various software and platforms, such as online banking platforms like PayPal, financial management tools like Mint, and e-commerce websites like Amazon.
From a UX perspective, the piggy-bank icon communicates the functionality of saving or managing money. It helps users understand that they can access financial tools or services within the application.
Piggy Bank is one of 1,000 icons in Flex color icons, made by Streamline and released under CC BY 4.0. It is drawn on a 14 × 14 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds PiggyBankIcon to components/icons/streamline-flex-color-piggy-bank.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed PiggyBankIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Piggy Bank icon, or any of 1,000 Flex color icons icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 14 × 14 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Piggy Bank", so screen readers say what it does.
Yes. PiggyBankIcon passes every SVG prop to the svg element, so <PiggyBankIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Piggy Bank. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are UI, icon, finance, multicolor, banking and savings. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Piggy Bank in another set.
4.9 out of 5 from 150+ developers
Install Piggy Bank from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro