---
title: "Strikethrough animated icon"
description: "Strikethrough animated icon (Text & document editing). Mark text as struck out: a line slashes through the S; reverse withdraws it."
canonical: https://generativeicons.com/icons/strikethrough/
---

# Strikethrough animated icon

Mark text as struck out: a line slashes through the S; reverse withdraws it.

- Id: `strikethrough`
- Category: Text & document editing
- Search terms: strike, strike through, strikeout, crossed out, cross out, cross off, line through, struck text, deleted text, text decoration
- Two states: plain to struck, 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/strikethrough.lottie (dotLottie, 6092 bytes, sha256 a9815cd50538cc9c74c7f23cdd5cc420c387c4f99e90162d5ef1bc55629caf05)
- License: MIT

## Install

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

## React

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

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