The Phosphor shopping bag icon visually represents a bag used for carrying purchased goods, commonly employed in e-commerce interfaces to signify shopping carts or the act of buying.
Common uses
- Shopping cart indicator
- Link to user's order history
- Button for initiating checkout
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { ShoppingBag } from '@phosphor-icons/react';
<ShoppingBag size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<ShoppingBag size={24} />thin
<ShoppingBag size={24} weight="thin" />light
<ShoppingBag size={24} weight="light" />bold
<ShoppingBag size={24} weight="bold" />fill
<ShoppingBag size={24} weight="fill" />duotone
<ShoppingBag size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- commerce
- Keywords
- ecommercemarketbasketcartbuyingcheckoutplaceslocationscommercemaps & travelobjectsshoppingbagshopping cart
FAQ
- What is the shopping bag icon used for?
- It's typically used to represent a user's shopping cart, the process of purchasing items, or a link to order history in e-commerce applications.
- How do I use the shopping bag icon in React?
- You can import and use it like this: `import { ShoppingBag } from '@phosphor-icons/react'`. Then render it as a React component: `<ShoppingBag />`.
- What is the license for the Phosphor shopping bag icon?
- The Phosphor icon library, including the shopping bag icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.