Skip to content
VenusUI
Get started

Scrolling Testimonials

Two rows of quotes scrolling in opposite directions, pausing on hover.

Preview

Installation

npx shadcn@latest add @venusui/testimonials-02

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/marquee.tsxfrom marquee
  • @/components/testimonials-02.tsx

Usage

The code behind the preview above.

testimonials-02-demo.tsx

import { Testimonials02 } from "@/components/testimonials-02"

export default function Testimonials02Demo() {
  return <Testimonials02 />
}

API reference

No props. Quotes are in the quotes array; the first half goes in the top row.

Requirements

  • VenusUI marquee (the CLI installs it with its CSS), React 19 and Tailwind CSS v4.

Customization

  • The quotes and names are placeholders. Replace them with real quotes from customers who agreed to be featured.
  • Slow the rows down with a longer duration on each Marquee.

Accessibility

  • Quotes are read once: the marquee hides its repeated copies from screen readers.
  • Rows pause on hover so quotes can be read, and stop moving with reduced motion.

Troubleshooting

The rows jump at the end of each loop.
Check that the marquee keyframes are in your CSS (the CLI adds them).
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.