Marquee Grid

New

Rows of cards drifting sideways, each at its own pace

$ npx @hritik-sharmaa/repeat-ui add grid-marquee-grid
Category
Grid
Added
Nov 1, 2026
Version
1.0.0
Packages
None
Flavors
TS · JS · Tailwind · CSS
Live preview
ButtonsCardsCarouselsText effectsGridsCursorsDocksTogglesTabsPalettesTimelinesGalleries
Text effectsGridsCursorsDocksTogglesTabsPalettesTimelinesGalleriesButtonsCardsCarousels
DocksTogglesTabsPalettesTimelinesGalleriesButtonsCardsCarouselsText effectsGridsCursors
Customize
3
40s
12px
import GridMarqueeGrid from "@/components/repeat-ui/grid-marquee-grid/preview";

<GridMarqueeGrid />

Installation

  1. Run the command

    Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.

    $ npx @hritik-sharmaa/repeat-ui add grid-marquee-grid --variant ts-tailwind
  2. Use it

    The files are in components/repeat-ui/grid-marquee-grid/.

    import GridMarqueeGrid from "@/components/repeat-ui/grid-marquee-grid/preview";
    
    export default function Page() {
      return <GridMarqueeGrid />;
    }

Props

PropTypeDefaultDescription
itemsReactNode[]12 component namesCards to scroll.
rowsnumber3Number of rows.
speednumber40Seconds for the first row to loop; each row below is slower.
gapnumber12Space between cards and rows, in pixels.
pauseOnHoverbooleantrueStop a row while the pointer is over it.
cardColorstring"#171717"Card background.
textColorstring"#e5e5e5"Card text colour.
accentColorstring"#fa5f1b"Dot colour.
classNamestring""Extra classes for the root element.

More grid

See all