---
title: "Basket animated icon"
description: "Basket animated icon (Commerce & delivery). Light lowers the basket strap. Strong sweeps it sideways between fixed attachments, rebounds once and settles with its opening clear."
canonical: https://generativeicons.com/icons/basket/
---

# Basket animated icon

Light lowers the basket strap. Strong sweeps it sideways between fixed attachments, rebounds once and settles with its opening clear.

- Id: `basket`
- Category: Commerce & delivery
- Search terms: shopping basket, grocery, groceries, grocery basket, supermarket, add to basket, my basket, hamper, food shopping, grocery store
- Two states: upright to lowered, 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/basket.lottie (dotLottie, 9128 bytes, sha256 4cacff76dae0a93f4c34b290291983c8f232ca469e725d38d3cc2dbdbcd38c64)
- License: MIT

## Install

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

## React

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

export function BasketIcon() {
  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/basket.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/basket/ · https://generativeicons.com/api/icons/basket
