{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-dot-wave",
  "type": "registry:component",
  "title": "Hero Dot Wave",
  "description": "Dusk-gradient sky with a dotted sun on the horizon and a wide perspective field of peach dot waves running edge to edge. Click to send ripples. Floating bottom dock navigation.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "hero",
    "hero",
    "wave",
    "ripple",
    "sunset",
    "canvas",
    "dots"
  ],
  "docs": "https://hyperblur.dev/effects/hero-dot-wave",
  "files": [
    {
      "path": "registry/hyperblur/hero-dot-wave.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/hero-dot-wave.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface HeroDotWaveLink {\n  label: string;\n  href: string;\n}\n\nexport interface HeroDotWaveProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  title?: string;\n  subtitle?: string;\n  caption?: string;\n  command?: string;\n  primaryCta?: HeroDotWaveLink | null;\n  brand?: string;\n  nav?: HeroDotWaveLink[];\n  navCta?: HeroDotWaveLink | null;\n  learnMore?: HeroDotWaveLink | null;\n  accent?: string;\n  density?: number;\n  speed?: number;\n  amplitude?: number;\n  ripples?: boolean;\n  headingAs?: \"h1\" | \"h2\";\n  onSearch?: () => void;\n}\n\nconst css = `\n@keyframes hb-hh6-up {\n  from { opacity: 0; transform: translate3d(0, 14px, 0); }\n  to { opacity: 1; transform: translate3d(0, 0, 0); }\n}\n.hb-hh6 {\n  --hb-hh6-accent: #ffd6b9;\n  --hb-hh6-ink: #1a0b3b;\n  --hb-hh6-mono: var(--font-mono, ui-monospace), \"Geist Mono\", SFMono-Regular, Menlo, Consolas, monospace;\n  position: relative;\n  isolation: isolate;\n  box-sizing: border-box;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 100%;\n  min-height: 760px;\n  overflow: hidden;\n  container-type: inline-size;\n  background: linear-gradient(180deg, #1a0b3b 0%, #2d1058 22%, #6b2a8a 40%, #c43d8f 56%, #ff5fa2 68%, #a8368f 72%, #4a1a6e 88%, #231048 100%);\n  color: #fff3ea;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-hh6 *, .hb-hh6 *::before, .hb-hh6 *::after { box-sizing: border-box; }\n.hb-hh6-canvas {\n  position: absolute;\n  inset: 0;\n  z-index: 0;\n  display: block;\n  width: 100%;\n  height: 100%;\n  pointer-events: none;\n}\n.hb-hh6-copy {\n  position: relative;\n  z-index: 2;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  gap: 18px;\n  width: 100%;\n  max-width: 1080px;\n  padding: clamp(44px, 6cqw, 84px) clamp(20px, 4cqw, 48px) 0;\n  text-align: center;\n}\n.hb-hh6-caption {\n  margin: 0;\n  padding: 6px 12px;\n  border: 1px solid rgba(255, 214, 185, 0.4);\n  border-radius: 8px;\n  background: rgba(26, 11, 59, 0.35);\n  color: #ffd6b9;\n  font-family: var(--hb-hh6-mono);\n  font-size: 11.5px;\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n  animation: hb-hh6-up 0.7s 0.05s ease both;\n}\n.hb-hh6-title {\n  max-width: 24ch;\n  margin: 0;\n  color: #fff3ea;\n  font-size: clamp(36px, 4.8cqw, 78px);\n  font-weight: 700;\n  line-height: 1.02;\n  letter-spacing: -0.04em;\n  text-wrap: balance;\n  text-shadow: 0 2px 40px rgba(26, 11, 59, 0.55);\n  animation: hb-hh6-up 0.8s 0.12s ease both;\n}\n.hb-hh6-sub {\n  max-width: 52ch;\n  margin: 0;\n  color: rgba(255, 238, 228, 0.86);\n  font-size: clamp(15px, 1.3cqw, 19px);\n  line-height: 1.5;\n  text-wrap: balance;\n  animation: hb-hh6-up 0.8s 0.22s ease both;\n}\n.hb-hh6-row {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: center;\n  gap: 12px;\n  margin-top: 6px;\n  animation: hb-hh6-up 0.8s 0.32s ease both;\n}\n.hb-hh6-cta {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  padding: 13px 22px;\n  border-radius: 8px;\n  background: var(--hb-hh6-accent);\n  color: var(--hb-hh6-ink);\n  font-size: 15px;\n  font-weight: 650;\n  text-decoration: none;\n  transition: transform 0.18s ease, filter 0.18s ease;\n}\n.hb-hh6-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }\n.hb-hh6-cmd {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  max-width: 100%;\n  padding: 5px 5px 5px 14px;\n  border: 1px solid rgba(255, 214, 185, 0.38);\n  border-radius: 8px;\n  background: rgba(26, 11, 59, 0.5);\n  color: #ffe9dc;\n  font-family: var(--hb-hh6-mono);\n  font-size: 13px;\n}\n.hb-hh6-prompt { color: #ff8fbb; }\n.hb-hh6-code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hb-hh6-copybtn {\n  appearance: none;\n  display: grid;\n  place-items: center;\n  width: 32px;\n  height: 32px;\n  flex: none;\n  border: 0;\n  border-radius: 6px;\n  background: rgba(255, 214, 185, 0.14);\n  color: #ffd6b9;\n  cursor: pointer;\n  transition: background 0.18s ease;\n}\n.hb-hh6-copybtn:hover { background: rgba(255, 214, 185, 0.26); }\n.hb-hh6-more {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  color: #ffd6b9;\n  font-size: 14px;\n  font-weight: 600;\n  text-decoration: none;\n}\n.hb-hh6-more:hover { text-decoration: underline; text-underline-offset: 4px; }\n.hb-hh6-dock {\n  position: absolute;\n  left: 50%;\n  bottom: 22px;\n  z-index: 3;\n  display: flex;\n  align-items: center;\n  gap: 4px;\n  max-width: calc(100% - 28px);\n  padding: 6px;\n  border: 1px solid rgba(255, 214, 185, 0.28);\n  border-radius: 8px;\n  background: rgba(26, 11, 59, 0.66);\n  backdrop-filter: blur(14px);\n  -webkit-backdrop-filter: blur(14px);\n  box-shadow: 0 18px 50px rgba(10, 4, 30, 0.5);\n  transform: translateX(-50%);\n}\n.hb-hh6-brand {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  padding: 8px 14px 8px 10px;\n  color: #fff3ea;\n  font-size: 15px;\n  font-weight: 700;\n  letter-spacing: -0.02em;\n  text-decoration: none;\n  border-right: 1px solid rgba(255, 214, 185, 0.22);\n  margin-right: 4px;\n}\n.hb-hh6-links {\n  display: flex;\n  align-items: center;\n  gap: 2px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-hh6-link, .hb-hh6-search {\n  appearance: none;\n  display: inline-flex;\n  align-items: center;\n  border: 0;\n  border-radius: 6px;\n  background: none;\n  padding: 9px 13px;\n  color: rgba(255, 238, 228, 0.82);\n  font: inherit;\n  font-size: 14px;\n  font-weight: 550;\n  text-decoration: none;\n  white-space: nowrap;\n  cursor: pointer;\n  transition: background 0.16s ease, color 0.16s ease;\n}\n.hb-hh6-link:hover, .hb-hh6-search:hover { background: rgba(255, 214, 185, 0.14); color: #fff; }\n.hb-hh6-navcta {\n  margin-left: 4px;\n  padding: 9px 14px;\n  border-radius: 6px;\n  background: var(--hb-hh6-accent);\n  color: var(--hb-hh6-ink);\n  font-size: 14px;\n  font-weight: 650;\n  text-decoration: none;\n  white-space: nowrap;\n}\n.hb-hh6-link:focus-visible, .hb-hh6-search:focus-visible, .hb-hh6-cta:focus-visible, .hb-hh6-copybtn:focus-visible, .hb-hh6-more:focus-visible, .hb-hh6-brand:focus-visible, .hb-hh6-navcta:focus-visible {\n  outline: 2px solid #ffd6b9;\n  outline-offset: 2px;\n}\n.hb-hh6-sr {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  overflow: hidden;\n  clip: rect(0 0 0 0);\n  white-space: nowrap;\n}\n@container (max-width: 640px) {\n  .hb-hh6 { min-height: 780px; }\n  .hb-hh6-title { font-size: clamp(34px, 10.5cqw, 52px); }\n  .hb-hh6-copy { gap: 14px; }\n  .hb-hh6-brand { padding-right: 10px; }\n  .hb-hh6-link, .hb-hh6-search { padding: 9px 9px; font-size: 13px; }\n  .hb-hh6-navcta { display: none; }\n  .hb-hh6-cmd { font-size: 12px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-hh6-caption, .hb-hh6-title, .hb-hh6-sub, .hb-hh6-row { animation: none; }\n  .hb-hh6-cta, .hb-hh6-copybtn, .hb-hh6-link, .hb-hh6-search { transition: none; }\n}\n`;\n\nconst defaultNav: HeroDotWaveLink[] = [\n  { label: \"Product\", href: \"#\" },\n  { label: \"Pricing\", href: \"#\" },\n  { label: \"Docs\", href: \"#\" },\n];\nconst defaultNavCta: HeroDotWaveLink = { label: \"Log in\", href: \"#\" };\nconst defaultPrimary: HeroDotWaveLink = { label: \"Start free\", href: \"#\" };\nconst defaultMore: HeroDotWaveLink = { label: \"How it works\", href: \"#\" };\n\nconst TAU = Math.PI * 2;\nconst HORIZON = 0.68;\nconst ROWS = 52;\nconst MAX_RIPPLES = 6;\n\nfunction hash(n: number, salt: number) {\n  const s = Math.sin(n * 127.1 + salt * 311.7) * 43758.5453;\n  return s - Math.floor(s);\n}\n\nfunction smooth(x: number) {\n  if (x <= 0) return 0;\n  if (x >= 1) return 1;\n  return x * x * (3 - 2 * x);\n}\n\nfunction hexRgb(value: string): [number, number, number] | null {\n  const m = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(value.trim());\n  if (!m) return null;\n  let h = m[1];\n  if (h.length === 3) h = h.split(\"\").map((c) => c + c).join(\"\");\n  return [parseInt(h.slice(0, 2), 16), parseInt(h.slice(2, 4), 16), parseInt(h.slice(4, 6), 16)];\n}\n\nfunction resolveRgb(value: string, ctx: CanvasRenderingContext2D): [number, number, number] {\n  const hex = hexRgb(value);\n  if (hex) return hex;\n  ctx.fillStyle = \"#ffd6b9\";\n  ctx.fillStyle = value;\n  const out = String(ctx.fillStyle);\n  const h2 = hexRgb(out);\n  if (h2) return h2;\n  const nums = out.match(/[\\d.]+/g);\n  if (nums && nums.length >= 3) return [Number(nums[0]), Number(nums[1]), Number(nums[2])];\n  return [255, 214, 185];\n}\n\nfunction inkFor(accent: string) {\n  const rgb = hexRgb(accent);\n  if (!rgb) return \"#1a0b3b\";\n  const lum = (0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]) / 255;\n  return lum > 0.5 ? \"#1a0b3b\" : \"#ffffff\";\n}\n\nfunction waveHeight(x: number, z: number, t: number) {\n  return (\n    0.12 * Math.sin(1.3 * x + 0.8 * z - 1.2 * t) +\n    0.08 * Math.sin(-0.9 * x + 1.7 * z + 0.85 * t + 1.3) +\n    0.045 * Math.sin(2.6 * x - 1.2 * z + 1.7 * t + 0.4)\n  );\n}\n\nfunction rippleHeight(d: number, age: number, amp: number) {\n  const g = d - 1.5 * age;\n  return amp * Math.exp(-age * 0.5) * Math.exp(-g * g * 2.2) * Math.cos(g * 5.5) * smooth(age / 0.25);\n}\n\nfunction Mark() {\n  return (\n    <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n      <circle cx=\"12\" cy=\"8\" r=\"4.5\" fill=\"#ffd6b9\" />\n      <path d=\"M2 14.5c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2\" stroke=\"#ff8fbb\" strokeWidth=\"2\" strokeLinecap=\"round\" />\n      <path d=\"M2 19.5c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2\" stroke=\"#ffd6b9\" strokeWidth=\"2\" strokeLinecap=\"round\" />\n    </svg>\n  );\n}\n\ninterface Ripple {\n  x: number;\n  z: number;\n  born: number;\n}\n\nexport function HeroDotWave({\n  title = \"See the swell before it breaks.\",\n  subtitle = \"Real-time observability that folds noisy telemetry into one calm surface, traced to the line that caused it.\",\n  caption = \"120M events per minute\",\n  command = \"npx shadcn@latest add https://hyperblur.dev/r/hero-dot-wave.json\",\n  primaryCta = defaultPrimary,\n  brand = \"Tideline\",\n  nav = defaultNav,\n  navCta = defaultNavCta,\n  learnMore = defaultMore,\n  accent = \"#ffd6b9\",\n  density = 1,\n  speed = 1,\n  amplitude = 1,\n  ripples = true,\n  headingAs = \"h1\",\n  onSearch,\n  className = \"\",\n  style,\n  ...rest\n}: HeroDotWaveProps) {\n  const rootRef = React.useRef<HTMLElement>(null);\n  const canvasRef = React.useRef<HTMLCanvasElement>(null);\n  const timerRef = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n  const [copied, setCopied] = React.useState(false);\n\n  React.useEffect(() => {\n    const root = rootRef.current;\n    const canvas = canvasRef.current;\n    const ctx = canvas?.getContext(\"2d\");\n    if (!root || !canvas || !ctx) return;\n    const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n    const mult = Math.min(2, Math.max(0.3, Number.isFinite(density) ? density : 1));\n    const pace = Math.max(0, Number.isFinite(speed) ? speed : 1);\n    const amp = Math.max(0, Number.isFinite(amplitude) ? amplitude : 1);\n    const acc = resolveRgb(accent, ctx);\n    const far: [number, number, number] = [255, 130, 180];\n\n    const rowFill: string[] = [];\n    for (let r = 0; r < ROWS; r++) {\n      const q = r / (ROWS - 1);\n      const m = Math.pow(q, 0.8);\n      const cr = Math.round(far[0] + (acc[0] - far[0]) * m);\n      const cg = Math.round(far[1] + (acc[1] - far[1]) * m);\n      const cb = Math.round(far[2] + (acc[2] - far[2]) * m);\n      rowFill.push(`rgba(${cr}, ${cg}, ${cb}, ${(0.3 + 0.7 * Math.pow(q, 0.6)).toFixed(3)})`);\n    }\n\n    const stars = 70;\n    const starX = new Float32Array(stars);\n    const starY = new Float32Array(stars);\n    for (let k = 0; k < stars; k++) {\n      starX[k] = hash(k, 21);\n      starY[k] = Math.pow(hash(k, 22), 1.3) * 0.5;\n    }\n\n    const rip: Ripple[] = [];\n    let w = 0;\n    let h = 0;\n    let dpr = 1;\n    let horizon = 0;\n    let raf = 0;\n    let visible = true;\n    let start = 0;\n    let lastSpawn = 0;\n\n    const layout = () => {\n      const rect = root.getBoundingClientRect();\n      w = Math.max(1, rect.width);\n      h = Math.max(1, rect.height);\n      dpr = Math.min(2, window.devicePixelRatio || 1);\n      canvas.width = Math.round(w * dpr);\n      canvas.height = Math.round(h * dpr);\n      horizon = h * HORIZON;\n    };\n\n    const draw = (now: number) => {\n      const tt = reduce ? 3.4 : ((now - start) / 1000) * pace;\n      const sec = (now - start) / 1000;\n      ctx.setTransform(dpr, 0, 0, dpr, 0, 0);\n      ctx.clearRect(0, 0, w, h);\n      const narrow = w < 640;\n      const grow = reduce ? 1 : smooth(sec / 1.6);\n\n      ctx.fillStyle = \"#ffd6b9\";\n      for (let k = 0; k < stars; k++) {\n        const tw = reduce ? 0.7 : 0.45 + 0.55 * Math.sin(sec * (0.8 + hash(k, 23)) + k);\n        ctx.globalAlpha = 0.55 * tw * grow;\n        const s = hash(k, 24) > 0.8 ? 2 : 1.2;\n        ctx.fillRect(starX[k] * w, starY[k] * horizon * 1.2 + 4, s, s);\n      }\n      ctx.globalAlpha = 1;\n\n      const sunR = narrow ? w * 0.2 : Math.min(w * 0.17, h * 0.23);\n      const sunY = horizon;\n      const sunCount = Math.round((narrow ? 520 : 760) * Math.min(1.5, mult));\n      const gold = 2.399963;\n      for (let k = 0; k < sunCount; k++) {\n        const rr = Math.sqrt((k + 0.5) / sunCount);\n        const a = k * gold;\n        const px = w * 0.5 + Math.cos(a) * rr * sunR;\n        const py = sunY + Math.sin(a) * rr * sunR;\n        if (py > horizon + 1) continue;\n        const depthK = (horizon - py) / sunR;\n        if (depthK < 0.46) {\n          const band = sunR * 0.1;\n          const fr = ((horizon - py) / band) % 1;\n          if (fr < 0.62 - depthK * 1.1) continue;\n        }\n        const gradient = Math.min(1, Math.max(0, (py - (sunY - sunR)) / sunR));\n        const pulse = reduce ? 1 : 1 + 0.12 * Math.sin(sec * 1.4 + k * 0.05);\n        const rad = (narrow ? 1.5 : 2.3) * (0.85 + 0.5 * (1 - rr * 0.3)) * pulse * grow;\n        const cr = Math.round(255);\n        const cg = Math.round(238 - gradient * 96);\n        const cb = Math.round(200 - gradient * 56);\n        ctx.fillStyle = `rgba(${cr}, ${cg}, ${cb}, ${(1 - rr * 0.1).toFixed(2)})`;\n        ctx.beginPath();\n        ctx.arc(px, py, rad, 0, TAU);\n        ctx.fill();\n      }\n\n      const f = w * 0.9;\n      const H = h - horizon;\n      const cols = Math.max(24, Math.round((w / (narrow ? 12 : 17)) * mult));\n      const span = w * 1.16;\n      for (let r = 0; r < ROWS; r++) {\n        const q = (r + 1) / ROWS;\n        const off = H * Math.pow(q, 2.1);\n        const z = f / off;\n        const near = off / H;\n        ctx.fillStyle = rowFill[r];\n        ctx.beginPath();\n        const rad = (0.55 + 3.4 * Math.pow(near, 0.9)) * (narrow ? 0.62 : 1) * grow;\n        const shift = (r % 2) * 0.5;\n        for (let i = 0; i < cols; i++) {\n          const sxn = (i + shift) / cols - 0.5;\n          const px = w * 0.5 + sxn * span;\n          const xw = sxn * span * (z / f);\n          const gx = xw * 0.5;\n          const gz = z * 0.5;\n          let y = waveHeight(gx, gz, tt) * 1.3 * amp;\n          for (let k = 0; k < rip.length; k++) {\n            const age = (now - rip[k].born) / 1000;\n            if (age > 5) continue;\n            const d = Math.hypot(gx - rip[k].x * 0.5, gz - rip[k].z * 0.5);\n            y += rippleHeight(d, age, 0.3 * amp);\n          }\n          const py = horizon + off - (y * f) / z;\n          if (py < horizon) continue;\n          const bump = 1 + Math.max(0, y) * 3.2;\n          const rr = rad * bump;\n          ctx.moveTo(px + rr, py);\n          ctx.arc(px, py, rr, 0, TAU);\n        }\n        ctx.fill();\n      }\n      while (rip.length && (now - rip[0].born) / 1000 > 5) rip.shift();\n    };\n\n    const frame = (now: number) => {\n      raf = 0;\n      draw(now);\n      if (visible && !document.hidden) raf = requestAnimationFrame(frame);\n    };\n    const schedule = () => {\n      if (reduce || raf) return;\n      raf = requestAnimationFrame(frame);\n    };\n    const stop = () => {\n      if (raf) cancelAnimationFrame(raf);\n      raf = 0;\n    };\n    const spawn = (e: PointerEvent, force: boolean) => {\n      const now = performance.now();\n      if (!force && now - lastSpawn < 650) return;\n      const rect = root.getBoundingClientRect();\n      const px = e.clientX - rect.left;\n      const py = e.clientY - rect.top;\n      const off = py - horizon;\n      if (off < h * 0.02) return;\n      lastSpawn = now;\n      const z = (w * 0.9) / off;\n      rip.push({ x: (px - w * 0.5) * (z / (w * 0.9)), z, born: now });\n      if (rip.length > MAX_RIPPLES) rip.shift();\n    };\n    const onMove = (e: PointerEvent) => spawn(e, false);\n    const onDown = (e: PointerEvent) => spawn(e, true);\n    const onVisibility = () => {\n      if (document.hidden) stop();\n      else schedule();\n    };\n\n    layout();\n    start = performance.now();\n    draw(start);\n    const ro = new ResizeObserver(() => {\n      layout();\n      draw(performance.now());\n    });\n    ro.observe(root);\n    const io = new IntersectionObserver((entries) => {\n      visible = entries[0]?.isIntersecting ?? true;\n      if (visible) schedule();\n      else stop();\n    });\n    io.observe(root);\n    if (ripples && !reduce) {\n      root.addEventListener(\"pointermove\", onMove);\n      root.addEventListener(\"pointerdown\", onDown);\n    }\n    document.addEventListener(\"visibilitychange\", onVisibility);\n    schedule();\n\n    return () => {\n      stop();\n      ro.disconnect();\n      io.disconnect();\n      root.removeEventListener(\"pointermove\", onMove);\n      root.removeEventListener(\"pointerdown\", onDown);\n      document.removeEventListener(\"visibilitychange\", onVisibility);\n    };\n  }, [accent, density, speed, amplitude, ripples]);\n\n  React.useEffect(() => {\n    return () => {\n      if (timerRef.current) clearTimeout(timerRef.current);\n    };\n  }, []);\n\n  function copy() {\n    navigator.clipboard?.writeText(command).catch(() => undefined);\n    setCopied(true);\n    if (timerRef.current) clearTimeout(timerRef.current);\n    timerRef.current = setTimeout(() => setCopied(false), 1600);\n  }\n\n  const Heading = headingAs;\n  const vars = { \"--hb-hh6-accent\": accent, \"--hb-hh6-ink\": inkFor(accent), ...style } as React.CSSProperties;\n\n  return (\n    <section ref={rootRef} className={`hb-hh6 ${className}`} style={vars} {...rest}>\n      <style href=\"hb-hero-dot-wave\" precedence=\"default\">{css}</style>\n      <canvas ref={canvasRef} className=\"hb-hh6-canvas\" aria-hidden=\"true\" />\n      <div className=\"hb-hh6-copy\">\n        {caption ? <p className=\"hb-hh6-caption\">{caption}</p> : null}\n        <Heading className=\"hb-hh6-title\">{title}</Heading>\n        {subtitle ? <p className=\"hb-hh6-sub\">{subtitle}</p> : null}\n        {command || primaryCta || learnMore ? (\n          <div className=\"hb-hh6-row\">\n            {primaryCta ? (\n              <a className=\"hb-hh6-cta\" href={primaryCta.href}>\n                {primaryCta.label}\n                <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.4\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                  <path d=\"M9 6l6 6-6 6\" />\n                </svg>\n              </a>\n            ) : null}\n            {command ? (\n              <div className=\"hb-hh6-cmd\">\n                <span className=\"hb-hh6-prompt\" aria-hidden=\"true\">$</span>\n                <code className=\"hb-hh6-code\">{command}</code>\n                <button type=\"button\" className=\"hb-hh6-copybtn\" onClick={copy} aria-label={copied ? \"Copied\" : \"Copy command\"}>\n                  {copied ? (\n                    <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                      <path d=\"M5 12.5l4.5 4.5L19 7.5\" />\n                    </svg>\n                  ) : (\n                    <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.9\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                      <rect x=\"8.5\" y=\"8.5\" width=\"11\" height=\"11\" rx=\"2\" />\n                      <path d=\"M15.5 8.5V6.7a2.2 2.2 0 0 0-2.2-2.2H6.7a2.2 2.2 0 0 0-2.2 2.2v6.6a2.2 2.2 0 0 0 2.2 2.2h1.8\" />\n                    </svg>\n                  )}\n                  <span className=\"hb-hh6-sr\" aria-live=\"polite\">{copied ? \"Copied\" : \"\"}</span>\n                </button>\n              </div>\n            ) : null}\n            {learnMore ? (\n              <a className=\"hb-hh6-more\" href={learnMore.href}>\n                {learnMore.label}\n              </a>\n            ) : null}\n          </div>\n        ) : null}\n      </div>\n      <header className=\"hb-hh6-dock\">\n        <a className=\"hb-hh6-brand\" href=\"#\">\n          <Mark />\n          <span>{brand}</span>\n        </a>\n        {nav.length ? (\n          <nav aria-label=\"Primary\">\n            <ul className=\"hb-hh6-links\">\n              {nav.map((item) => (\n                <li key={item.label}>\n                  <a className=\"hb-hh6-link\" href={item.href}>\n                    {item.label}\n                  </a>\n                </li>\n              ))}\n            </ul>\n          </nav>\n        ) : null}\n        <button type=\"button\" className=\"hb-hh6-search\" aria-label=\"Search\" onClick={onSearch}>\n          <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" aria-hidden=\"true\">\n            <circle cx=\"11\" cy=\"11\" r=\"6.5\" />\n            <path d=\"M16 16l4.5 4.5\" />\n          </svg>\n        </button>\n        {navCta ? (\n          <a className=\"hb-hh6-navcta\" href={navCta.href}>\n            {navCta.label}\n          </a>\n        ) : null}\n      </header>\n    </section>\n  );\n}\n"
    }
  ]
}