A smooth, infinite scrolling marquee component perfect for testimonials with dual rows moving in opposite directions and gradient edge fading.
Install the component using the CLI.
npx shadcn@latest add https://siddz.com/r/marquee.jsonImport the component:
import { TestimonialMarquee, Marquee, TestimonialCard } from "@/components/marquee"Use it in your code:
const testimonials = [
{ name: "John Doe", username: "@johndoe", content: "Amazing product!" },
{ name: "Jane Smith", username: "@janesmith", content: "Love it!" },
];
<TestimonialMarquee
test...| Property | Type | Default | Description |
|---|---|---|---|
testimonials* | array | - | Array of testimonial objects with name, username, content, and optional avatar. |
speed | number | 40 | Animation duration in seconds. Lower = faster. |
pauseOnHover | boolean | true | Whether to pause the marquee on hover. |
className | string | "" | Additional CSS classes. |
Just adopted a cat. Named her 'Prod' now she crashes everytime i touch it. Perfect name honestly.
My coffee machine broke this morning. Had to talk to people like a normal human. Worst day of my life.
Told my mom I fix computers for a living. Now I'm the entire family's IT support. What have I done.
My plant finally died after 3 years. Survived two apartment moves and a pandemic. RIP Gerald the fern.
Bought noise canceling headphones. Now I can ignore people in high definition quality. Best purchase ever.
My wifi password is 32 characters long because I hate when visitors ask for it. Working as intended.
Started going to the gym this year. By gym I mean the fridge. Great progress so far, highly recommend.
My uber rating is 4.2 stars because I refuse to make small talk. It is totally worth it in my opinion.