{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature112",
  "title": "Tabbed Feature Cards",
  "description": "Tab-based interface showing 3 cards per tab, with button toggles at top. Excellent for segmented features by department, plan, or use case.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/feature112/feature112.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\";\nimport { useState } from \"react\";\n\ninterface TabContent {\n  title: string;\n  description?: string;\n  href?: string;\n}\n\ninterface TabItem {\n  label: string;\n  content: TabContent[];\n}\n\ninterface ButtonItem {\n  label: string;\n  href?: string;\n  variant?:\n    | \"default\"\n    | \"secondary\"\n    | \"outline\"\n    | \"ghost\"\n    | \"link\"\n    | \"destructive\";\n}\n\ninterface Feature112Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  tabs?: TabItem[];\n  buttons?: ButtonItem[];\n  className?: string;\n}\n\nexport const feature112Demo: Feature112Props = {\n  badge: { label: \"Solutions\", variant: \"default\" },\n  heading: \"Solutions for every team\",\n  description: \"Discover how different teams use our platform.\",\n  tabs: [\n    {\n      label: \"Marketing\",\n      content: [\n        {\n          title: \"Campaign Management\",\n          description: \"Plan and execute marketing campaigns efficiently.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Analytics Dashboard\",\n          description: \"Track performance with detailed insights.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Content Calendar\",\n          description: \"Schedule and manage content across channels.\",\n          href: \"https://beste.co\",\n        },\n      ],\n    },\n    {\n      label: \"Sales\",\n      content: [\n        {\n          title: \"Lead Tracking\",\n          description: \"Monitor and nurture leads through the pipeline.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Deal Management\",\n          description: \"Close deals faster with organized workflows.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Revenue Forecasting\",\n          description: \"Predict future revenue with accuracy.\",\n          href: \"https://beste.co\",\n        },\n      ],\n    },\n    {\n      label: \"Engineering\",\n      content: [\n        {\n          title: \"Sprint Planning\",\n          description: \"Organize work into manageable sprints.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Issue Tracking\",\n          description: \"Track bugs and feature requests effectively.\",\n          href: \"https://beste.co\",\n        },\n        {\n          title: \"Code Reviews\",\n          description: \"Streamline your code review process.\",\n          href: \"https://beste.co\",\n        },\n      ],\n    },\n  ],\n  buttons: [],\n};\n\nexport function Feature112({\n  badge,\n  heading,\n  description,\n  tabs = [],\n  buttons = [],\n  className,\n}: Feature112Props) {\n  const [activeIndex, setActiveIndex] = useState(0);\n  const activeContent = tabs[activeIndex]?.content ?? [];\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 max-w-3xl text-center\">\n            {badge && (\n              <div className=\"mb-4 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=\"mb-8 flex flex-wrap justify-center gap-3\">\n          {tabs.map((tab, index) => (\n            <Button\n              key={index}\n              variant={activeIndex === index ? \"default\" : \"outline\"}\n              onClick={() => setActiveIndex(index)}\n            >\n              {tab.label}\n            </Button>\n          ))}\n        </div>\n\n        <div className=\"grid gap-4 md:gap-6 md:grid-cols-3\">\n          {activeContent.map((item, index) => {\n            const CardContent = (\n              <>\n                <h3 className=\"font-semibold\">{item.title}</h3>\n                {item.description && (\n                  <p className=\"mt-2 text-sm text-muted-foreground\">\n                    {item.description}\n                  </p>\n                )}\n              </>\n            );\n\n            return item.href ? (\n              <Link\n                key={index}\n                href={item.href}\n                className=\"group/feature112 rounded-xl border bg-card p-6 transition-shadow hover:shadow-lg\"\n              >\n                {CardContent}\n              </Link>\n            ) : (\n              <div key={index} className=\"rounded-xl border bg-card p-6\">\n                {CardContent}\n              </div>\n            );\n          })}\n        </div>\n\n        {buttons.length > 0 && (\n          <div className=\"mt-12 flex flex-wrap justify-center gap-3\">\n            {buttons.map((button, index) => (\n              <Button key={index} variant={button.variant ?? \"default\"} asChild>\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/feature112.tsx"
    }
  ],
  "type": "registry:block"
}