{
  "title": "Testimonials 1",
  "description": "An interactive client testimonials block featuring tabbed categorization (e.g., startups vs enterprise), custom metrics display, and trust rating social proof in the footer.",
  "name": "marketing-testimonials-1",
  "dependencies": [],
  "registryDependencies": [
    "avatar",
    "badge",
    "button",
    "card",
    "tabs"
  ],
  "type": "registry:block",
  "files": [
    {
      "path": "components/blocks/marketing/testimonials/testimonials-1.tsx",
      "type": "registry:block",
      "content": "import { useState } from \"react\";\n\nimport { ArrowUpRight, MessageSquareIcon, QuoteIcon, StarIcon } from \"lucide-react\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { Card, CardContent, CardDescription, CardHeader, CardTitle } from \"@/components/ui/card\";\nimport { Tabs, TabsList, TabsTrigger } from \"@/components/ui/tabs\";\n\nconst categoriesData: Record<\n    string,\n    Array<{\n        quote: string;\n        author: string;\n        role: string;\n        initials: string;\n        metric?: string;\n        metricLabel?: string;\n    }>\n> = {\n    startups: [\n        {\n            quote: \"PaceUI allowed us to launch our MVP in days rather than months. The customizability of the templates is top-notch.\",\n            author: \"Aria Chen\",\n            role: \"Co-Founder, SparkAI\",\n            initials: \"AC\",\n            metric: \"10X\",\n            metricLabel: \"Faster build speed\",\n        },\n        {\n            quote: \"We've tried multiple UI kits, but this one is by far the cleanest and most performance-focused.\",\n            author: \"Jared Finch\",\n            role: \"CTO, NextFlow\",\n            initials: \"JF\",\n        },\n        {\n            quote: \"Excellent developer experience. The components slot perfectly into our existing design system without styling overrides.\",\n            author: \"Maya Lin\",\n            role: \"Lead Designer, Loom\",\n            initials: \"ML\",\n        },\n    ],\n    enterprise: [\n        {\n            quote: \"Standardizing our internal dashboards around these templates saved us hundreds of engineering hours this quarter alone.\",\n            author: \"Robert Kowalski\",\n            role: \"Director of Engineering, Salesforce\",\n            initials: \"RK\",\n            metric: \"40%\",\n            metricLabel: \"Reduction in dev cost\",\n        },\n        {\n            quote: \"The adherence to accessibility and clean markup is fantastic. It passed our strict internal audit with ease.\",\n            author: \"Sarah Jenkins\",\n            role: \"VP Accessibility, IBM\",\n            initials: \"SJ\",\n        },\n        {\n            quote: \"A comprehensive library that allows our design and dev teams to speak the exact same language day in and day out.\",\n            author: \"Tatsuya Hiro\",\n            role: \"Design Lead, Sony\",\n            initials: \"TH\",\n        },\n    ],\n};\n\nexport const Testimonials1 = () => {\n    const [activeTab, setActiveTab] = useState<string>(\"startups\");\n    const currentTestimonials = categoriesData[activeTab] || [];\n\n    const featured = currentTestimonials[0];\n    const rest = currentTestimonials.slice(1);\n\n    return (\n        <div className=\"container py-12\">\n            <div className=\"flex flex-col items-center justify-center text-center\">\n                <Badge variant=\"outline\">Use Cases</Badge>\n                <h2 className=\"mt-2 text-3xl font-semibold tracking-tight md:text-4xl\">Proven impact at any scale</h2>\n                <Tabs value={activeTab} onValueChange={setActiveTab} className=\"mt-4\">\n                    <TabsList>\n                        <TabsTrigger value=\"startups\" className=\"cursor-pointer rounded-md\">\n                            Startups\n                        </TabsTrigger>\n                        <TabsTrigger value=\"enterprise\" className=\"cursor-pointer rounded-md\">\n                            Enterprise\n                        </TabsTrigger>\n                    </TabsList>\n                </Tabs>\n            </div>\n\n            <div className=\"mt-8 grid grid-cols-1 gap-6 md:grid-cols-12\">\n                {featured && (\n                    <Card className=\"md:col-span-7\">\n                        {featured.metric ? (\n                            <CardHeader>\n                                <CardTitle className=\"text-4xl font-semibold tracking-tight\">\n                                    {featured.metric}\n                                </CardTitle>\n                                <CardDescription className=\"text-sm font-medium\">\n                                    {featured.metricLabel}\n                                </CardDescription>\n                            </CardHeader>\n                        ) : null}\n                        <CardContent className=\"flex grow flex-col justify-between\">\n                            <div>\n                                <QuoteIcon className=\"text-foreground/20 size-8 -rotate-180\" />\n                                <p className=\"mt-2 text-base leading-relaxed\">{featured.quote}</p>\n                            </div>\n                            <div className=\"mt-6 flex items-center gap-3\">\n                                <Avatar>\n                                    <AvatarImage src=\"\" />\n                                    <AvatarFallback>{featured.initials}</AvatarFallback>\n                                </Avatar>\n                                <div className=\"flex flex-col\">\n                                    <span className=\"text-sm font-medium\">{featured.author}</span>\n                                    <span className=\"text-muted-foreground text-[11px]\">{featured.role}</span>\n                                </div>\n                            </div>\n                        </CardContent>\n                    </Card>\n                )}\n\n                <div className=\"flex flex-col gap-6 md:col-span-5\">\n                    {rest.map((item, index) => (\n                        <Card key={index}>\n                            <CardContent className=\"flex flex-col justify-between\">\n                                <div>\n                                    <QuoteIcon className=\"text-foreground/15 size-6 -rotate-180\" />\n                                    <p className=\"mt-2 text-base leading-relaxed\">{item.quote}</p>\n                                </div>\n                                <div className=\"mt-6 flex items-center gap-3\">\n                                    <Avatar>\n                                        <AvatarImage src=\"\" />\n                                        <AvatarFallback>{item.initials}</AvatarFallback>\n                                    </Avatar>\n                                    <div className=\"flex flex-col\">\n                                        <span className=\"text-sm font-medium\">{item.author}</span>\n                                        <span className=\"text-muted-foreground text-[11px]\">{item.role}</span>\n                                    </div>\n                                </div>\n                            </CardContent>\n                        </Card>\n                    ))}\n                </div>\n            </div>\n\n            <div className=\"mt-6 flex flex-col items-center justify-between gap-4 sm:flex-row\">\n                <div className=\"flex flex-wrap items-center gap-4\">\n                    <div className=\"bg-muted flex size-8 items-center justify-center rounded-md border select-none\">\n                        <MessageSquareIcon className=\"size-3.5\" />\n                    </div>\n                    <div className=\"flex flex-col\">\n                        <div className=\"flex items-center gap-0.5\">\n                            {[...Array(5)].map((_, i) => (\n                                <StarIcon key={i} className=\"size-4 fill-orange-400 text-orange-400\" />\n                            ))}\n                            <span className=\"ms-2 text-sm font-medium\">4.9</span>\n                        </div>\n                        <span className=\"text-muted-foreground text-xs\">Based on 1.5k reviews</span>\n                    </div>\n                </div>\n                <span className=\"text-sm\">1500 satisfied clients love our services</span>\n                <Button variant=\"outline\" size=\"sm\">\n                    View all reviews\n                    <ArrowUpRight className=\"size-3\" />\n                </Button>\n            </div>\n        </div>\n    );\n};\n"
    }
  ],
  "mcp": {
    "description": "An interactive client testimonials block featuring tabbed categorization (e.g., startups vs enterprise), custom metrics display, and trust rating social proof in the footer. Relies on avatar, badge, button, card, tabs. Ideal when an AI agent needs to compose section layouts or application views.",
    "tags": [
      "block",
      "marketing",
      "testimonial"
    ]
  }
}