---
title: "Privacy shield animated icon"
description: "Privacy shield animated icon (Preferences). Light: the eye inside the shield closes, its upper lid settling onto the lower lid. Strong: the eye widens 15%, snaps shut with a stop and the shield dips half a unit. Reverse: the eye opens; Strong pops it open past full."
canonical: https://generativeicons.com/icons/privacy-shield/
---

# Privacy shield animated icon

Light: the eye inside the shield closes, its upper lid settling onto the lower lid. Strong: the eye widens 15%, snaps shut with a stop and the shield dips half a unit. Reverse: the eye opens; Strong pops it open past full.

- Id: `privacy-shield`
- Category: Preferences
- Search terms: privacy settings, data protection, data privacy, private data, protect data, personal data, confidential, sensitive data, hide information, safeguard
- Two states: visible to private, 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/privacy-shield.lottie (dotLottie, 8072 bytes, sha256 1b12deede85ab87fbce66a85ae2968e9140a8bf130668f020d53085d132a2300)
- License: MIT

## Install

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

## React

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

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