tom

Text Marquee

Text 750

About

Animated text marquee component with vertical scrolling.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Marquee to your project and fits it to your theme.

Code

How Text Marquee is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TextMarquee } from "@/components/ui/text-marquee"

export default function Demo() {
  return (
    <div className="flex items-center justify-center min-h-[400px] w-full">
      <TextMarquee
        prefix={<span className="text-2xl font-semibold text-muted-foreground mr-1">spell.sh/</span>}
        height={120}
        speed={0.8}
        className="text-2xl font-bold"
      >
        <span>adgv</span>
        <span>tomm</span>
        <span>hugh</span>
        <span>alex</span>
        <span>emily</span>
      </TextMarquee>
    </div>
  )
}