{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "testimonials-grid",
  "title": "Testimonials Grid",
  "author": "STARCK",
  "description": "A featured testimonial with quieter supporting customer stories.",
  "files": [
    {
      "path": "registry/default/testimonials-grid.tsx",
      "content": "/* eslint-disable @next/next/no-img-element */\n\ntype Testimonial = {\n  quote: string\n  name: string\n  role?: string\n  avatar?: string\n  initials?: string\n}\n\ntype TestimonialsGridProps = {\n  testimonials: readonly Testimonial[]\n  className?: string\n}\n\nfunction Person({ testimonial }: { testimonial: Testimonial }) {\n  return (\n    <figcaption className=\"mt-5 flex items-center gap-3\">\n      {testimonial.avatar ? (\n        <img\n          src={testimonial.avatar}\n          alt=\"\"\n          className=\"size-10 rounded-full object-cover\"\n        />\n      ) : (\n        <span className=\"grid size-10 place-items-center rounded-full bg-gradient-to-br from-blue-500 to-violet-500 text-xs font-semibold text-white\">\n          {testimonial.initials ?? testimonial.name.slice(0, 2).toUpperCase()}\n        </span>\n      )}\n      <span className=\"text-sm leading-tight\">\n        <strong className=\"block font-semibold text-zinc-950\">\n          {testimonial.name}\n        </strong>\n        {testimonial.role ? (\n          <span className=\"mt-0.5 block text-zinc-500\">{testimonial.role}</span>\n        ) : null}\n      </span>\n    </figcaption>\n  )\n}\n\nfunction TestimonialsGrid({\n  testimonials,\n  className = \"\",\n}: TestimonialsGridProps) {\n  if (testimonials.length === 0) return null\n  const [featured, ...rest] = testimonials\n\n  return (\n    <div className={`grid gap-4 lg:grid-cols-2 ${className}`}>\n      <figure className=\"relative overflow-hidden rounded-3xl border border-black/8 bg-gradient-to-b from-zinc-950/[0.045] to-transparent p-7 lg:row-span-2 lg:p-9\">\n        <span\n          aria-hidden\n          className=\"absolute -top-10 left-3 font-serif text-[8rem] leading-none text-zinc-950/[0.045]\"\n        >\n          &ldquo;\n        </span>\n        <div className=\"relative\">\n          <div className=\"text-sm tracking-[0.16em] text-amber-500\">★★★★★</div>\n          <blockquote className=\"mt-5 text-xl leading-8 font-medium tracking-[-0.02em] text-zinc-900\">\n            “{featured.quote}”\n          </blockquote>\n          <Person testimonial={featured} />\n        </div>\n      </figure>\n      {rest.map((testimonial) => (\n        <figure\n          key={testimonial.name}\n          className=\"rounded-2xl border border-black/8 bg-white p-6 transition-colors hover:bg-zinc-50\"\n        >\n          <blockquote className=\"text-sm leading-6 text-zinc-700\">\n            “{testimonial.quote}”\n          </blockquote>\n          <Person testimonial={testimonial} />\n        </figure>\n      ))}\n    </div>\n  )\n}\n\nexport { TestimonialsGrid }\nexport type { Testimonial, TestimonialsGridProps }\n",
      "type": "registry:component",
      "target": "components/testimonials-grid.tsx"
    }
  ],
  "type": "registry:component"
}