Cart4 Icon

cart4 · Shopping Ecommerce · 5 styles

Filed under Shopping Ecommerce, the Cart4 icon is part of the Solar Icons Angular package. It is one of 27 glyphs in that category and one of 1,246 icons in the library overall, each drawn on the same 24x24 grid so Cart4 lines up optically with everything around it. The icon is addressed in templates by the string "cart4", and every style variant resolves from that single name.

Users read the shape as the shopping cart. That places Cart4 in the Shopping Ecommerce family, which covers carts, bags, tags and the purchase funnel and turns up in product cards, cart drawers, checkout steps and order history. Teams building online stores and marketplace front-ends reach for this set first. Use Cart4 where the label alone would be ambiguous — an icon-only button, a dense table row, a mobile tab bar — and keep an accessible name on the control, because the SVG itself is decorative.

Cart4 in 5 styles

Cart4 is drawn in 5 style variants: Bold, Bold Duotone, Outline, Broken and Line Duotone. Bold gives you solid filled shapes that hold their weight at 16px and read clearly against coloured backgrounds. Bold Duotone gives you a filled body with a second, lower-opacity layer that adds depth without a second colour token. Outline gives you a heavier contour that pairs with Bold as its unselected counterpart. A common pairing is Bold for the selected state and Line Duotone for the rest, so the active item reads without a colour change.

BoldCart4Bold
Bold DuotoneCart4BoldDuotone
OutlineCart4Outline
BrokenCart4Broken
Line DuotoneCart4LineDuotone

How to use the cart4 icon in Angular

Every export is an isolated constant, so the bundler drops whatever you never mention. Import Cart4Bold from the "@rchernando/solar-icons/shopping-ecommerce" entry point, hand it to provideSolarIcons in your application config or in a route-level providers array, and render it with the solar-icon component. All 5 exports for cart4 live in that same entry point, so switching style is a one-line change.

typescript
import { Cart4Bold, Cart4BoldDuotone, Cart4Outline, Cart4Broken, Cart4LineDuotone } from '@rchernando/solar-icons/shopping-ecommerce';
typescript
import { ApplicationConfig } from '@angular/core';
import { provideSolarIcons } from '@rchernando/solar-icons';
import { Cart4Bold } from '@rchernando/solar-icons/shopping-ecommerce';

export const appConfig: ApplicationConfig = {
  providers: [provideSolarIcons(Cart4Bold)]
};
html
<solar-icon name="cart4" iconStyle="bold" size="24px" />
<solar-icon name="cart4" iconStyle="bold-duotone" size="24px" />
<solar-icon name="cart4" iconStyle="outline" size="24px" />
<solar-icon name="cart4" iconStyle="broken" size="24px" />
<solar-icon name="cart4" iconStyle="line-duotone" size="24px" />

More Shopping Ecommerce icons

Icons drawn alongside it in Shopping Ecommerce include Shop2, Bag Heart, Bag2, Cart, Cart Large Minimalistic, Cart Plus, Cart5 and Bag. They share stroke weight and corner radius with Cart4, so mixing them in one toolbar stays consistent.

Browse all Shopping Ecommerce icons →

Icons related to Cart4

If Cart4 is not quite the shape you want, Cart Large2, Cart Large3, Cart Large4, Cart2 and Cart3 share part of its name and often work as substitutes.

Elsewhere in the library

Across the rest of the set, Cursor Square, Link Square, Rewind10seconds Back, Text Italic, Bone and File Corrupted cover neighbouring ideas; the name "cart4" is 5 characters long and splits into 2 tokens, which is how the explorer's search matches it.

Cart4 icon FAQ

How do I use the cart4 icon in Angular?
Import Cart4Bold from "@rchernando/solar-icons/shopping-ecommerce", register it with provideSolarIcons(Cart4Bold) and render <solar-icon name="cart4" iconStyle="bold" />. No HTTP request is made — the SVG is inlined at build time.
Which styles does Cart4 support?
5 of them: Bold, Bold Duotone, Outline, Broken and Line Duotone. Each is a separate export, so you only ship the ones you import.
Can I change the size and colour of cart4?
Yes. The size input accepts any CSS length and the SVG uses currentColor, so Cart4 inherits the text colour of its container — a Tailwind class such as text-violet-400 is enough.

One of 1,246 icons in the Solar Icons explorer. See also the installation guide and the styling reference.