Hero 278 - Strikethrough correction headlinePro

Centered headline where the wrong word is struck through by a drawn line and the corrected word drops in beside it, followed by CTAs and a before/after comparison row.

About Hero 278

Centered headline where the wrong word is struck through by a drawn line and the corrected word drops in beside it, followed by CTAs and a before/after comparison row.

Hero 278 is a hero block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 104 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • text-effect
  • strikethrough
  • correction
  • centered
  • comparison

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add hero-278

Dependencies installed automatically: lucide-react, motion.

Uses: button, motion-presets, reveal, use-reduced-motion, utils.

Usage

import Hero278 from "@/components/blocks/hero-278"

export default function Page() {
  return <Hero278 />
}

FAQ