{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "usecase8",
  "title": "Vertical Timeline",
  "description": "Centered timeline with alternating left-right content cards, icons, images, and feature lists. Perfect for showing project phases, company history, or process stages.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "badge"
  ],
  "files": [
    {
      "path": "registry/usecase8/usecase8.tsx",
      "content": "\"use client\";\n\nimport { Check, Hammer, Palette, Rocket, Search } from \"lucide-react\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { cn } from \"@/lib/utils\";\n\ninterface UseCaseFeature {\n  id: string;\n  text: string;\n}\n\ninterface UseCaseItem {\n  id: string;\n  icon?: React.ReactNode;\n  title: string;\n  description: string;\n  image?: {\n    src: string;\n    alt: string;\n  };\n  features?: UseCaseFeature[];\n}\n\ninterface UseCase8Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading?: string;\n  description?: string;\n  items: UseCaseItem[];\n  className?: string;\n}\n\nexport const usecase8Demo: UseCase8Props = {\n  badge: { label: \"Journey\", variant: \"secondary\" },\n  heading: \"Your Path to Success\",\n  description: \"Follow this proven journey to transform your business and achieve your goals.\",\n  items: [\n    {\n      id: \"discovery\",\n      icon: <Search className=\"size-5\" />,\n      title: \"Discovery & Planning\",\n      description:\n        \"We start by understanding your unique challenges, goals, and requirements. Our team conducts thorough research and creates a customized roadmap.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1765498068281-67e9971c0b98?w=900&auto=format&fit=crop&q=60\",\n        alt: \"Discovery\",\n      },\n      features: [\n        { id: \"d1\", text: \"Requirements analysis\" },\n        { id: \"d2\", text: \"Strategic roadmap\" },\n      ],\n    },\n    {\n      id: \"design\",\n      icon: <Palette className=\"size-5\" />,\n      title: \"Design & Architecture\",\n      description:\n        \"Our experts design a scalable solution architecture and create intuitive user experiences that align with your brand.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1759979743853-d2dfa0619a23?w=900&auto=format&fit=crop&q=60\",\n        alt: \"Design\",\n      },\n      features: [\n        { id: \"de1\", text: \"UI/UX design\" },\n        { id: \"de2\", text: \"System architecture\" },\n      ],\n    },\n    {\n      id: \"build\",\n      icon: <Hammer className=\"size-5\" />,\n      title: \"Development & Testing\",\n      description:\n        \"We build your solution using modern technologies and best practices, with rigorous testing at every stage.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1765230182338-9542f1bb7a39?w=900&auto=format&fit=crop&q=60\",\n        alt: \"Development\",\n      },\n      features: [\n        { id: \"b1\", text: \"Agile development\" },\n        { id: \"b2\", text: \"Quality assurance\" },\n      ],\n    },\n    {\n      id: \"launch\",\n      icon: <Rocket className=\"size-5\" />,\n      title: \"Launch & Optimize\",\n      description:\n        \"We deploy your solution and continuously monitor and optimize performance to ensure maximum impact.\",\n      image: {\n        src: \"https://images.unsplash.com/photo-1765448054070-0a37ade9477e?w=900&auto=format&fit=crop&q=60\",\n        alt: \"Launch\",\n      },\n      features: [\n        { id: \"l1\", text: \"Global deployment\" },\n        { id: \"l2\", text: \"Performance monitoring\" },\n      ],\n    },\n  ],\n};\n\nexport function UseCase8({ badge, heading, description, items, className }: UseCase8Props) {\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        {/* Header */}\n        <div className=\"text-center mb-16\">\n          {badge?.label && (\n            <div className=\"mb-6 flex justify-center\">\n              <Badge variant={badge.variant ?? \"secondary\"}>{badge.label}</Badge>\n            </div>\n          )}\n          {heading && (\n            <h2 className=\"text-2xl md:text-4xl font-semibold text-balance max-w-4xl mx-auto\">\n              {heading}\n            </h2>\n          )}\n          {description && (\n            <p className=\"mt-4 text-base sm:text-lg text-muted-foreground text-balance max-w-3xl mx-auto\">\n              {description}\n            </p>\n          )}\n        </div>\n\n        {/* Timeline */}\n        <div className=\"relative max-w-5xl mx-auto\">\n          {/* Timeline Line - hidden on mobile */}\n          <div className=\"absolute left-1/2 top-0 bottom-0 w-px -translate-x-1/2 hidden md:block bg-foreground/10\" />\n\n          {/* Timeline Items */}\n          <div className=\"space-y-12 md:space-y-16\">\n            {items.map((item, index) => {\n              const isEven = index % 2 === 0;\n              return (\n                <div key={item.id} className=\"relative\">\n                  {/* Timeline Dot - hidden on mobile */}\n                  <div className=\"absolute left-1/2 -translate-x-1/2 w-4 h-4 rounded-full border-4 z-10 hidden md:block bg-background border-primary\" />\n\n                  {/* Content */}\n                  <div className=\"grid md:grid-cols-2 gap-4 md:gap-6 items-center\">\n                    {/* Text Content */}\n                    <div\n                      className={cn(\n                        \"space-y-4 md:space-y-6\",\n                        isEven ? \"md:pr-12 md:text-right\" : \"md:pl-12 md:order-2\"\n                      )}\n                    >\n                      <div\n                        className={cn(\"flex items-center gap-3\", isEven && \"md:flex-row-reverse\")}\n                      >\n                        {item.icon && (\n                          <span className=\"flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-primary/10 text-primary group-hover/usecase8:bg-primary group-hover/usecase8:text-background\">\n                            {item.icon}\n                          </span>\n                        )}\n                        <h3 className=\"text-lg md:text-xl font-semibold\">{item.title}</h3>\n                      </div>\n\n                      <p className=\"text-muted-foreground text-base md:text-lg\">\n                        {item.description}\n                      </p>\n\n                      {item.features && item.features.length > 0 && (\n                        <ul\n                          className={cn(\n                            \"space-y-1.5\",\n                            isEven && \"md:flex md:flex-col md:items-end\"\n                          )}\n                        >\n                          {item.features.map((feature) => (\n                            <li\n                              key={feature.id}\n                              className={cn(\n                                \"flex items-center gap-2 text-sm md:text-base text-muted-foreground\",\n                                isEven && \"md:flex-row-reverse\"\n                              )}\n                            >\n                              <Check className=\"size-4 text-primary flex-shrink-0\" />\n                              <span>{feature.text}</span>\n                            </li>\n                          ))}\n                        </ul>\n                      )}\n                    </div>\n\n                    {/* Image */}\n                    <div className={cn(isEven ? \"md:pl-12 md:order-2\" : \"md:pr-12\")}>\n                      {item.image && (\n                        <div className=\"aspect-video rounded-lg overflow-hidden ring-1 ring-foreground/10\">\n                          <img\n                            src={item.image.src}\n                            alt={item.image.alt}\n                            width={800}\n                            height={450}\n                            className=\"w-full h-full object-cover\"\n                          />\n                        </div>\n                      )}\n                    </div>\n                  </div>\n                </div>\n              );\n            })}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/usecase8.tsx"
    }
  ],
  "type": "registry:block"
}