About
A statement that writes itself: words rise into place one after another, the emphasised phrase sweeps into italic letter by letter, small ink marks open between words, then the words lift away. Scroll-driven, or set autoPlay to loop on its own.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Italic Sweep Scroll Text to your project and fits it to your theme.
Code
How Italic Sweep Scroll Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import ItalicSweepScrollText from "@/components/ui/italic-sweep-scroll-text"
const PAPER = "color-mix(in oklab, var(--color-background) 95%, var(--color-foreground))"
// Plays on its own so the effect shows without scrolling. On a page, drop
// autoPlay and the statement follows the scroll instead (see the README).
export default function Demo() {
return (
<main className="w-full text-foreground" style={{ background: PAPER }}>
<ItalicSweepScrollText autoPlay={9} />
</main>
)
}
















