Skip to main content

Strikethrough

The Strikethrough component renders text with a line through it. Use it to represent things that are no longer relevant or accurate.

Import

import { Strikethrough } from '@dynatrace/strato-components/typography';

Demo

Style inheritance

Strikethrough applies line-through text decoration but otherwise inherits from its surrounding context. Any inheritable CSS property not explicitly set by the component flows through from the parent.

Still have questions?
Find answers in the Dynatrace Community