framecn

Strikethrough Replace

Text 21

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>
  );
}

More by framecn

View all
  • Format Morph

    Format Morph

    50
  • Shader Dithering

    Shader Dithering

    46
  • Blur Out Up

    Blur Out Up

    42
  • Zoom Through Transition

    Zoom Through Transition

    32
  • Top Down Letters

    Top Down Letters

    25
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    18
  • Message Bubble

    Message Bubble

    17
  • Mesh Gradient Background

    Mesh Gradient Background

    11

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692