---
title: "Data retention animated icon"
description: "Data retention animated icon (Legal & compliance). Light: the retention clock badged on the database sweeps one full turn. Strong: the hand winds back, whips round past twelve and settles as the clock jolts."
canonical: https://generativeicons.com/icons/data-retention/
---

# Data retention animated icon

Light: the retention clock badged on the database sweeps one full turn. Strong: the hand winds back, whips round past twelve and settles as the clock jolts.

- Id: `data-retention`
- Category: Legal & compliance
- Search terms: retention policy, data lifecycle, data expiry, expiration, ttl, time to live, records retention, storage period, keep data, auto delete, purge schedule
- 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/data-retention.lottie (dotLottie, 17167 bytes, sha256 7b6deab9fa19bf44aaa5d27caf3c1c56ae2b19e3ad80a713a25359ea6ef04834)
- License: MIT

## Install

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

## React

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

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