Skip to content

Marquee

Free

A band of logos, quotes, or news that moves at a steady speed. It slows on hover, stops on keyboard focus, and people can drag it.

  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Pass the items inside MarqueeContent.

customers-band.tsx

Marquee

<section>
PropTypeDefaultDescription
aria-labelRequiredstring—Defines a string value that labels the current element. The name of the region for screen readers ("Customers", "What teams say"). Translate it.
dragbooleanfalse
fadebooleantrue
gap"default""lg""sm""default"
reversebooleanfalse
orientation"horizontal""vertical""horizontal"
speednumber40The speed in px per second, the same at every width. 0 stops the band; a value below 0 counts as 0 (use reverse for the other direction).
hover"none""pause""slow""slow"What a mouse or pen hover does: slow (to a quarter), pause, or none. A touch does not count. Use pause for text that people read, such as quotes; slow suits logos.
pausedbooleanfalseStops the band; false plays it again. Both ease over 400ms. Use it to stop the band while a dialog is open, or from any state of the page.
scrollBoostnumber0How much page scrolling speeds up the band: px per second of band per px per second of scroll. With 0.5, a scroll of 1,000 px/s adds 500 px/s. Scrolling up runs the band back while it lasts. When the scroll stops, the band eases back to speed. Hover, focus, a drag, and paused still stop it.
...props<section> attributes—Every other attribute goes to the <section>, with a ref.

MarqueeContent

<ul>
PropTypeDefaultDescription
...props<ul> attributes—Every other attribute goes to the <ul>, with a ref.

MarqueeItem

<li>
PropTypeDefaultDescription
...props<li> attributes—Every other attribute goes to the <li>, with a ref.
  • Give it an aria-label: it is a labeled region.
  • Use hover="pause" when a person must read the items.
  • Set speed in px per second.
  • For slides a person moves, use a Carousel.
TabMoves to a link in the band. The band stops while it has the focus.

It is a section with aria-label, read as a marquee.

Copies of the items are hidden from screen readers.

The band stops on focus.

Band
none · one CSS animation on `translate`, at `speed` in px per second, not a motion token
  1. AddedMarquee.
Open the release