Marquee

Marquees are a great way to show a list of items in a horizontal scrolling motion.

Installation

npx love-ui@latest add marquee

Usage

import { Marquee, MarqueeContent, MarqueeFade, MarqueeItem } from "@/components/marquee"
<Marquee>
  <MarqueeFade />
  <MarqueeContent>
    {items.map((item) => (
      <MarqueeItem key={item.id}>
        {item.content}
      </MarqueeItem>
    ))}
  </MarqueeContent>
</Marquee>

Features

  • Drag and drop items between groups
  • Customize the item contents

Examples

Without fading

Without pre-defined options

Custom spacing