---
title: "Backpack animated icon"
description: "Backpack animated icon (Travel). The pack is zipped shut, ready to go. Light: the zip across the flap runs open to the left, then closes back across to the right with a hit, and the pull tugs the pack after it, leaning left then right; the zipped pack hops once and lands with a small bounce. Strong: the zip opens, pauses, and snaps shut harder; the pack hops higher and lands with two decaying bounces while the fabric grab loop lags: it stretches at the top of the hop, squashes on landing and springs back. The pack stays one rigid piece."
canonical: https://generativeicons.com/icons/backpack/
---

# Backpack animated icon

The pack is zipped shut, ready to go. Light: the zip across the flap runs open to the left, then closes back across to the right with a hit, and the pull tugs the pack after it, leaning left then right; the zipped pack hops once and lands with a small bounce. Strong: the zip opens, pauses, and snaps shut harder; the pack hops higher and lands with two decaying bounces while the fabric grab loop lags: it stretches at the top of the hop, squashes on landing and springs back. The pack stays one rigid piece.

- Id: `backpack`
- Category: Travel
- Search terms: rucksack, knapsack, school bag, bookbag, daypack, hiking, hiking bag, backpacking, travel pack, trekking, back to school
- One action, back to rest
- 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/backpack.lottie (dotLottie, 4072 bytes, sha256 8c6fadea051d4a64a1d98e261d7b86c57e18d025fefa4b802afafceff82e1ebb)
- License: MIT

## Install

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

## React

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

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