tom

Marquee

Text 797

About

Infinite scrolling marquee component with customizable speed and direction.

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

Code

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

Usage.tsx

import { Marquee } from "@/components/ui/marquee"

export default function Demo() {
  return (
    <div className="flex items-center justify-center min-h-[400px] w-full">
      <Marquee>
        <span className="mx-8 text-2xl font-medium">React</span>
        <span className="mx-8 text-2xl font-medium">Next.js</span>
        <span className="mx-8 text-2xl font-medium">Tailwind</span>
        <span className="mx-8 text-2xl font-medium">TypeScript</span>
        <span className="mx-8 text-2xl font-medium">Supabase</span>
      </Marquee>
    </div>
  )
}

More by tom

View all
  • Shimmer Text

    Shimmer Text

    1.1K
  • Special Text

    Special Text

    1.1K
  • Animated Gradient

    Animated Gradient

    1.1K
  • Tilt Card

    Tilt Card

    904
  • Text Marquee

    Text Marquee

    753
  • QR Code

    QR Code

    478
  • Animated Checkbox

    Animated Checkbox

    393
  • Blur Reveal

    Blur Reveal

    363

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Short Slide Down

    Short Slide Down

    45
  • Blur Reveal

    Blur Reveal

    72
  • Text Reveal

    Text Reveal

    29
  • Apple Hello Effect

    Apple Hello Effect

    659
  • Text Highlight

    Text Highlight

    96
  • Scroll Fill Headline

    Scroll Fill Headline

    13