The Heroicons strikethrough icon visually represents text that has been crossed out, commonly used to indicate deleted, canceled, or old information.
Common uses
- Showing original price with a sale price
- Indicating completed tasks in a to-do list
- Marking deprecated features or settings
Use it in React
Install
npm i @heroicons/reactImport & render
import { StrikethroughIcon } from '@heroicons/react/24/outline';
<StrikethroughIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<StrikethroughIcon className="size-6" />24/solid
<StrikethroughIcon className="size-6" />20/solid
<StrikethroughIcon className="size-6" />16/solid
<StrikethroughIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- strikethroughcrossed outstrikedeleted textcancel
FAQ
- What does the strikethrough icon represent?
- It represents text that has been crossed out, typically used to show something is no longer valid, deleted, or has been superseded.
- How do I use the strikethrough icon in React?
- You can import and use it directly from the Heroicons library with: import { StrikethroughIcon } from '@heroicons/react/24/outline'
- What is the license for the Heroicons strikethrough icon?
- The Heroicons library, including the strikethrough icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Heroicons.
Looking for something else? Search Heroicons and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →