Introducing shieldcn — README badges, shadcn style.

Check it out

Testimonial

Customer testimonial display with standalone card, responsive grid, and infinite-scroll marquee layouts.

Loading...

Installation

$ shadcn add @jalco/testimonial

Usage

import { TestimonialCard, TestimonialGrid, TestimonialMarquee } from "@/components/testimonial"
<TestimonialMarquee testimonials={testimonials} />

Client component. Only quote and author are required. Add role, company, avatarUrl, or rating as needed.

Examples

Single card

Loading...

Grid layout

Loading...

Marquee

Loading...

API Reference

TestimonialCard

PropType

TestimonialGrid

PropType

TestimonialMarquee

PropType

Notes

  • Client component. The marquee uses CSS animation with pause-on-hover via CSS variables.
  • No dependencies. Pure CSS animation — no motion libraries.
  • Semantic HTML. Cards use <blockquote> with a <footer> for proper citation markup.