{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "health5",
  "title": "Medical Services Grid",
  "description": "Service cards displaying medical specialties with appointment durations, feature lists, and CTAs. Perfect for hospitals, clinics, and healthcare provider websites.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button"
  ],
  "files": [
    {
      "path": "registry/health5/health5.tsx",
      "content": "\"use client\";\n\nimport { ArrowRight, Clock, type LucideIcon } from \"lucide-react\";\nimport Link from \"next/link\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface ServiceFeature {\n  text: string;\n}\n\ninterface ButtonItem {\n  label: string;\n  href?: string;\n  variant?: \"default\" | \"secondary\" | \"outline\" | \"ghost\";\n}\n\ninterface HealthService {\n  icon: LucideIcon;\n  title: string;\n  description: string;\n  duration?: string;\n  features?: ServiceFeature[];\n  button: ButtonItem;\n}\n\ninterface Health5Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  services: HealthService[];\n  columns?: 2 | 3 | \"2\" | \"3\";\n  className?: string;\n}\n\nimport { Brain, Heart, Stethoscope } from \"lucide-react\";\n\nexport const health5Demo: Health5Props = {\n  badge: { label: \"Our Services\", variant: \"outline\" },\n  heading: \"Comprehensive healthcare for you\",\n  description:\n    \"We offer a wide range of medical services designed to keep you and your family healthy at every stage of life.\",\n  services: [\n    {\n      icon: Heart,\n      title: \"Cardiology\",\n      description:\n        \"Complete heart health assessment and treatment plans tailored to your cardiovascular needs.\",\n      duration: \"45-60 min\",\n      features: [\n        { text: \"ECG & stress testing\" },\n        { text: \"Blood pressure monitoring\" },\n        { text: \"Cholesterol management\" },\n      ],\n      button: {\n        label: \"Learn more\",\n        href: \"https://beste.co\",\n      },\n    },\n    {\n      icon: Brain,\n      title: \"Neurology\",\n      description:\n        \"Expert diagnosis and care for conditions affecting the brain, spine, and nervous system.\",\n      duration: \"30-45 min\",\n      features: [\n        { text: \"Headache & migraine treatment\" },\n        { text: \"Memory assessment\" },\n        { text: \"Nerve conduction studies\" },\n      ],\n      button: {\n        label: \"Learn more\",\n        href: \"https://beste.co\",\n      },\n    },\n    {\n      icon: Stethoscope,\n      title: \"General Medicine\",\n      description:\n        \"Primary care services for preventive health, routine check-ups, and treatment of common conditions.\",\n      duration: \"20-30 min\",\n      features: [\n        { text: \"Annual health check-ups\" },\n        { text: \"Vaccination programs\" },\n        { text: \"Chronic disease management\" },\n      ],\n      button: {\n        label: \"Learn more\",\n        href: \"https://beste.co\",\n      },\n    },\n  ],\n  columns: 3,\n};\n\nexport function Health5({\n  badge,\n  heading,\n  description,\n  services = [],\n  columns = 3,\n  className,\n}: Health5Props) {\n  const columnCount = Number(columns);\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-8 md:mb-12 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 text-balance\">\n                {heading}\n              </h2>\n            )}\n            {description && (\n              <p className=\"mt-4 text-base md:text-lg text-balance text-muted-foreground\">\n                {description}\n              </p>\n            )}\n          </div>\n        )}\n\n        <div\n          className={cn(\n            \"grid gap-6\",\n            columnCount === 2\n              ? \"md:grid-cols-2\"\n              : \"md:grid-cols-2 lg:grid-cols-3\"\n          )}\n        >\n          {services.map((service, index) => {\n            const Icon = service.icon;\n\n            return (\n              <div\n                key={index}\n                className=\"group/health5 flex flex-col rounded-2xl border bg-card p-4 md:p-6 transition-all hover:shadow-lg\"\n              >\n                {/* Icon */}\n                <div className=\"mb-4\">\n                  <div className=\"flex size-12 items-center justify-center rounded-xl bg-muted\">\n                    <Icon className=\"size-6 text-foreground\" />\n                  </div>\n                </div>\n\n                {/* Title & Duration */}\n                <div className=\"mb-3 flex flex-col md:flex-row items-start justify-between gap-2\">\n                  <h3 className=\"text-xl font-semibold\">{service.title}</h3>\n                  {service.duration && (\n                    <div className=\"flex shrink-0 items-center gap-1.5 text-sm text-muted-foreground\">\n                      <Clock className=\"size-4\" />\n                      <span>{service.duration}</span>\n                    </div>\n                  )}\n                </div>\n\n                {/* Description */}\n                <p className=\"mb-4 text-muted-foreground\">\n                  {service.description}\n                </p>\n\n                {/* Features */}\n                {service.features && service.features.length > 0 && (\n                  <ul className=\"mb-6 space-y-2\">\n                    {service.features.map((feature, featureIndex) => (\n                      <li\n                        key={featureIndex}\n                        className=\"flex items-center gap-2 text-sm\"\n                      >\n                        <span className=\"size-1.5 shrink-0 rounded-full bg-foreground\" />\n                        <span>{feature.text}</span>\n                      </li>\n                    ))}\n                  </ul>\n                )}\n\n                {/* Button */}\n                {service.button && (\n                  <div className=\"mt-auto\">\n                    <Button variant={service.button.variant ?? \"ghost\"} asChild>\n                      <Link href={service.button.href ?? \"#\"}>\n                        {service.button.label}\n                        <ArrowRight className=\"size-4\" />\n                      </Link>\n                    </Button>\n                  </div>\n                )}\n              </div>\n            );\n          })}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/health5.tsx"
    }
  ],
  "type": "registry:block"
}