---
title: "Shopping bag animated icon"
description: "Shopping bag animated icon (Commerce & delivery). The bag is picked up. Light: the handle is pulled taut into a peak first, then the bag comes up after it, overshoots and hangs from the peak, swinging once before it settles at the lifted height. Strong: the bag sags as the handle is gathered, is yanked higher, and swings twice from the handle before it settles at the same height. The bag stays rigid; only the handle changes from slack to taut, as in v1."
canonical: https://generativeicons.com/icons/shopping-bag/
---

# Shopping bag animated icon

The bag is picked up. Light: the handle is pulled taut into a peak first, then the bag comes up after it, overshoots and hangs from the peak, swinging once before it settles at the lifted height. Strong: the bag sags as the handle is gathered, is yanked higher, and swings twice from the handle before it settles at the same height. The bag stays rigid; only the handle changes from slack to taut, as in v1.

- Id: `shopping-bag`
- Category: Commerce & delivery
- Search terms: tote, carrier bag, paper bag, shopper, purchase, buy, buy now, add to bag, my bag, retail bag, mall, fashion
- Two states: resting to lifted, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/shopping-bag.lottie (dotLottie, 5637 bytes, sha256 cb4fb35ae87fdf6166cea5cd62a58083272c1bc46bedf62d6b261493156e0c8b)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add shopping-bag
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/shopping-bag.mjs';

export function ShoppingBagIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/shopping-bag.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/shopping-bag/ · https://generativeicons.com/api/icons/shopping-bag
