{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "testimonial8",
  "title": "Quote Cards Grid",
  "description": "Grid of testimonial cards with decorative quote marks and HTML-supported text highlighting. Perfect for showcasing multiple customer reviews with emphasis on key phrases.",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/testimonial8/testimonial8.tsx",
      "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface TestimonialQuote {\n  id: string;\n  quote: string;\n  author?: string;\n  role?: string;\n}\n\ninterface ButtonItem {\n  id: string;\n  label: string;\n  href?: string;\n  variant?:\n    | \"default\"\n    | \"secondary\"\n    | \"outline\"\n    | \"ghost\"\n    | \"link\"\n    | \"destructive\";\n}\n\ninterface Testimonial8Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  quotes?: TestimonialQuote[];\n  buttons?: ButtonItem[];\n  className?: string;\n}\n\nexport const testimonial8Demo: Testimonial8Props = {\n  badge: { label: \"Testimonials\", variant: \"secondary\" },\n  heading: \"What our users say\",\n  description:\n    \"Don't just take our word for it. Here's what teams are saying after switching to our platform.\",\n  quotes: [\n    {\n      id: \"quote-1\",\n      quote:\n        \"We cut our deployment time from hours to minutes. The automation tools are incredibly intuitive.\",\n      author: \"Sarah Chen\",\n      role: \"CTO at Streamline\",\n    },\n    {\n      id: \"quote-2\",\n      quote:\n        \"Finally, a platform that doesn't require a PhD to operate. Our entire team was onboarded in a day.\",\n      author: \"Marcus Webb\",\n      role: \"Engineering Lead at Pulse\",\n    },\n    {\n      id: \"quote-3\",\n      quote:\n        \"The support team is phenomenal. Every question answered <strong>within the hour</strong>, every time.</strong>\",\n      author: \"Lisa Park\",\n      role: \"Product Manager at Vertex\",\n    },\n  ],\n  buttons: [\n    { id: \"btn-1\", label: \"Read more stories\", href: \"https://beste.co\" },\n  ],\n};\n\nexport function Testimonial8({\n  badge,\n  heading,\n  description,\n  quotes = [],\n  buttons = [],\n  className,\n}: Testimonial8Props) {\n  if (quotes.length === 0) return null;\n\n  const getGridColumns = (count: number) => {\n    if (count === 1) return \"grid-cols-1\";\n    if (count === 2) return \"grid-cols-1 md:grid-cols-2\";\n    if (count % 4 === 0) return \"grid-cols-1 md:grid-cols-2 lg:grid-cols-4\";\n    if (count % 3 === 0) return \"grid-cols-1 md:grid-cols-3\";\n    return \"grid-cols-1 md:grid-cols-3\";\n  };\n\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-6xl px-4 md:px-6\">\n        {(badge || heading || description) && (\n          <div className=\"mx-auto mb-12 md:mb-16 max-w-3xl text-center\">\n            {badge && (\n              <div className=\"mb-5 flex justify-center\">\n                <Badge variant={badge.variant ?? \"default\"}>\n                  {badge.label}\n                </Badge>\n              </div>\n            )}\n            {heading && (\n              <h2 className=\"text-3xl font-semibold md:text-5xl\">{heading}</h2>\n            )}\n            {description && (\n              <p className=\"mt-4 text-base md:text-lg text-muted-foreground\">\n                {description}\n              </p>\n            )}\n          </div>\n        )}\n\n        <div className={cn(\"grid gap-6\", getGridColumns(quotes.length))}>\n          {quotes.map((item) => (\n            <div\n              key={item.id}\n              className=\"relative flex flex-col justify-between rounded-xl border border-border bg-card p-6 md:p-8\"\n            >\n              {/* Large quote mark */}\n              <div className=\"absolute -top-4 left-6 text-6xl font-serif text-primary/20\">\n                \"\n              </div>\n\n              <blockquote className=\"relative pt-4\">\n                <div\n                  className=\"text-base leading-relaxed md:text-lg text-card-foreground\"\n                  dangerouslySetInnerHTML={{ __html: item.quote }}\n                />\n              </blockquote>\n\n              {/* Author info - at the bottom of the card */}\n              {(item.author || item.role) && (\n                <div className=\"mt-6 border-t border-border pt-4\">\n                  {item.author && (\n                    <div className=\"font-semibold text-card-foreground\">\n                      {item.author}\n                    </div>\n                  )}\n                  {item.role && (\n                    <div className=\"text-sm text-muted-foreground\">\n                      {item.role}\n                    </div>\n                  )}\n                </div>\n              )}\n            </div>\n          ))}\n        </div>\n\n        {buttons.length > 0 && (\n          <div className=\"mt-8 md:mt-12 flex flex-wrap justify-center gap-3\">\n            {buttons.map((button) => (\n              <Button\n                key={button.id}\n                variant={button.variant ?? \"default\"}\n                asChild\n              >\n                <Link href={button.href ?? \"#\"}>{button.label}</Link>\n              </Button>\n            ))}\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/testimonial8.tsx"
    }
  ],
  "type": "registry:block"
}