---
title: "Hard drive animated icon"
description: "Hard drive animated icon (Infrastructure & devices). The platter spins one turn and stops. Light: one smooth revolution. Strong: short reverse wind, a fast full turn that overruns and settles back to the same index."
canonical: https://generativeicons.com/icons/hard-drive/
---

# Hard drive animated icon

The platter spins one turn and stops. Light: one smooth revolution. Strong: short reverse wind, a fast full turn that overruns and settles back to the same index.

- Id: `hard-drive`
- Category: Infrastructure & devices
- Search terms: hdd, hard disk, disk, ssd, disk drive, storage, disk space, local disk, platter, internal drive, spinning disk
- 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/hard-drive.lottie (dotLottie, 5414 bytes, sha256 7c7cebf22e3dadd452c6a9fc7df4cfdce4b3d995f3ff9a250fd341a8829f23ec)
- License: MIT

## Install

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

## React

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

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