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
  • Shader Dithering

    Shader Dithering

    42
  • Format Morph

    Format Morph

    40
  • Blur Out Up

    Blur Out Up

    40
  • Zoom Through Transition

    Zoom Through Transition

    26
  • Top Down Letters

    Top Down Letters

    22
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    16
  • Message Bubble

    Message Bubble

    11
  • Mesh Gradient Background

    Mesh Gradient Background

    11

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Text Reveal

    Text Reveal

    29
  • Blur Reveal

    Blur Reveal

    73
  • Short Slide Down

    Short Slide Down

    45
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Scroll Fill Headline

    Scroll Fill Headline

    14
  • Blur Reveal

    Blur Reveal

    364