About
An animated text component that draws a strike line across old text then reveals replacement text in its place.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Strikethrough Replace to your project and fits it to your theme.
Code
How Strikethrough Replace is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { StrikethroughReplace } from "@/components/ui/strikethrough-replace";
export default function Default() {
return (
<div className="relative flex h-[420px] w-full items-center justify-center overflow-hidden rounded-xl border">
<StrikethroughReplace from="Old text" to="New text" />
</div>
);
}
















