framecn

Strikethrough Replace

Text 17

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
  • Blur Out Up

    Blur Out Up

    33
  • Shader Dithering

    Shader Dithering

    29
  • Zoom Through Transition

    Zoom Through Transition

    19
  • Top Down Letters

    Top Down Letters

    19
  • Format Morph

    Format Morph

    14
  • Mesh Gradient Background

    Mesh Gradient Background

    11
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    9
  • Message Bubble

    Message Bubble

    6

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Motion Blur Text

    Motion Blur Text

    36
  • Text Loop

    Text Loop

    310
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    610
  • Typography

    Typography

    4
  • Animated Text

    Animated Text

    8