{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "showcase-device-tabs",
  "type": "registry:component",
  "title": "Showcase Device Tabs",
  "description": "A feature carousel with a list of tabs beside a large laptop. Each tab swaps the screen with a staggered build, and a progress line advances the tour on its own, pausing on hover or focus.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "showcase",
    "feature tabs",
    "carousel",
    "laptop",
    "autoplay",
    "product tour",
    "device"
  ],
  "docs": "https://hyperblur.dev/effects/showcase-device-tabs",
  "files": [
    {
      "path": "registry/hyperblur/showcase-device-tabs.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/showcase-device-tabs.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport type ShowcaseDeviceTabsScreen = \"inbox\" | \"analytics\" | \"calendar\" | \"automations\";\n\nexport interface ShowcaseDeviceTabsFeature {\n  title: string;\n  description: string;\n  screen: ShowcaseDeviceTabsScreen;\n  image?: string;\n}\n\nexport interface ShowcaseDeviceTabsProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\" | \"onChange\" | \"defaultValue\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  features?: ShowcaseDeviceTabsFeature[];\n  value?: number;\n  defaultValue?: number;\n  onValueChange?: (index: number) => void;\n  autoplay?: boolean;\n  interval?: number;\n  accent?: string;\n}\n\nconst css = `\n.hb-yh9 {\n  --hb-yh9-accent: #2f7bff;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  overflow: hidden;\n  padding: clamp(64px, 8cqi, 104px) 20px;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-yh9 *, .hb-yh9 *::before, .hb-yh9 *::after { box-sizing: border-box; }\n.hb-yh9::before {\n  content: \"\";\n  position: absolute;\n  right: -10%;\n  top: 10%;\n  width: 70%;\n  height: 90%;\n  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--hb-yh9-accent) 22%, transparent), transparent 70%);\n  pointer-events: none;\n}\n.hb-yh9-in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; max-width: 1120px; margin: 0 auto; }\n.hb-yh9-eyebrow { color: color-mix(in srgb, var(--hb-yh9-accent) 60%, #fff); font-size: 13px; font-weight: 600; }\n.hb-yh9-title { margin: 12px 0 0; font-size: clamp(28px, 3.8cqi, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; }\n.hb-yh9-sub { margin: 14px 0 0; color: #8f8f8f; font-size: 15px; line-height: 1.6; }\n.hb-yh9-list { display: grid; gap: 4px; margin-top: 28px; }\n.hb-yh9-tab {\n  position: relative;\n  display: block;\n  width: 100%;\n  margin: 0;\n  padding: 14px 16px 16px 20px;\n  border: 1px solid transparent;\n  border-radius: 14px;\n  background: transparent;\n  color: inherit;\n  font: inherit;\n  text-align: left;\n  cursor: pointer;\n  overflow: hidden;\n  transition: background-color .25s ease, border-color .25s ease;\n}\n.hb-yh9-tab:hover { background: rgba(255,255,255,.03); }\n.hb-yh9-tab[aria-selected=\"true\"] { border-color: rgba(255,255,255,.08); background: linear-gradient(180deg, #141414, #101010); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }\n.hb-yh9-tab:focus-visible { outline: 2px solid var(--hb-yh9-accent); outline-offset: 2px; }\n.hb-yh9-tt { display: flex; align-items: center; gap: 10px; color: #8f8f8f; font-size: 15px; font-weight: 600; transition: color .2s ease; }\n.hb-yh9-tab[aria-selected=\"true\"] .hb-yh9-tt { color: #ededed; }\n.hb-yh9-num { color: #525252; font-size: 12px; font-variant-numeric: tabular-nums; }\n.hb-yh9-tab[aria-selected=\"true\"] .hb-yh9-num { color: var(--hb-yh9-accent); }\n.hb-yh9-td { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }\n.hb-yh9-tab[aria-selected=\"true\"] .hb-yh9-td { grid-template-rows: 1fr; }\n.hb-yh9-tdi { display: block; min-height: 0; margin: 0; overflow: hidden; color: #8f8f8f; font-size: 13.5px; line-height: 1.55; }\n.hb-yh9-tdi > span { display: block; padding: 8px 0 0 30px; }\n.hb-yh9-prog { position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.06); overflow: hidden; }\n.hb-yh9-prog i { position: absolute; inset: 0; border-radius: inherit; background: var(--hb-yh9-accent); transform-origin: top; transform: scaleY(0); }\n.hb-yh9-tab[aria-selected=\"true\"] .hb-yh9-prog i { transform: scaleY(1); }\n.hb-yh9[data-auto=\"true\"] .hb-yh9-tab[aria-selected=\"true\"] .hb-yh9-prog i { animation: hb-yh9-fill var(--hb-yh9-dur) linear both; }\n.hb-yh9[data-paused=\"true\"] .hb-yh9-prog i { animation-play-state: paused !important; }\n.hb-yh9-dev { position: relative; min-width: 0; perspective: 1600px; }\n.hb-yh9-lid { position: relative; padding: 12px 12px 14px; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #2a2a2d, #19191b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 50px 100px -40px rgba(0,0,0,.9); transform: rotateX(4deg); transform-origin: bottom; }\n.hb-yh9-cam { position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #0a0a0a; transform: translateX(-50%); }\n.hb-yh9-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; background: #0c0c0e; overflow: hidden; }\n.hb-yh9-base { position: relative; height: 16px; margin: 0 -6%; border-radius: 2px 2px 14px 14px; background: linear-gradient(180deg, #3a3a3e, #1c1c1f 70%); box-shadow: 0 30px 40px -20px rgba(0,0,0,.9); }\n.hb-yh9-base::before { content: \"\"; position: absolute; top: 0; left: 50%; width: 18%; height: 6px; border-radius: 0 0 8px 8px; background: #141416; transform: translateX(-50%); }\n.hb-yh9-pane { position: absolute; inset: 0; display: grid; grid-template-columns: 22% minmax(0, 1fr); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }\n.hb-yh9-pane[data-on=\"true\"] { opacity: 1; transform: none; pointer-events: auto; }\n.hb-yh9-img { position: absolute; inset: 0; background-position: center top; background-size: cover; }\n.hb-yh9-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid rgba(255,255,255,.06); background: #0f0f11; }\n.hb-yh9-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 11px; font-weight: 700; }\n.hb-yh9-brand i { width: 14px; height: 14px; border-radius: 4px; background: var(--hb-yh9-accent); }\n.hb-yh9-ni { height: 22px; padding: 0 8px; border-radius: 6px; color: #8f8f8f; font-size: 10px; line-height: 22px; white-space: nowrap; overflow: hidden; }\n.hb-yh9-ni[data-on=\"true\"] { background: rgba(255,255,255,.06); color: #ededed; }\n.hb-yh9-main { min-width: 0; padding: 14px 16px; }\n.hb-yh9-mh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; font-weight: 650; }\n.hb-yh9-mh span { height: 20px; padding: 0 8px; border-radius: 6px; background: var(--hb-yh9-accent); color: #fff; font-size: 9.5px; font-weight: 600; line-height: 20px; }\n.hb-yh9-row { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; opacity: 0; transform: translateX(10px); }\n.hb-yh9-pane[data-on=\"true\"] .hb-yh9-row, .hb-yh9-pane[data-on=\"true\"] .hb-yh9-st, .hb-yh9-pane[data-on=\"true\"] .hb-yh9-ev, .hb-yh9-pane[data-on=\"true\"] .hb-yh9-node { animation: hb-yh9-in .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(150ms + var(--hb-yh9-k) * 70ms); }\n.hb-yh9-row[data-on=\"true\"] { background: color-mix(in srgb, var(--hb-yh9-accent) 12%, transparent); }\n.hb-yh9-av { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; }\n.hb-yh9-rt { flex: 1; min-width: 0; }\n.hb-yh9-rn { display: block; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.hb-yh9-rd { display: block; margin-top: 1px; color: #8f8f8f; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.hb-yh9-rx { color: #6f6f6f; font-size: 9px; }\n.hb-yh9-ch { padding: 1px 6px; border-radius: 99px; font-size: 8.5px; font-weight: 600; }\n.hb-yh9-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }\n.hb-yh9-st { padding: 9px 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: #131316; opacity: 0; transform: translateY(8px); }\n.hb-yh9-st span { color: #8f8f8f; font-size: 9px; }\n.hb-yh9-st b { display: block; margin-top: 2px; font-size: 15px; letter-spacing: -.02em; }\n.hb-yh9-st em { color: #34d399; font-size: 9px; font-style: normal; }\n.hb-yh9-chart { position: relative; height: 54%; margin-top: 10px; padding: 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: #111114; }\n.hb-yh9-chart svg { width: 100%; height: 100%; }\n.hb-yh9-area { fill: color-mix(in srgb, var(--hb-yh9-accent) 20%, transparent); }\n.hb-yh9-ln { fill: none; stroke: var(--hb-yh9-accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }\n.hb-yh9-pane[data-on=\"true\"] .hb-yh9-ln { animation: hb-yh9-draw 1.4s ease .3s forwards; }\n.hb-yh9-cal { position: relative; display: grid; grid-template-columns: 30px repeat(5, minmax(0, 1fr)); grid-auto-rows: 26px; gap: 0; height: calc(100% - 34px); border-top: 1px solid rgba(255,255,255,.06); }\n.hb-yh9-hr { color: #5f5f5f; font-size: 8.5px; padding-top: 2px; border-bottom: 1px solid rgba(255,255,255,.04); }\n.hb-yh9-cell { border-left: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }\n.hb-yh9-ev { position: absolute; padding: 4px 6px; border-radius: 6px; font-size: 9px; font-weight: 600; line-height: 1.25; overflow: hidden; opacity: 0; transform: translateY(6px); }\n.hb-yh9-flow { position: relative; height: calc(100% - 34px); }\n.hb-yh9-flow svg { position: absolute; inset: 0; width: 100%; height: 100%; }\n.hb-yh9-wire { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; animation: hb-yh9-dash 1.2s linear infinite; }\n.hb-yh9-node { position: absolute; width: 34%; padding: 8px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: #141417; opacity: 0; transform: translateY(8px); }\n.hb-yh9-node b { display: flex; align-items: center; gap: 6px; font-size: 10px; }\n.hb-yh9-node b i { width: 8px; height: 8px; border-radius: 2px; }\n.hb-yh9-node span { display: block; margin-top: 3px; color: #8f8f8f; font-size: 9px; }\n@keyframes hb-yh9-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }\n@keyframes hb-yh9-in { to { opacity: 1; transform: none; } }\n@keyframes hb-yh9-draw { to { stroke-dashoffset: 0; } }\n@keyframes hb-yh9-dash { to { stroke-dashoffset: -16; } }\n@container (max-width: 860px) {\n  .hb-yh9-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }\n  .hb-yh9-dev { order: -1; }\n}\n@container (max-width: 480px) {\n  .hb-yh9-pane { grid-template-columns: minmax(0, 1fr); }\n  .hb-yh9-nav { display: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-yh9 *, .hb-yh9 *::before, .hb-yh9 *::after { animation: none !important; transition: none !important; }\n  .hb-yh9-row, .hb-yh9-st, .hb-yh9-ev, .hb-yh9-node { opacity: 1; transform: none; }\n  .hb-yh9-ln { stroke-dashoffset: 0; }\n}\n`;\n\nconst defaultFeatures: ShowcaseDeviceTabsFeature[] = [\n  { title: \"One inbox for every channel\", description: \"Email, chat and WhatsApp land in the same queue, grouped by customer and sorted by urgency.\", screen: \"inbox\" },\n  { title: \"Pipeline you can trust\", description: \"Forecasts update as deals move, with win rates by stage and rep so Monday reviews take ten minutes.\", screen: \"analytics\" },\n  { title: \"Scheduling without the ping-pong\", description: \"Share a link, let prospects pick a slot and the right rep gets the meeting with notes attached.\", screen: \"calendar\" },\n  { title: \"Automations in plain steps\", description: \"When a trial converts, notify sales, tag the account and start onboarding. No code, no tickets.\", screen: \"automations\" },\n];\n\nconst navItems = [\"Inbox\", \"Pipeline\", \"Calendar\", \"Automations\", \"Contacts\", \"Reports\"];\n\nconst navFor: Record<ShowcaseDeviceTabsScreen, number> = { inbox: 0, analytics: 1, calendar: 2, automations: 3 };\n\nfunction Screen({ kind }: { kind: ShowcaseDeviceTabsScreen }) {\n  if (kind === \"inbox\") {\n    const rows = [\n      [\"Hannah Cole\", \"Re: Renewal for 40 seats\", \"#f97316\", \"2m\", \"Urgent\", \"#f87171\"],\n      [\"Diego Alvarez\", \"Can we move the demo to Thursday?\", \"#0ea5e9\", \"8m\", \"Chat\", \"#7dd3fc\"],\n      [\"Mei Tanaka\", \"Invoice question for October\", \"#8b5cf6\", \"21m\", \"Billing\", \"#c4b5fd\"],\n      [\"Oliver Brandt\", \"Loved the onboarding call\", \"#10b981\", \"1h\", \"WhatsApp\", \"#6ee7b7\"],\n      [\"Priya Shah\", \"SSO setup failing on Okta\", \"#ec4899\", \"2h\", \"Support\", \"#f9a8d4\"],\n    ];\n    return (\n      <>\n        <div className=\"hb-yh9-mh\">\n          Inbox<span>24 open</span>\n        </div>\n        {rows.map(([n, d, c, t, tag, tc], i) => (\n          <div key={n} className=\"hb-yh9-row\" data-on={i === 0 ? \"true\" : \"false\"} style={{ \"--hb-yh9-k\": i } as React.CSSProperties}>\n            <span className=\"hb-yh9-av\" style={{ background: c }}>\n              {n!.split(\" \").map((p) => p[0])}\n            </span>\n            <span className=\"hb-yh9-rt\">\n              <span className=\"hb-yh9-rn\">{n}</span>\n              <span className=\"hb-yh9-rd\">{d}</span>\n            </span>\n            <span className=\"hb-yh9-ch\" style={{ color: tc, background: `color-mix(in srgb, ${tc} 15%, transparent)` }}>\n              {tag}\n            </span>\n            <span className=\"hb-yh9-rx\">{t}</span>\n          </div>\n        ))}\n      </>\n    );\n  }\n  if (kind === \"analytics\") {\n    const pts = [52, 48, 50, 41, 44, 36, 38, 30, 26, 28, 18, 12];\n    const d = pts.map((y, i) => `${i === 0 ? \"M\" : \"L\"}${((i / (pts.length - 1)) * 100).toFixed(2)} ${y}`).join(\" \");\n    return (\n      <>\n        <div className=\"hb-yh9-mh\">\n          Pipeline<span>Q4 forecast</span>\n        </div>\n        <div className=\"hb-yh9-stats\">\n          {[\n            [\"Weighted\", \"$1.42M\", \"+9%\"],\n            [\"Win rate\", \"31%\", \"+4 pt\"],\n            [\"Cycle\", \"23 days\", \"-5d\"],\n          ].map(([k, v, e], i) => (\n            <div key={k} className=\"hb-yh9-st\" style={{ \"--hb-yh9-k\": i } as React.CSSProperties}>\n              <span>{k}</span>\n              <b>{v}</b>\n              <em>{e}</em>\n            </div>\n          ))}\n        </div>\n        <div className=\"hb-yh9-chart\">\n          <svg viewBox=\"0 0 100 60\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n            <path className=\"hb-yh9-area\" d={`${d} L100 60 L0 60 Z`} />\n            <path className=\"hb-yh9-ln\" d={d} />\n          </svg>\n        </div>\n      </>\n    );\n  }\n  if (kind === \"calendar\") {\n    const hours = [\"9\", \"10\", \"11\", \"12\", \"1\", \"2\", \"3\", \"4\", \"5\"];\n    const evs = [\n      { d: 0, h: 0, l: 2, t: \"Demo, Acme Freight\", c: \"#2f7bff\" },\n      { d: 1, h: 2, l: 1, t: \"Intro call\", c: \"#10b981\" },\n      { d: 2, h: 1, l: 2, t: \"Pipeline review\", c: \"#8b5cf6\" },\n      { d: 3, h: 4, l: 2, t: \"Onboarding, Lumen\", c: \"#f97316\" },\n      { d: 4, h: 0, l: 1, t: \"1:1 with Sam\", c: \"#ec4899\" },\n      { d: 1, h: 5, l: 2, t: \"Contract walkthrough\", c: \"#2f7bff\" },\n    ];\n    return (\n      <>\n        <div className=\"hb-yh9-mh\">\n          Week of Nov 10<span>Share link</span>\n        </div>\n        <div className=\"hb-yh9-cal\">\n          {hours.map((h) => (\n            <React.Fragment key={h}>\n              <span className=\"hb-yh9-hr\">{h}</span>\n              {Array.from({ length: 5 }, (_, i) => (\n                <span key={i} className=\"hb-yh9-cell\" />\n              ))}\n            </React.Fragment>\n          ))}\n          {evs.map((e, i) => (\n            <span\n              key={e.t}\n              className=\"hb-yh9-ev\"\n              style={\n                {\n                  \"--hb-yh9-k\": i,\n                  left: `calc(30px + (100% - 30px) * ${(e.d / 5).toFixed(3)} + 2px)`,\n                  width: \"calc((100% - 30px) / 5 - 4px)\",\n                  top: `${e.h * 26 + 2}px`,\n                  height: `${e.l * 26 - 4}px`,\n                  background: `color-mix(in srgb, ${e.c} 22%, #121214)`,\n                  color: \"#ededed\",\n                  boxShadow: `inset 2px 0 0 ${e.c}`,\n                } as React.CSSProperties\n              }\n            >\n              {e.t}\n            </span>\n          ))}\n        </div>\n      </>\n    );\n  }\n  const nodes = [\n    { x: 4, y: 6, t: \"Trial converts\", s: \"Trigger, Stripe\", c: \"#f59e0b\" },\n    { x: 58, y: 6, t: \"Tag account\", s: \"Plan: Growth\", c: \"#2f7bff\" },\n    { x: 4, y: 56, t: \"Notify #sales\", s: \"Slack message\", c: \"#10b981\" },\n    { x: 58, y: 56, t: \"Start onboarding\", s: \"5 step sequence\", c: \"#8b5cf6\" },\n  ];\n  return (\n    <>\n      <div className=\"hb-yh9-mh\">\n        Trial to paid<span>Live</span>\n      </div>\n      <div className=\"hb-yh9-flow\">\n        <svg viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n          <path className=\"hb-yh9-wire\" d=\"M38 18 C 48 18, 48 18, 58 18\" />\n          <path className=\"hb-yh9-wire\" d=\"M21 30 C 21 42, 21 44, 21 56\" />\n          <path className=\"hb-yh9-wire\" d=\"M75 30 C 75 42, 75 44, 75 56\" />\n        </svg>\n        {nodes.map((n, i) => (\n          <div key={n.t} className=\"hb-yh9-node\" style={{ \"--hb-yh9-k\": i, left: `${n.x}%`, top: `${n.y}%` } as React.CSSProperties}>\n            <b>\n              <i style={{ background: n.c }} />\n              {n.t}\n            </b>\n            <span>{n.s}</span>\n          </div>\n        ))}\n      </div>\n    </>\n  );\n}\n\nexport function ShowcaseDeviceTabs({\n  eyebrow = \"Inside Orbit\",\n  title = \"Everything your revenue team does, on one screen\",\n  subtitle = \"Pick a feature to see it in the app. The tour advances on its own and pauses while you read.\",\n  features = defaultFeatures,\n  value,\n  defaultValue = 0,\n  onValueChange,\n  autoplay = true,\n  interval = 6000,\n  accent = \"#2f7bff\",\n  className = \"\",\n  style,\n  ...rest\n}: ShowcaseDeviceTabsProps) {\n  const uid = React.useId();\n  const [inner, setInner] = React.useState(defaultValue);\n  const [paused, setPaused] = React.useState(false);\n  const current = value ?? inner;\n  const listRef = React.useRef<HTMLDivElement>(null);\n\n  function go(i: number) {\n    const n = (i + features.length) % features.length;\n    if (value === undefined) setInner(n);\n    onValueChange?.(n);\n  }\n\n  function onKey(e: React.KeyboardEvent) {\n    let next = -1;\n    if (e.key === \"ArrowDown\" || e.key === \"ArrowRight\") next = current + 1;\n    else if (e.key === \"ArrowUp\" || e.key === \"ArrowLeft\") next = current - 1;\n    else if (e.key === \"Home\") next = 0;\n    else if (e.key === \"End\") next = features.length - 1;\n    else return;\n    e.preventDefault();\n    const n = (next + features.length) % features.length;\n    go(n);\n    listRef.current?.querySelectorAll<HTMLElement>('[role=\"tab\"]')[n]?.focus();\n  }\n\n  return (\n    <section\n      className={`hb-yh9 ${className}`}\n      data-auto={autoplay ? \"true\" : \"false\"}\n      data-paused={paused ? \"true\" : \"false\"}\n      style={{ \"--hb-yh9-accent\": accent, \"--hb-yh9-dur\": `${interval}ms`, ...style } as React.CSSProperties}\n      onPointerEnter={() => setPaused(true)}\n      onPointerLeave={() => setPaused(false)}\n      onFocus={() => setPaused(true)}\n      onBlur={(e) => {\n        if (!e.currentTarget.contains(e.relatedTarget as Node)) setPaused(false);\n      }}\n      {...rest}\n    >\n      <style href=\"hb-showcase-device-tabs\" precedence=\"default\">\n        {css}\n      </style>\n      <div className=\"hb-yh9-in\">\n        <div>\n          <span className=\"hb-yh9-eyebrow\">{eyebrow}</span>\n          <h2 className=\"hb-yh9-title\">{title}</h2>\n          {subtitle && <p className=\"hb-yh9-sub\">{subtitle}</p>}\n          <div ref={listRef} className=\"hb-yh9-list\" role=\"tablist\" aria-orientation=\"vertical\" aria-label=\"Features\" onKeyDown={onKey}>\n            {features.map((f, i) => {\n              const on = i === current;\n              return (\n                <button\n                  key={f.title}\n                  type=\"button\"\n                  role=\"tab\"\n                  id={`${uid}-t${i}`}\n                  aria-selected={on}\n                  aria-controls={`${uid}-p`}\n                  tabIndex={on ? 0 : -1}\n                  className=\"hb-yh9-tab\"\n                  onClick={() => go(i)}\n                >\n                  <span className=\"hb-yh9-prog\" aria-hidden=\"true\">\n                    <i onAnimationEnd={on ? () => go(current + 1) : undefined} />\n                  </span>\n                  <span className=\"hb-yh9-tt\">\n                    <span className=\"hb-yh9-num\">{String(i + 1).padStart(2, \"0\")}</span>\n                    {f.title}\n                  </span>\n                  <span className=\"hb-yh9-td\">\n                    <span className=\"hb-yh9-tdi\">\n                      <span>{f.description}</span>\n                    </span>\n                  </span>\n                </button>\n              );\n            })}\n          </div>\n        </div>\n        <div className=\"hb-yh9-dev\" id={`${uid}-p`} role=\"tabpanel\" aria-labelledby={`${uid}-t${current}`}>\n          <div className=\"hb-yh9-lid\">\n            <span className=\"hb-yh9-cam\" aria-hidden=\"true\" />\n            <div className=\"hb-yh9-screen\">\n              {features.map((f, i) => (\n                <div key={f.title} className=\"hb-yh9-pane\" data-on={i === current ? \"true\" : \"false\"} aria-hidden={i !== current}>\n                  {f.image ? (\n                    <span className=\"hb-yh9-img\" role=\"img\" aria-label={f.title} style={{ backgroundImage: `url(\"${f.image}\")` }} />\n                  ) : (\n                    <>\n                      <div className=\"hb-yh9-nav\">\n                        <div className=\"hb-yh9-brand\">\n                          <i />\n                          Orbit\n                        </div>\n                        {navItems.map((n, k) => (\n                          <div key={n} className=\"hb-yh9-ni\" data-on={k === navFor[f.screen] ? \"true\" : \"false\"}>\n                            {n}\n                          </div>\n                        ))}\n                      </div>\n                      <div className=\"hb-yh9-main\">\n                        <Screen kind={f.screen} />\n                      </div>\n                    </>\n                  )}\n                </div>\n              ))}\n            </div>\n          </div>\n          <div className=\"hb-yh9-base\" aria-hidden=\"true\" />\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}