{
  "$schema": "https://uipkge.dev/schema/registry-item.json",
  "name": "hero-01",
  "title": "Metric Showcase Hero",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-angular/blocks/hero-01/hero-01.component.ts",
      "content": "// Two-column hero with badge eyebrow, large headline, supporting copy, primary +\n// outline CTAs, social-proof row, and a collage of three rotated KPI cards\n// (active users / uptime / onboarding queue) on the right. Port of the React block 1:1.\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core'\nimport { ArrowRight, LucideAngularModule, PlayCircle } from 'lucide-angular'\nimport { cn } from '@/lib/utils'\nimport { UiAvatarComponent, UiAvatarFallbackComponent } from '@/ui/avatar/avatar.component'\nimport { UiBadgeComponent } from '@/ui/badge/badge.component'\nimport { UiButtonComponent } from '@/ui/button/button.component'\nimport {\n  UiCardComponent,\n  UiCardContentComponent,\n  UiCardDescriptionComponent,\n  UiCardHeaderComponent,\n  UiCardTitleComponent,\n} from '@/ui/card/card.component'\n\ninterface Hero01QueueMember {\n  initials: string\n  name: string\n  role: string\n}\n\nconst queue: Hero01QueueMember[] = [\n  { initials: 'LW', name: 'Lena Wei', role: 'Engineering' },\n  { initials: 'JR', name: 'Joaquín Reyes', role: 'Engineering' },\n  { initials: 'PS', name: 'Priya Shah', role: 'Engineering' },\n]\n\n@Component({\n  changeDetection: ChangeDetectionStrategy.Eager,\n  selector: 'ui-hero-01, [ui-hero-01]',\n  standalone: true,\n  // React renders the root <section> itself: the host stays out of layout and `class` goes to the root.\n  host: { '[attr.class]': '\"contents\"' },\n  imports: [\n    LucideAngularModule,\n    UiAvatarComponent,\n    UiAvatarFallbackComponent,\n    UiBadgeComponent,\n    UiButtonComponent,\n    UiCardComponent,\n    UiCardContentComponent,\n    UiCardDescriptionComponent,\n    UiCardHeaderComponent,\n    UiCardTitleComponent,\n  ],\n  template: `\n    <section data-slot=\"hero-01\" [class]=\"rootClass\">\n      <div class=\"relative mx-auto max-w-6xl px-6 py-24 lg:py-32\">\n        <div class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n          <div class=\"space-y-6\">\n            <h1 class=\"text-4xl font-semibold tracking-tight sm:text-5xl lg:text-6xl\">\n              The platform your team will actually use.\n            </h1>\n            <p class=\"text-muted-foreground max-w-xl text-lg\">\n              One workspace for everything your team needs. Built on unbundled UI primitives — fast, accessible, easy to\n              customise.\n            </p>\n            <div class=\"flex flex-wrap items-center gap-3\">\n              <button ui-button size=\"lg\">\n                Start free trial\n                <lucide-icon [img]=\"ArrowRight\" class=\"ml-2 size-4\" />\n              </button>\n              <button ui-button size=\"lg\" variant=\"outline\">\n                <lucide-icon [img]=\"PlayCircle\" class=\"mr-2 size-4\" />\n                Watch demo (2 min)\n              </button>\n            </div>\n            <div class=\"text-muted-foreground flex flex-wrap items-center gap-x-6 gap-y-2 text-sm\">\n              <span>★★★★★ 4.9 on G2</span>\n              <span>14-day free trial</span>\n              <span>No credit card required</span>\n            </div>\n          </div>\n\n          <div class=\"relative\">\n            <div ui-card class=\"absolute -top-4 right-0 w-56 rotate-2 shadow-lg\">\n              <div ui-card-content class=\"space-y-1 p-4\">\n                <p class=\"text-muted-foreground text-xs uppercase\">Active users</p>\n                <p class=\"text-2xl font-semibold\">1,284</p>\n                <p class=\"text-success text-xs\">+8.2% MoM</p>\n              </div>\n            </div>\n            <div ui-card class=\"absolute top-32 -left-2 w-52 -rotate-3 shadow-lg\">\n              <div ui-card-content class=\"space-y-1 p-4\">\n                <p class=\"text-muted-foreground text-xs uppercase\">Uptime</p>\n                <p class=\"text-2xl font-semibold\">100%</p>\n                <p class=\"text-muted-foreground text-xs\">12 cycles, 0 misses</p>\n              </div>\n            </div>\n            <div ui-card class=\"ml-auto w-72 shadow-xl\">\n              <div ui-card-header>\n                <h3 ui-card-title class=\"text-base\">Onboarding queue</h3>\n                <p ui-card-description>3 starting Monday</p>\n              </div>\n              <div ui-card-content class=\"space-y-3\">\n                @for (member of onboardingQueue; track member.name) {\n                  <div class=\"flex items-center gap-3\">\n                    <ui-avatar class=\"size-8\">\n                      <ui-avatar-fallback>{{ member.initials }}</ui-avatar-fallback>\n                    </ui-avatar>\n                    <div class=\"flex-1\">\n                      <p class=\"text-sm font-medium\">{{ member.name }}</p>\n                      <p class=\"text-muted-foreground text-xs\">{{ member.role }}</p>\n                    </div>\n                    <span ui-badge variant=\"secondary\">Pending</span>\n                  </div>\n                }\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  `,\n})\nexport class UiHero01Component {\n  protected readonly ArrowRight = ArrowRight\n  protected readonly PlayCircle = PlayCircle\n\n  protected readonly onboardingQueue = queue\n\n  @Input('class') className?: string\n\n  get rootClass(): string {\n    return cn('bg-background relative overflow-hidden', this.className)\n  }\n}\n",
      "type": "registry:block",
      "target": "~/src/app/components/blocks/hero-01/hero-01.component.ts"
    },
    {
      "path": "packages/registry-angular/blocks/hero-01/index.ts",
      "content": "export { UiHero01Component } from './hero-01.component'\n",
      "type": "registry:block",
      "target": "~/src/app/components/blocks/hero-01/index.ts"
    }
  ],
  "dependencies": [
    "lucide-angular"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/angular/avatar.json",
    "https://uipkge.dev/r/angular/badge.json",
    "https://uipkge.dev/r/angular/button.json",
    "https://uipkge.dev/r/angular/card.json"
  ],
  "description": "Two-column hero with badge eyebrow, large headline, supporting copy, primary + outline CTAs, social proof row, and a collage of three rotated KPI cards (active users / uptime / onboarding queue) on the right.",
  "categories": [
    "marketing"
  ],
  "deprecated": true,
  "replacedBy": "hero"
}