---
title: "Database animated icon"
description: "Database animated icon (Infrastructure & devices). A record is written. Light: a data packet drops into the open top of the cylinder and fades as it lands; the seam band takes the weight, dips, rebounds and settles. Strong: two packets land in turn and the band takes two hits, the second deeper. The drum and lid never move."
canonical: https://generativeicons.com/icons/database/
---

# Database animated icon

A record is written. Light: a data packet drops into the open top of the cylinder and fades as it lands; the seam band takes the weight, dips, rebounds and settles. Strong: two packets land in turn and the band takes two hits, the second deeper. The drum and lid never move.

- Id: `database`
- Category: Infrastructure & devices
- Search terms: db, sql, nosql, data store, datastore, data storage, records, postgres, mysql, schema, query, persistence
- 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/database.lottie (dotLottie, 3984 bytes, sha256 6a02dc2a73fa06b6a9714930cd24b69c961447ed31dc48d399cfad231e0e36f9)
- License: MIT

## Install

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

## React

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

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