---
title: "Redact animated icon"
description: "Redact animated icon (Legal & compliance). Light: two marker bars sweep across the second and fourth lines of the sheet. Strong: the bars are struck through in 0.16 s each and the sheet kicks as the marker lifts. The redacted sheet is retained; the reverse withdraws the bars."
canonical: https://generativeicons.com/icons/redact/
---

# Redact animated icon

Light: two marker bars sweep across the second and fourth lines of the sheet. Strong: the bars are struck through in 0.16 s each and the sheet kicks as the marker lifts. The redacted sheet is retained; the reverse withdraws the bars.

- Id: `redact`
- Category: Legal & compliance
- Search terms: censor, censored, black out, blackout, redacted, hide text, conceal, classified, sensitive info, pii, anonymize, mask data, obscure, cover up
- Two states: visible to redacted, 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/redact.lottie (dotLottie, 14131 bytes, sha256 277fdd5fd26cb789362faabd0b76f45f6807bae8646aae20731c98f11e4e5e8a)
- License: MIT

## Install

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

## React

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

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