Bag
The bag icon represents shopping functionality and e-commerce transactions in retail applications and online marketplaces.
Exports at 22 × 24 px
Code
Bag in your framework
In any framework. Customize it above, and the code follows.
export const BagIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 90 100" {...props}>
<path fill="#C0392C" d="M0 94a6 6 0 0 0 6 6h78a6 6 0 0 0 6-6V75H0zM69 0h11a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H69a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2M10 0h11a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2"/><path fill="#AC3327" d="M12 20h2V0h-2zm5-20v20h2V0zm54 20h2V0h-2zm5-20v20h2V0z"/><path fill="#E67E21" d="M51 5v5h5zm-12 5V5l-5 5z"/><path fill="#D35400" d="M44.938 4c2.681 0 4.841.752 6.039 1.879L51 5.5C51 3.017 48.527 1 44.938 1C41.35 1 39 3.017 39 5.5l.039.328C40.21 4.729 42.299 4 44.938 4"/><path fill="#F39C12" d="M20 10h50c11.046 0 20 8.955 20 20v45H0V30c0-11.044 8.954-20 20-20"/><path fill="#D35400" d="m54.561 31.939l-8.498-8.5a1.504 1.504 0 0 0-2.125 0l-8.498 8.5a1.5 1.5 0 0 0 0 2.123l8.498 8.498a1.5 1.5 0 0 0 2.125 0l8.498-8.498a1.503 1.503 0 0 0 0-2.123M44 34.5a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 3 0zm5 0a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 3 0z"/><path fill="#E67E21" d="M76 58a4 4 0 0 0-4-4H18a4 4 0 0 0-4 4v6h2v18a4 4 0 0 0 4 4h50a4 4 0 0 0 4-4V64h2z"/><path fill="#CF7120" d="M74 66v-2H16v2h8.312v3.625a2 2 0 0 0 3.662 1.111A2 2 0 0 1 27 71a2 2 0 0 1-2-2v-3z"/><path fill="#EBEDEE" d="M25 64v5a2 2 0 0 0 4 0v-5zm2 6a1 1 0 1 1 0-2a1 1 0 0 1 0 2"/><path fill="#F4A629" d="M70 10H20C8.954 10 0 18.956 0 30v3c0-11.045 8.954-20 20-20h50c11.046 0 20 8.955 20 20v-3c0-11.044-8.954-20-20-20"/><path fill="#D3D5D6" d="M25 64h4v2h-4z"/><path fill="#CF7120" d="M27 68a.99.99 0 0 0-.934.676l.247-.051c.552 0 1 .449 1 1c0 .115-.03.223-.065.326A.99.99 0 0 0 28 69c0-.551-.448-1-1-1"/><path fill="#BA651C" d="M24.312 64H25v2h-.688z"/><path fill="#AC3327" d="M84 97H6a6 6 0 0 1-6-6v3a6 6 0 0 0 6 6h78a6 6 0 0 0 6-6v-3a6 6 0 0 1-6 6M70 86H20a4 4 0 0 1-4-4v2a4 4 0 0 0 4 4h50a4 4 0 0 0 4-4v-2a4 4 0 0 1-4 4"/>
</svg>
);Other libraries
Bag in 8 more libraries
Each library draws it its own way. Open one to compare.
Flat UI Icons
More like it
Icons that share its tags, then the ones next to it in Flat UI Icons, in the same style.
Search Flat UI Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Flat UI Icons icon from a prompt.
Get ProTags
Browse by tag
Bag is tagged shopping, ecommerce, retail and 4 more. Related tags follow; each opens its icons from every library.
Pricing
Flat UI Icons MCP, with Pro
Ask for Bag or any of 100 Flat UI 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 Bag icon means and where it's used, then how to install, style, label and license it.
The bag icon represents shopping functionality and e-commerce transactions in retail applications and online marketplaces. Featuring a detailed shopping bag with handles and decorative elements, this symbol has become the standard indicator for shopping cart access, purchase initiation, and product collection across e-commerce platforms and retail websites.
In modern applications like Shopify stores or Amazon's marketplace, you'll see this icon enabling shopping cart access, purchase summary views, and checkout initiation. It appears in retail apps when adding items to cart, or in fashion e-commerce sites like ASOS and Zara when accessing saved items and managing product selections during the shopping journey.
From a commerce perspective, the shopping bag icon communicates more than just 'container for items' - it specifically indicates active shopping sessions, curated product collections, and the transactional nature of user interactions. This visual cue helps shoppers understand they're managing purchasable items with checkout intentions rather than browsing wishlists or saved preferences.
Bag is one of 100 icons in Flat UI Icons, made by Designmodo, Inc. and released under MIT. It is drawn on a 90 × 100 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 BagIcon to components/icons/flat-ui-bag.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 BagIcon 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 Bag icon, or any of 100 Flat UI 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 90 × 100 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="Bag", so screen readers say what it does.
Yes. BagIcon passes every SVG prop to the svg element, so <BagIcon 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. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Flat UI Icons, Designmodo, Inc. and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Bag. 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 shopping, ecommerce, retail, cart, checkout and purchase. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Bag in another set.
4.9 out of 5 from 150+ developers
Install Bag from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro