---
title: "Compress files animated icon"
description: "Compress files animated icon (Files & transfers). The press plate descends into the archive and the three sheets close their gaps in sequence; Strong winds up, strikes, and settles once."
canonical: https://generativeicons.com/icons/compress-files/
---

# Compress files animated icon

The press plate descends into the archive and the three sheets close their gaps in sequence; Strong winds up, strikes, and settles once.

- Id: `compress-files`
- Category: Files & transfers
- Search terms: zip, zip file, zip folder, rar, 7z, gzip, tar, shrink, reduce size, smaller file, pack files, archive files
- Two states: prepared to result, 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/compress-files.lottie (dotLottie, 9224 bytes, sha256 260701f53313db9301602f35bff79c52c9746f0021ffabbe3bcbf6e37d6b864f)
- License: MIT

## Install

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

## React

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

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