{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "download-install-tabs",
  "type": "registry:component",
  "title": "Download: Install Tabs",
  "description": "A light developer install block with tabs for npm, pnpm, yarn and brew. The command types itself out on every switch and each box has a copy button with a copied state.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "download",
    "install",
    "cli",
    "npm",
    "tabs",
    "copy",
    "developer"
  ],
  "docs": "https://hyperblur.dev/effects/download-install-tabs",
  "files": [
    {
      "path": "registry/hyperblur/download-install-tabs.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/download-install-tabs.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface DownloadInstallManager {\n  id: string;\n  label: string;\n  command: string;\n}\n\nexport interface DownloadInstallRequirement {\n  label: string;\n  detail?: string;\n}\n\nexport interface DownloadInstallLink {\n  label: string;\n  href: string;\n}\n\nexport interface DownloadInstallTabsProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  managers?: DownloadInstallManager[];\n  manager?: string;\n  defaultManager?: string;\n  onManagerChange?: (id: string) => void;\n  onCommandCopy?: (command: string) => void;\n  verifyCommand?: string;\n  verifyOutput?: string;\n  startCommand?: string;\n  requirements?: DownloadInstallRequirement[];\n  version?: string;\n  license?: string;\n  links?: DownloadInstallLink[];\n  accent?: string;\n}\n\nconst css = `\n@keyframes hb-kh7-type { from { width: 0; } }\n@keyframes hb-kh7-blink { 50% { opacity: 0; } }\n@keyframes hb-kh7-pop {\n  0% { transform: scale(0.6); opacity: 0; }\n  60% { transform: scale(1.12); opacity: 1; }\n  100% { transform: scale(1); }\n}\n.hb-kh7 {\n  --hb-kh7-accent: #10b981;\n  --hb-kh7-ink: #161616;\n  --hb-kh7-muted: #6b6b6b;\n  --hb-kh7-mono: var(--font-mono, ui-monospace), SFMono-Regular, Menlo, Consolas, monospace;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  overflow: hidden;\n  container-type: inline-size;\n  background: #fbfbf9;\n  color: var(--hb-kh7-ink);\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-kh7 *, .hb-kh7 *::before, .hb-kh7 *::after { box-sizing: border-box; }\n.hb-kh7::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  background:\n    radial-gradient(40% 50% at 80% 30%, color-mix(in srgb, var(--hb-kh7-accent) 12%, transparent), transparent 70%),\n    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 100% 32px;\n  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);\n  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);\n}\n.hb-kh7-in {\n  position: relative;\n  display: grid;\n  grid-template-columns: 1fr;\n  gap: 40px;\n  max-width: 1120px;\n  margin: 0 auto;\n  padding: 72px 20px 80px;\n}\n.hb-kh7-copy { min-width: 0; }\n.hb-kh7-eyebrow {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  color: color-mix(in srgb, var(--hb-kh7-accent) 70%, #000000);\n  font-family: var(--hb-kh7-mono);\n  font-size: 12.5px;\n  font-weight: 500;\n}\n.hb-kh7-eyebrow::before { content: \">\"; opacity: 0.6; }\n.hb-kh7-title {\n  margin: 14px 0 0;\n  font-size: clamp(32px, 4.6cqw, 48px);\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -0.04em;\n  text-wrap: balance;\n}\n.hb-kh7-sub {\n  max-width: 460px;\n  margin: 16px 0 0;\n  color: var(--hb-kh7-muted);\n  font-size: 16px;\n  line-height: 1.6;\n  text-wrap: pretty;\n}\n.hb-kh7-reqh {\n  margin: 30px 0 0;\n  color: var(--hb-kh7-ink);\n  font-size: 13px;\n  font-weight: 600;\n}\n.hb-kh7-reqs {\n  display: grid;\n  gap: 2px;\n  margin: 10px 0 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-kh7-req {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n  padding: 10px 0;\n  border-top: 1px solid rgba(0, 0, 0, 0.07);\n  font-size: 14.5px;\n}\n.hb-kh7-req:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.07); }\n.hb-kh7-ok {\n  display: grid;\n  flex: none;\n  place-items: center;\n  width: 20px;\n  height: 20px;\n  border-radius: 50%;\n  background: color-mix(in srgb, var(--hb-kh7-accent) 15%, #ffffff);\n  color: color-mix(in srgb, var(--hb-kh7-accent) 75%, #000000);\n}\n.hb-kh7-ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }\n.hb-kh7-req span:nth-child(2) { flex: 1; min-width: 0; }\n.hb-kh7-req small { color: var(--hb-kh7-muted); font-size: 12.5px; white-space: nowrap; }\n.hb-kh7-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; }\n.hb-kh7-links a {\n  color: var(--hb-kh7-ink);\n  font-weight: 500;\n  text-decoration: none;\n  border-bottom: 1px solid rgba(0, 0, 0, 0.2);\n  transition: border-color 0.2s ease, color 0.2s ease;\n}\n.hb-kh7-links a:hover { border-color: var(--hb-kh7-accent); color: color-mix(in srgb, var(--hb-kh7-accent) 70%, #000000); }\n.hb-kh7-links a:focus-visible { outline: 2px solid var(--hb-kh7-accent); outline-offset: 3px; border-radius: 2px; }\n.hb-kh7-card {\n  position: relative;\n  min-width: 0;\n  align-self: start;\n  padding: 8px;\n  border: 1px solid rgba(0, 0, 0, 0.08);\n  border-radius: 22px;\n  background: #ffffff;\n  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 1px 2px rgba(0, 0, 0, 0.04), 0 30px 60px -36px rgba(0, 0, 0, 0.3);\n}\n.hb-kh7-tabs {\n  position: relative;\n  display: grid;\n  grid-template-columns: repeat(var(--hb-kh7-n), minmax(0, 1fr));\n  padding: 4px;\n  border-radius: 14px;\n  background: #f2f1ed;\n}\n.hb-kh7-ind {\n  position: absolute;\n  top: 4px;\n  bottom: 4px;\n  left: 4px;\n  width: calc((100% - 8px) / var(--hb-kh7-n));\n  border-radius: 10px;\n  background: #ffffff;\n  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.12);\n  transform: translateX(calc(var(--hb-kh7-i) * 100%));\n  transition: transform 0.35s cubic-bezier(0.3, 0.9, 0.3, 1);\n}\n.hb-kh7-tab {\n  position: relative;\n  z-index: 1;\n  height: 34px;\n  margin: 0;\n  padding: 0 8px;\n  border: 0;\n  border-radius: 10px;\n  background: transparent;\n  color: var(--hb-kh7-muted);\n  font-family: var(--hb-kh7-mono);\n  font-size: 13px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: color 0.2s ease;\n}\n.hb-kh7-tab:hover { color: var(--hb-kh7-ink); }\n.hb-kh7-tab[aria-selected=\"true\"] { color: var(--hb-kh7-ink); }\n.hb-kh7-tab:focus-visible { outline: 2px solid var(--hb-kh7-accent); outline-offset: -2px; }\n.hb-kh7-steps { display: grid; gap: 14px; padding: 18px 12px 8px; }\n.hb-kh7-step { min-width: 0; }\n.hb-kh7-sl {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  margin-bottom: 8px;\n  color: var(--hb-kh7-muted);\n  font-size: 12.5px;\n  font-weight: 500;\n}\n.hb-kh7-sl b {\n  display: grid;\n  place-items: center;\n  width: 18px;\n  height: 18px;\n  border-radius: 50%;\n  background: var(--hb-kh7-ink);\n  color: #ffffff;\n  font-size: 10.5px;\n  font-weight: 700;\n}\n.hb-kh7-box {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  min-width: 0;\n  height: 50px;\n  padding: 0 6px 0 14px;\n  border: 1px solid rgba(0, 0, 0, 0.08);\n  border-radius: 12px;\n  background: #f8f7f4;\n  font-family: var(--hb-kh7-mono);\n  font-size: 13.5px;\n}\n.hb-kh7-box[data-main=\"true\"] {\n  height: 56px;\n  border-color: color-mix(in srgb, var(--hb-kh7-accent) 35%, rgba(0, 0, 0, 0.08));\n  background: color-mix(in srgb, var(--hb-kh7-accent) 5%, #ffffff);\n  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hb-kh7-accent) 9%, transparent);\n}\n.hb-kh7-ps { flex: none; color: color-mix(in srgb, var(--hb-kh7-accent) 75%, #000000); user-select: none; }\n.hb-kh7-cmd {\n  display: flex;\n  flex: 1;\n  align-items: center;\n  min-width: 0;\n  overflow-x: auto;\n  white-space: nowrap;\n  scrollbar-width: none;\n}\n.hb-kh7-cmd::-webkit-scrollbar { display: none; }\n.hb-kh7-type {\n  display: inline-block;\n  flex: none;\n  overflow: hidden;\n  width: calc(var(--hb-kh7-len) * 1ch);\n  white-space: pre;\n  vertical-align: bottom;\n  animation: hb-kh7-type calc(var(--hb-kh7-len) * 28ms) steps(var(--hb-kh7-len), end) both;\n}\n.hb-kh7-caret {\n  display: inline-block;\n  flex: none;\n  width: 8px;\n  height: 17px;\n  margin-left: 2px;\n  background: color-mix(in srgb, var(--hb-kh7-accent) 70%, #000000);\n  animation: hb-kh7-blink 1s steps(1) infinite;\n}\n.hb-kh7-out {\n  margin: 6px 0 0 14px;\n  color: var(--hb-kh7-muted);\n  font-family: var(--hb-kh7-mono);\n  font-size: 12.5px;\n}\n.hb-kh7-copy {\n  display: inline-flex;\n  flex: none;\n  align-items: center;\n  justify-content: center;\n  gap: 6px;\n  min-width: 82px;\n  height: 36px;\n  margin: 0;\n  padding: 0 12px;\n  border: 1px solid rgba(0, 0, 0, 0.08);\n  border-radius: 9px;\n  background: #ffffff;\n  color: var(--hb-kh7-ink);\n  font: inherit;\n  font-family: inherit;\n  font-size: 12.5px;\n  font-weight: 600;\n  cursor: pointer;\n  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;\n}\n.hb-kh7-copy:hover { border-color: rgba(0, 0, 0, 0.18); }\n.hb-kh7-copy:active { transform: scale(0.96); }\n.hb-kh7-copy:focus-visible { outline: 2px solid var(--hb-kh7-accent); outline-offset: 2px; }\n.hb-kh7-copy[data-done=\"true\"] {\n  border-color: transparent;\n  background: var(--hb-kh7-accent);\n  color: #ffffff;\n}\n.hb-kh7-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }\n.hb-kh7-copy[data-done=\"true\"] svg { animation: hb-kh7-pop 0.35s ease both; }\n.hb-kh7-box:not([data-main=\"true\"]) .hb-kh7-copy { min-width: 0; width: 36px; padding: 0; }\n.hb-kh7-foot {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 8px 14px;\n  margin-top: 10px;\n  padding: 12px 12px 6px;\n  border-top: 1px dashed rgba(0, 0, 0, 0.1);\n  color: var(--hb-kh7-muted);\n  font-size: 12.5px;\n}\n.hb-kh7-ver { display: inline-flex; align-items: center; gap: 8px; }\n.hb-kh7-ver::before {\n  content: \"\";\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n  background: var(--hb-kh7-accent);\n  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hb-kh7-accent) 18%, transparent);\n}\n.hb-kh7-ver b { color: var(--hb-kh7-ink); font-weight: 600; font-family: var(--hb-kh7-mono); }\n.hb-kh7-sr {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  clip-path: inset(50%);\n  white-space: nowrap;\n}\n@container (min-width: 720px) {\n  .hb-kh7-in { padding: 96px 40px 104px; }\n  .hb-kh7-steps { padding: 20px 16px 8px; }\n}\n@container (min-width: 860px) {\n  .hb-kh7-in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 64px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-kh7 *, .hb-kh7 *::before, .hb-kh7 *::after { animation: none !important; transition: none !important; }\n}\n`;\n\nconst defaultManagers: DownloadInstallManager[] = [\n  { id: \"npm\", label: \"npm\", command: \"npx shadcn@latest add https://hyperblur.dev/r/download-install-tabs.json\" },\n  { id: \"pnpm\", label: \"pnpm\", command: \"pnpm dlx shadcn@latest add https://hyperblur.dev/r/download-install-tabs.json\" },\n  { id: \"yarn\", label: \"yarn\", command: \"yarn dlx shadcn@latest add https://hyperblur.dev/r/download-install-tabs.json\" },\n  { id: \"bun\", label: \"bun\", command: \"bunx --bun shadcn@latest add https://hyperblur.dev/r/download-install-tabs.json\" },\n];\n\nconst defaultRequirements: DownloadInstallRequirement[] = [\n  { label: \"Node.js 18 or later\", detail: \"LTS recommended\" },\n  { label: \"A React project with Tailwind CSS\", detail: \"Next.js, Vite or Remix\" },\n  { label: \"shadcn CLI initialized\", detail: \"components.json in the project\" },\n  { label: \"Any package manager\", detail: \"npm, pnpm, yarn or bun\" },\n];\n\nconst defaultLinks: DownloadInstallLink[] = [\n  { label: \"Read the installation guide\", href: \"https://hyperblur.dev/docs/installation\" },\n  { label: \"Browse the catalog\", href: \"https://hyperblur.dev/effects\" },\n  { label: \"Source code\", href: \"https://github.com/Hyperblur/Hyperblur\" },\n];\n\nfunction CopyIcon({ done }: { done: boolean }) {\n  if (done) {\n    return (\n      <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n        <path d=\"M3.5 8.5l3 3 6-7\" />\n      </svg>\n    );\n  }\n  return (\n    <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n      <rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8\" rx=\"1.8\" />\n      <path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v5A1.5 1.5 0 0 0 4 9.5h.5\" />\n    </svg>\n  );\n}\n\nexport function DownloadInstallTabs({\n  eyebrow = \"shadcn cli\",\n  title = \"Add it to your project in one line\",\n  subtitle = \"Pick your package manager, paste the command and the component lands in your project as plain source. No account and no runtime.\",\n  managers = defaultManagers,\n  manager,\n  defaultManager,\n  onManagerChange,\n  onCommandCopy,\n  verifyCommand = \"ls src/components/hyperblur/download-install-tabs.tsx\",\n  verifyOutput = \"src/components/hyperblur/download-install-tabs.tsx\",\n  startCommand = \"npm run dev\",\n  requirements = defaultRequirements,\n  version = \"998 items\",\n  license = \"MIT license\",\n  links = defaultLinks,\n  accent = \"#10b981\",\n  className,\n  style,\n  ...rest\n}: DownloadInstallTabsProps) {\n  const [inner, setInner] = React.useState(defaultManager ?? managers[0]?.id ?? \"\");\n  const current = manager ?? inner;\n  const index = Math.max(\n    0,\n    managers.findIndex((m) => m.id === current),\n  );\n  const active = managers[index];\n  const [copied, setCopied] = React.useState<string | null>(null);\n  const timer = React.useRef<number | undefined>(undefined);\n  const tabRefs = React.useRef<(HTMLButtonElement | null)[]>([]);\n  const uid = React.useId().replace(/[^a-zA-Z0-9]/g, \"\");\n\n  React.useEffect(() => () => window.clearTimeout(timer.current), []);\n\n  const pick = (i: number) => {\n    const m = managers[i];\n    if (!m) return;\n    if (manager === undefined) setInner(m.id);\n    onManagerChange?.(m.id);\n  };\n\n  const onKey = (e: React.KeyboardEvent<HTMLButtonElement>, i: number) => {\n    let next = -1;\n    if (e.key === \"ArrowRight\") next = (i + 1) % managers.length;\n    if (e.key === \"ArrowLeft\") next = (i - 1 + managers.length) % managers.length;\n    if (e.key === \"Home\") next = 0;\n    if (e.key === \"End\") next = managers.length - 1;\n    if (next < 0) return;\n    e.preventDefault();\n    tabRefs.current[next]?.focus();\n    pick(next);\n  };\n\n  const copy = (key: string, text: string) => {\n    const done = () => {\n      setCopied(key);\n      window.clearTimeout(timer.current);\n      timer.current = window.setTimeout(() => setCopied(null), 1600);\n    };\n    onCommandCopy?.(text);\n    if (typeof navigator !== \"undefined\" && navigator.clipboard) {\n      navigator.clipboard.writeText(text).then(done, done);\n    } else {\n      done();\n    }\n  };\n\n  const vars = {\n    \"--hb-kh7-accent\": accent,\n    \"--hb-kh7-n\": String(Math.max(managers.length, 1)),\n    \"--hb-kh7-i\": String(index),\n  } as React.CSSProperties;\n\n  return (\n    <section className={[\"hb-kh7\", className].filter(Boolean).join(\" \")} style={{ ...vars, ...style }} {...rest}>\n      <style href=\"hb-download-install-tabs\" precedence=\"default\">{css}</style>\n      <div className=\"hb-kh7-in\">\n        <div className=\"hb-kh7-copy\">\n          {eyebrow ? <div className=\"hb-kh7-eyebrow\">{eyebrow}</div> : null}\n          <h2 className=\"hb-kh7-title\">{title}</h2>\n          {subtitle ? <p className=\"hb-kh7-sub\">{subtitle}</p> : null}\n          {requirements.length ? (\n            <>\n              <h3 className=\"hb-kh7-reqh\">Requirements</h3>\n              <ul className=\"hb-kh7-reqs\">\n                {requirements.map((r) => (\n                  <li key={r.label} className=\"hb-kh7-req\">\n                    <span className=\"hb-kh7-ok\" aria-hidden=\"true\">\n                      <svg viewBox=\"0 0 16 16\">\n                        <path d=\"M3.5 8.5l3 3 6-7\" />\n                      </svg>\n                    </span>\n                    <span>{r.label}</span>\n                    {r.detail ? <small>{r.detail}</small> : null}\n                  </li>\n                ))}\n              </ul>\n            </>\n          ) : null}\n          {links.length ? (\n            <div className=\"hb-kh7-links\">\n              {links.map((l) => (\n                <a key={l.label} href={l.href}>\n                  {l.label}\n                </a>\n              ))}\n            </div>\n          ) : null}\n        </div>\n        <div className=\"hb-kh7-card\">\n          <div className=\"hb-kh7-tabs\" role=\"tablist\" aria-label=\"Package manager\">\n            <span className=\"hb-kh7-ind\" aria-hidden=\"true\" />\n            {managers.map((m, i) => (\n              <button\n                key={m.id}\n                ref={(el) => {\n                  tabRefs.current[i] = el;\n                }}\n                type=\"button\"\n                role=\"tab\"\n                id={`${uid}-tab-${m.id}`}\n                aria-selected={i === index}\n                aria-controls={`${uid}-panel`}\n                tabIndex={i === index ? 0 : -1}\n                className=\"hb-kh7-tab\"\n                onClick={() => pick(i)}\n                onKeyDown={(e) => onKey(e, i)}\n              >\n                {m.label}\n              </button>\n            ))}\n          </div>\n          <div className=\"hb-kh7-steps\" role=\"tabpanel\" id={`${uid}-panel`} aria-labelledby={active ? `${uid}-tab-${active.id}` : undefined}>\n            {active ? (\n              <div className=\"hb-kh7-step\">\n                <div className=\"hb-kh7-sl\">\n                  <b>1</b>Install\n                </div>\n                <div className=\"hb-kh7-box\" data-main=\"true\">\n                  <span className=\"hb-kh7-ps\" aria-hidden=\"true\">$</span>\n                  <code className=\"hb-kh7-cmd\">\n                    <span\n                      key={active.id}\n                      className=\"hb-kh7-type\"\n                      style={{ [\"--hb-kh7-len\" as string]: String(active.command.length) } as React.CSSProperties}\n                    >\n                      {active.command}\n                    </span>\n                    <span className=\"hb-kh7-caret\" aria-hidden=\"true\" />\n                  </code>\n                  <button\n                    type=\"button\"\n                    className=\"hb-kh7-copy\"\n                    data-done={copied === \"main\" ? \"true\" : \"false\"}\n                    aria-label={copied === \"main\" ? \"Command copied\" : `Copy ${active.label} command`}\n                    onClick={() => copy(\"main\", active.command)}\n                  >\n                    <CopyIcon done={copied === \"main\"} />\n                    {copied === \"main\" ? \"Copied\" : \"Copy\"}\n                  </button>\n                </div>\n              </div>\n            ) : null}\n            {verifyCommand ? (\n              <div className=\"hb-kh7-step\">\n                <div className=\"hb-kh7-sl\">\n                  <b>2</b>Check the file\n                </div>\n                <div className=\"hb-kh7-box\">\n                  <span className=\"hb-kh7-ps\" aria-hidden=\"true\">$</span>\n                  <code className=\"hb-kh7-cmd\">{verifyCommand}</code>\n                  <button\n                    type=\"button\"\n                    className=\"hb-kh7-copy\"\n                    data-done={copied === \"verify\" ? \"true\" : \"false\"}\n                    aria-label={copied === \"verify\" ? \"Command copied\" : \"Copy check command\"}\n                    onClick={() => copy(\"verify\", verifyCommand)}\n                  >\n                    <CopyIcon done={copied === \"verify\"} />\n                  </button>\n                </div>\n                {verifyOutput ? <div className=\"hb-kh7-out\">{verifyOutput}</div> : null}\n              </div>\n            ) : null}\n            {startCommand ? (\n              <div className=\"hb-kh7-step\">\n                <div className=\"hb-kh7-sl\">\n                  <b>3</b>Start your project\n                </div>\n                <div className=\"hb-kh7-box\">\n                  <span className=\"hb-kh7-ps\" aria-hidden=\"true\">$</span>\n                  <code className=\"hb-kh7-cmd\">{startCommand}</code>\n                  <button\n                    type=\"button\"\n                    className=\"hb-kh7-copy\"\n                    data-done={copied === \"start\" ? \"true\" : \"false\"}\n                    aria-label={copied === \"start\" ? \"Command copied\" : \"Copy start command\"}\n                    onClick={() => copy(\"start\", startCommand)}\n                  >\n                    <CopyIcon done={copied === \"start\"} />\n                  </button>\n                </div>\n              </div>\n            ) : null}\n          </div>\n          <div className=\"hb-kh7-foot\">\n            <span className=\"hb-kh7-ver\">\n              Catalog <b>{version}</b>\n            </span>\n            {license ? <span>{license}</span> : null}\n          </div>\n          <span className=\"hb-kh7-sr\" aria-live=\"polite\">\n            {copied ? \"Copied to clipboard\" : \"\"}\n          </span>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}