NK

Search

Search pages, posts, and components

All components

Testimonials Marquee

Cards

A looping marquee of testimonial cards, horizontal or vertical.

The offline sync just works - we stopped writing our own.

ALAda LovelaceStaff Engineer, Orbit

Dropped it in on Friday, shipped on Monday.

GHGrace HopperCTO, Ledger

Installation

Add it with the shadcn CLI:

$pnpm dlx shadcn@latest add https://nawalkattel.com.np/r/testimonials-marquee.json
Or install manually
  1. 1. Install dependencies

    pnpm add motion clsx tailwind-merge
  2. 2. Copy the component source into components/library/testimonials-marquee.tsx

Props

PropTypeDefaultDescription
itemsOmit<TestimonialProps, "variant">[] - Testimonials to loop.
verticalbooleanfalseScroll vertically instead of horizontally.
reversebooleanfalseRun the loop in the opposite direction.

Accessibility

  • Inherits the marquee's aria-hidden duplicates and hover pause.
  • Each card keeps its figure/figcaption semantics.
  • Stops entirely under prefers-reduced-motion.

Dependencies

motionclsxtailwind-mergecard-marqueetestimonial