# CartIcon

> For the complete documentation index, see [llms.txt](https://lucide-animated.com/llms.txt). Per-icon markdown is at `https://lucide-animated.com/icons/<name>.md`. An MCP server is available at `https://lucide-animated.com/mcp`.

> Animated cart icon for React — part of lucide-animated.

Source page: https://lucide-animated.com/icons/cart

## Install

```bash
npx shadcn@latest add "https://lucide-animated.com/r/cart.json"
```

## Usage

```tsx
import { CartIcon } from "@/components/icons/cart";

export function Demo() {
  return <CartIcon className="size-6" />;
}
```

The component animates on hover by default. All standard SVG props are forwarded.

## Keywords

- trolley
- cart
- basket
- e-commerce
- store
- purchase
- products
- items
- ingredients

## Similar icons

- [AlignHorizontalIcon](https://lucide-animated.com/icons/align-horizontal.md)
- [AlignVerticalIcon](https://lucide-animated.com/icons/align-vertical.md)
- [ReceiptIcon](https://lucide-animated.com/icons/receipt.md)
- [ReceiptTextIcon](https://lucide-animated.com/icons/receipt-text.md)
