{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-stagger-intro",
  "type": "registry:component",
  "title": "Hero Stagger Intro",
  "description": "A hero section whose eyebrow, headline lines, subtitle, buttons and product visual enter one after another with a rise, blur and fade. Change the replay key to play it again.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "motion",
    "hero",
    "intro",
    "stagger",
    "blur",
    "entrance",
    "sequence"
  ],
  "docs": "https://hyperblur.dev/effects/hero-stagger-intro",
  "files": [
    {
      "path": "registry/hyperblur/hero-stagger-intro.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/hero-stagger-intro.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface HeroStaggerIntroLink {\n  label: string;\n  href: string;\n}\n\nexport interface HeroStaggerIntroProps extends Omit<React.HTMLAttributes<HTMLElement>, \"children\" | \"title\"> {\n  eyebrow?: string;\n  lines?: string[];\n  subtitle?: string;\n  primary?: HeroStaggerIntroLink;\n  secondary?: HeroStaggerIntroLink | null;\n  visual?: React.ReactNode;\n  replay?: string | number;\n  stagger?: number;\n  duration?: number;\n  accent?: string;\n}\n\nconst css = `\n.hb-zb6 {\n  --hb-zb6-a: #3ddc97;\n  --hb-zb6-st: 120ms;\n  --hb-zb6-du: 900ms;\n  position: relative;\n  display: block;\n  width: 100%;\n  box-sizing: border-box;\n  container-type: inline-size;\n  overflow: hidden;\n  color: #ededed;\n  font-family: inherit;\n  background:\n    radial-gradient(50% 60% at 82% 30%, color-mix(in srgb, var(--hb-zb6-a) 13%, transparent), transparent 70%),\n    radial-gradient(40% 50% at 8% 100%, rgba(255, 255, 255, 0.04), transparent 70%);\n}\n.hb-zb6 *, .hb-zb6 *::before, .hb-zb6 *::after { box-sizing: border-box; font-family: inherit; }\n.hb-zb6-in {\n  display: grid;\n  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);\n  align-items: center;\n  gap: clamp(24px, 5.5cqw, 64px);\n  max-width: 1120px;\n  margin: 0 auto;\n  padding: clamp(36px, 7cqw, 96px) clamp(20px, 5cqw, 56px);\n}\n.hb-zb6-in[data-solo=\"true\"] { grid-template-columns: minmax(0, 1fr); }\n.hb-zb6-tx { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }\n.hb-zb6-it {\n  animation: hb-zb6-rise var(--hb-zb6-du) cubic-bezier(0.2, 0.8, 0.2, 1) both;\n  animation-delay: calc(var(--hb-zb6-i, 0) * var(--hb-zb6-st));\n}\n.hb-zb6-vi {\n  min-width: 0;\n  animation: hb-zb6-vrise calc(var(--hb-zb6-du) * 1.25) cubic-bezier(0.2, 0.8, 0.2, 1) both;\n  animation-delay: calc(var(--hb-zb6-i, 0) * var(--hb-zb6-st));\n}\n.hb-zb6-eb {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  padding: 5px 12px 5px 9px;\n  border-radius: 999px;\n  border: 1px solid rgba(255, 255, 255, 0.1);\n  background: rgba(255, 255, 255, 0.04);\n  font-size: 12px;\n  font-weight: 500;\n  color: #c9c9c9;\n  margin-bottom: clamp(14px, 2.4cqw, 22px);\n}\n.hb-zb6-eb i {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n  background: var(--hb-zb6-a);\n  box-shadow: 0 0 10px var(--hb-zb6-a);\n}\n.hb-zb6-h {\n  margin: 0;\n  font-size: clamp(30px, 5.2cqw, 60px);\n  font-weight: 650;\n  line-height: 1.03;\n  letter-spacing: -0.04em;\n  color: #ffffff;\n}\n.hb-zb6-hl { display: block; }\n.hb-zb6-hl[data-last=\"true\"] {\n  background: linear-gradient(95deg, #ffffff 0%, color-mix(in srgb, var(--hb-zb6-a) 70%, #ffffff) 100%);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n}\n.hb-zb6-sub {\n  margin: clamp(14px, 2.2cqw, 22px) 0 0;\n  max-width: 42ch;\n  font-size: clamp(14px, 1.9cqw, 18px);\n  line-height: 1.55;\n  color: #a1a1a1;\n}\n.hb-zb6-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3cqw, 30px); }\n.hb-zb6-b {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  padding: 11px 20px;\n  border-radius: 999px;\n  font-size: 14px;\n  font-weight: 600;\n  line-height: 1;\n  text-decoration: none;\n  color: #ededed;\n  border: 1px solid rgba(255, 255, 255, 0.14);\n  background: rgba(255, 255, 255, 0.04);\n  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;\n}\n.hb-zb6-b:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); }\n.hb-zb6-b:active { transform: scale(0.97); }\n.hb-zb6-b:focus-visible { outline: 2px solid var(--hb-zb6-a); outline-offset: 3px; }\n.hb-zb6-b[data-primary=\"true\"] {\n  color: #06130d;\n  border-color: transparent;\n  background: linear-gradient(180deg, color-mix(in srgb, var(--hb-zb6-a) 60%, #ffffff), var(--hb-zb6-a));\n  box-shadow: 0 8px 28px color-mix(in srgb, var(--hb-zb6-a) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.5);\n}\n.hb-zb6-b[data-primary=\"true\"]:hover { filter: brightness(1.06); }\n.hb-zb6-vis { position: relative; width: 100%; padding: 6px 0 18px; }\n.hb-zb6-win {\n  overflow: hidden;\n  border-radius: 16px;\n  border: 1px solid rgba(255, 255, 255, 0.1);\n  background: linear-gradient(180deg, #161616, #0f0f0f);\n  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);\n  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);\n}\n.hb-zb6-wb { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 11px; color: #8f8f8f; }\n.hb-zb6-wb i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }\n.hb-zb6-wb span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.hb-zb6-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.06); }\n.hb-zb6-k div { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; background: #121212; }\n.hb-zb6-k b { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; color: #ffffff; white-space: nowrap; }\n.hb-zb6-k span { font-size: 10.5px; color: #8f8f8f; white-space: nowrap; }\n.hb-zb6-sp { display: block; width: 100%; height: 64px; }\n.hb-zb6-rows { margin: 0; padding: 4px 0 6px; list-style: none; }\n.hb-zb6-rows li {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  padding: 6px 12px;\n  font-size: 11.5px;\n  color: #c9c9c9;\n  border-top: 1px solid rgba(255, 255, 255, 0.05);\n}\n.hb-zb6-rows li:first-child { border-top: 0; }\n.hb-zb6-rows em { font-style: normal; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--hb-zb6-a); }\n.hb-zb6-rows em[data-t=\"slow\"] { background: #ffb454; }\n.hb-zb6-rows code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, \"Geist Mono\", monospace; font-size: 11px; }\n.hb-zb6-rows span { flex: none; color: #8f8f8f; font-variant-numeric: tabular-nums; }\n.hb-zb6-chip {\n  position: absolute;\n  left: -4%;\n  bottom: 0;\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  padding: 8px 12px;\n  border-radius: 12px;\n  border: 1px solid rgba(255, 255, 255, 0.12);\n  background: rgba(24, 24, 24, 0.92);\n  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);\n  font-size: 11.5px;\n  color: #c9c9c9;\n  white-space: nowrap;\n  animation: hb-zb6-float 5.5s ease-in-out 2s infinite;\n}\n.hb-zb6-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--hb-zb6-a); box-shadow: 0 0 8px var(--hb-zb6-a); }\n.hb-zb6-chip b { color: var(--hb-zb6-a); font-weight: 650; }\n@container (max-width: 640px) {\n  .hb-zb6-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 20px 36px; }\n  .hb-zb6-h { font-size: clamp(30px, 9cqw, 44px); }\n  .hb-zb6-sub { font-size: 15px; }\n  .hb-zb6-win { transform: none; }\n  .hb-zb6-chip { left: 8px; }\n}\n@keyframes hb-zb6-rise {\n  from { opacity: 0; transform: translateY(26px); filter: blur(14px); }\n  to { opacity: 1; transform: none; filter: none; }\n}\n@keyframes hb-zb6-vrise {\n  from { opacity: 0; transform: translateY(44px) scale(0.94); filter: blur(18px); }\n  to { opacity: 1; transform: none; filter: none; }\n}\n@keyframes hb-zb6-float {\n  0%, 100% { transform: translateY(0); }\n  50% { transform: translateY(-7px); }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-zb6-it, .hb-zb6-vi, .hb-zb6-chip { animation: none; }\n  .hb-zb6-b { transition: none; }\n}\n`;\n\nconst defaultLines = [\"Know what broke\", \"before users do.\"];\n\nfunction Visual() {\n  const uid = React.useId().replace(/:/g, \"\");\n  return (\n    <div className=\"hb-zb6-vis\">\n      <div className=\"hb-zb6-win\">\n        <div className=\"hb-zb6-wb\">\n          <i />\n          <i />\n          <i />\n          <span>api.plume.dev / overview</span>\n        </div>\n        <div className=\"hb-zb6-k\">\n          <div>\n            <b>99.98%</b>\n            <span>Uptime</span>\n          </div>\n          <div>\n            <b>182 ms</b>\n            <span>p95 latency</span>\n          </div>\n          <div>\n            <b>0.04%</b>\n            <span>Error rate</span>\n          </div>\n        </div>\n        <svg className=\"hb-zb6-sp\" viewBox=\"0 0 300 64\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n          <defs>\n            <linearGradient id={`${uid}-g`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n              <stop offset=\"0\" style={{ stopColor: \"var(--hb-zb6-a)\", stopOpacity: 0.3 }} />\n              <stop offset=\"1\" style={{ stopColor: \"var(--hb-zb6-a)\", stopOpacity: 0 }} />\n            </linearGradient>\n          </defs>\n          <path\n            d=\"M0 46 C20 42 30 50 50 38 S80 26 100 33 S130 16 150 22 S190 10 210 18 S250 6 300 10 V64 H0 Z\"\n            fill={`url(#${uid}-g)`}\n          />\n          <path\n            d=\"M0 46 C20 42 30 50 50 38 S80 26 100 33 S130 16 150 22 S190 10 210 18 S250 6 300 10\"\n            fill=\"none\"\n            style={{ stroke: \"var(--hb-zb6-a)\", strokeWidth: 2, vectorEffect: \"non-scaling-stroke\" }}\n          />\n        </svg>\n        <ul className=\"hb-zb6-rows\">\n          <li>\n            <em />\n            <code>POST /v1/checkout</code>\n            <span>112 ms</span>\n          </li>\n          <li>\n            <em />\n            <code>GET /v1/orders</code>\n            <span>94 ms</span>\n          </li>\n          <li>\n            <em data-t=\"slow\" />\n            <code>POST /v1/webhooks</code>\n            <span>640 ms</span>\n          </li>\n        </ul>\n      </div>\n      <div className=\"hb-zb6-chip\">\n        <i />\n        Deploy 4f2a9c <b>p95 down 24%</b>\n      </div>\n    </div>\n  );\n}\n\nexport function HeroStaggerIntro({\n  eyebrow = \"Plume 2.0 is live\",\n  lines = defaultLines,\n  subtitle = \"Plume watches every endpoint, trace and deploy, then tells you what changed in plain words.\",\n  primary = { label: \"Start free\", href: \"#\" },\n  secondary = { label: \"Watch the demo\", href: \"#\" },\n  visual,\n  replay = 0,\n  stagger = 120,\n  duration = 900,\n  accent = \"#3ddc97\",\n  className = \"\",\n  style,\n  ...rest\n}: HeroStaggerIntroProps) {\n  const L = lines.length;\n  let order = 0;\n  const at = (i: number) => ({ \"--hb-zb6-i\": i }) as React.CSSProperties;\n  const eyebrowIndex = order++;\n  const lineIndex = lines.map(() => order++);\n  const subIndex = order++;\n  const ctaIndex = order++;\n  const visIndex = order++;\n  const showVisual = visual !== null;\n\n  return (\n    <section\n      className={`hb-zb6 ${className}`.trim()}\n      style={{ \"--hb-zb6-a\": accent, \"--hb-zb6-st\": `${stagger}ms`, \"--hb-zb6-du\": `${duration}ms`, ...style } as React.CSSProperties}\n      {...rest}\n    >\n      <style href=\"hb-hero-stagger-intro\" precedence=\"default\">{css}</style>\n      <div className=\"hb-zb6-in\" key={String(replay)} data-solo={showVisual ? \"false\" : \"true\"}>\n        <div className=\"hb-zb6-tx\">\n          {eyebrow ? (\n            <span className=\"hb-zb6-it hb-zb6-eb\" style={at(eyebrowIndex)}>\n              <i aria-hidden=\"true\" />\n              {eyebrow}\n            </span>\n          ) : null}\n          <h1 className=\"hb-zb6-h\">\n            {lines.map((line, i) => (\n              <span key={i} className=\"hb-zb6-it hb-zb6-hl\" data-last={i === L - 1 && L > 1 ? \"true\" : \"false\"} style={at(lineIndex[i])}>\n                {line}\n              </span>\n            ))}\n          </h1>\n          {subtitle ? (\n            <p className=\"hb-zb6-it hb-zb6-sub\" style={at(subIndex)}>\n              {subtitle}\n            </p>\n          ) : null}\n          <div className=\"hb-zb6-it hb-zb6-cta\" style={at(ctaIndex)}>\n            <a className=\"hb-zb6-b\" data-primary=\"true\" href={primary.href}>\n              {primary.label}\n            </a>\n            {secondary ? (\n              <a className=\"hb-zb6-b\" href={secondary.href}>\n                {secondary.label}\n              </a>\n            ) : null}\n          </div>\n        </div>\n        {showVisual ? (\n          <div className=\"hb-zb6-vi\" style={at(visIndex)}>\n            {visual ?? <Visual />}\n          </div>\n        ) : null}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}