Back to Components
Components

Marquee

Flexible infinite scrolling marquee component for text, images, or any content. Supports vertical and horizontal scrolling with customizable speed and fade effects.

Design
Develop
Ship
Scale
Iterate

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/marquee.tsx

Installation

Using shadcn CLI

npx shadcn add marquee --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge