{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "testimonials-3",
  "title": "Wall Of Love Grid",
  "description": "Wall of love testimonial grid with seven customer quote cards, each carrying a star rating, avatar, name, role, and company.",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "avatar",
    "card"
  ],
  "files": [
    {
      "path": "registry/blocks/testimonials/3/testimonials-block.tsx",
      "content": "import { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { Card } from \"@/components/ui/card\"\nimport { IconPlaceholder } from \"@/components/icons/icon-placeholder\"\n\nconst testimonials = [\n  {\n    quote:\n      \"We shipped a polished marketing site in a single afternoon. The blocks dropped in cleanly and looked right in both light and dark themes, exactly what our team needed without a single tweak.\",\n    name: \"Maya Chen\",\n    role: \"Founder\",\n    company: \"Northwind\",\n    avatar: \"https://i.pravatar.cc/150?img=47\",\n    rating: 5,\n  },\n  {\n    quote:\n      \"Accessible, sharp, and zero config. Our engineers stopped reinventing layouts and started shipping features again within days of adopting Acme. Onboarding went from weeks to a single morning.\",\n    name: \"Priya Nair\",\n    role: \"Engineering Manager\",\n    company: \"Vela\",\n    avatar: \"https://i.pravatar.cc/150?img=32\",\n    rating: 5,\n  },\n  {\n    quote:\n      \"Adopting Acme cut our component backlog in half by the end of the first sprint.\",\n    name: \"Tomás Herrera\",\n    role: \"Frontend Lead\",\n    company: \"Cobalt\",\n    avatar: \"https://i.pravatar.cc/150?img=13\",\n    rating: 4,\n  },\n  {\n    quote:\n      \"I expected to fight the defaults. Instead everything just composed: spacing, typography, focus states. It feels like it was designed by someone who actually ships product.\",\n    name: \"Sofia Lindqvist\",\n    role: \"Product Designer\",\n    company: \"Fernweh\",\n    avatar: \"https://i.pravatar.cc/150?img=45\",\n    rating: 5,\n  },\n  {\n    quote:\n      \"Our agency standardized on Acme across six client projects. Handoffs are clean and reviews are faster.\",\n    name: \"Marcus Bell\",\n    role: \"Creative Director\",\n    company: \"Studio Atlas\",\n    avatar: \"https://i.pravatar.cc/150?img=8\",\n    rating: 5,\n  },\n  {\n    quote:\n      \"The dark mode story alone paid for itself. No more one-off overrides scattered through the codebase, and our QA pass on theming dropped to almost nothing.\",\n    name: \"Aisha Rahman\",\n    role: \"Staff Engineer\",\n    company: \"Quanta\",\n    avatar: \"https://i.pravatar.cc/150?img=26\",\n    rating: 5,\n  },\n]\n\nfunction getInitials(name: string) {\n  return name\n    .split(\" \")\n    .map((part) => part[0])\n    .join(\"\")\n}\n\nexport default function TestimonialsBlock() {\n  return (\n    <section className=\"flex w-full items-center justify-center bg-muted/30 px-6 py-20 text-foreground\">\n      <div className=\"mx-auto w-full max-w-6xl\">\n        <div className=\"mx-auto max-w-xl text-center\">\n          <span className=\"inline-block rounded-md border border-border px-3 py-1 text-xs font-semibold tracking-widest text-muted-foreground uppercase\">\n            Wall of love\n          </span>\n          <h2 className=\"mt-4 font-heading text-4xl font-bold tracking-tight sm:text-5xl\">\n            Teams ship faster with Acme\n          </h2>\n          <p className=\"mt-4 text-base text-muted-foreground\">\n            Thousands of engineers, designers, and founders build their products\n            on Acme. Here is what a few of them have to say.\n          </p>\n        </div>\n\n        <div className=\"mt-14 grid grid-cols-1 gap-5 sm:grid-cols-2 md:grid-cols-3\">\n          {testimonials.map(\n            ({ quote, name, role, company, avatar, rating }) => (\n              <Card\n                key={name}\n                className=\"flex h-full flex-col gap-0 border-border bg-card p-6 transition-colors duration-200 hover:border-foreground/20\"\n              >\n                <div className=\"flex flex-1 flex-col gap-4\">\n                  <div className=\"flex items-center justify-between\">\n                    <IconPlaceholder\n                      lucide=\"Quote\"\n                      tabler=\"IconQuotes\"\n                      hugeicons=\"QuotesIcon\"\n                      phosphor=\"Quotes\"\n                      remixicon=\"RiDoubleQuotesL\"\n                      className=\"size-7 text-foreground opacity-20\"\n                      aria-hidden=\"true\"\n                    />\n                    <div\n                      className=\"flex items-center gap-0.5\"\n                      role=\"img\"\n                      aria-label={`${rating} out of 5 stars`}\n                    >\n                      {Array.from({ length: 5 }).map((_, i) => (\n                        <IconPlaceholder\n                          lucide=\"Star\"\n                          tabler=\"IconStar\"\n                          hugeicons=\"StarIcon\"\n                          phosphor=\"Star\"\n                          remixicon=\"RiStarFill\"\n                          key={i}\n                          className={\n                            i < rating\n                              ? \"size-4 text-primary\"\n                              : \"size-4 text-muted-foreground/30\"\n                          }\n                          aria-hidden=\"true\"\n                        />\n                      ))}\n                    </div>\n                  </div>\n                  <blockquote className=\"flex-1 text-[15px] leading-relaxed text-foreground\">\n                    &ldquo;{quote}&rdquo;\n                  </blockquote>\n                </div>\n\n                <div className=\"mt-6 flex items-center gap-3\">\n                  <Avatar className=\"size-10 border border-border\">\n                    <AvatarImage\n                      src={avatar}\n                      alt={name}\n                      className=\"grayscale\"\n                    />\n                    <AvatarFallback className=\"text-xs font-semibold\">\n                      {getInitials(name)}\n                    </AvatarFallback>\n                  </Avatar>\n                  <span className=\"flex flex-col gap-0.5\">\n                    <span className=\"text-sm font-semibold text-foreground\">\n                      {name}\n                    </span>\n                    <span className=\"text-xs text-muted-foreground\">\n                      {role},{\" \"}\n                      <span className=\"font-medium text-foreground\">\n                        {company}\n                      </span>\n                    </span>\n                  </span>\n                </div>\n              </Card>\n            )\n          )}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/blocks/testimonials-3.tsx"
    }
  ],
  "meta": {
    "height": "1027px",
    "tier": "free"
  },
  "categories": [
    "testimonials"
  ],
  "type": "registry:block"
}