Skip to main content
ParticleUI

Marquee

Infinite scroll marquee with configurable speed, direction, gap, and pause-on-hover.

ReactTypeScriptTailwindRadix UIOKLCHParticleUIOpen SourceFreeReactTypeScriptTailwindRadix UIOKLCHParticleUIOpen SourceFreeReactTypeScriptTailwindRadix UIOKLCHParticleUIOpen SourceFreeReactTypeScriptTailwindRadix UIOKLCHParticleUIOpen SourceFree
FreeOpen SourceParticleUIOKLCHRadix UITailwindTypeScriptReactFreeOpen SourceParticleUIOKLCHRadix UITailwindTypeScriptReactFreeOpen SourceParticleUIOKLCHRadix UITailwindTypeScriptReactFreeOpen SourceParticleUIOKLCHRadix UITailwindTypeScriptReact

Installation

1

Run the CLI

$npx particleui-cli add marquee

Usage

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

export default function Example() {
  return (
    <Marquee speed={30} pauseOnHover gap={24}>
      {["React", "TypeScript", "Tailwind", "OKLCH", "ParticleUI"].map((tag) => (
        <span key={tag} className="rounded-full border border-border bg-surface-1 px-4 py-1.5 text-sm text-text-2">
          {tag}
        </span>
      ))}
    </Marquee>
  )
}

Props

PropTypeDefaultRequired
childrenReact.ReactNodeyes
speednumber40no
direction"left" | "right""left"no
pauseOnHoverbooleantrueno
gapnumber16no
classNamestringno
repeatnumber4no

Details

Source filecomponents/ui/marquee.tsx
Typeui
Categorieslayout, particles
npm dependencies
Registry deps
Claude skill