{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "example-tempo-console",
  "type": "registry:block",
  "title": "Tempo Console",
  "description": "A silent molded rhythm console with recessed volume fader, dimpled tempo dial, glossy levels, patterned lamps and power rocker.",
  "dependencies": [
    "maruaudio@>=0.0.3 <0.1.0"
  ],
  "registryDependencies": [
    "https://pluginui.com/r/gallery-capsule-fader.json",
    "https://pluginui.com/r/core-fader.json",
    "https://pluginui.com/r/gallery-indexed-knob.json",
    "https://pluginui.com/r/core-knob.json",
    "https://pluginui.com/r/gallery-panel-toggle.json"
  ],
  "files": [
    {
      "path": "components/blocks/tempo-console.tsx",
      "content": "/**\n * Source: https://pluginui.com/examples/tempo-console\n * Copyright © [Maru](https://maru.audio)\n *\n * Maru UI Kit — https://maru.audio/ui-kit\n *\n * Installed from the Maru UI registry. This file is yours now: edit it\n * freely, it will not be overwritten unless you re-run the add command.\n *\n * Keep this item’s companion files and CSS imports together. Dependencies\n * declared by the registry are installed with the source.\n */\nimport { percent } from \"maruaudio/ui/shared/format\"\nimport { Fader } from \"@/components/ui/fader\"\nimport { Knob } from \"@/components/ui/knob\"\nimport { useState, type ReactNode } from \"react\"\nimport { IndexedKnobDesign } from \"@/components/ui/indexed-knob\"\nimport { CapsuleFaderDesign } from \"@/components/ui/capsule-fader\"\nimport { PanelToggle } from \"@/components/ui/panel-toggle\"\nimport { UI_KIT_TEXT_SELECTION_STYLES } from \"maruaudio/ui/shared/portable-styles\"\nimport \"@/components/blocks/tempo-console.css\"\n\nexport interface TempoConsoleProps {\n  branding?: ReactNode\n}\n/** Silent molded rhythm console; consumers connect its controls to their own application. */\nexport function TempoConsole({ branding }: TempoConsoleProps) {\n  const [volume, setVolume] = useState(0.5)\n  const [tempo, setTempo] = useState(0.5)\n  const [beatLevel, setBeatLevel] = useState(0.5)\n  const [backbeatLevel, setBackbeatLevel] = useState(0.5)\n  const [beat, setBeat] = useState(false)\n  const [backbeat, setBackbeat] = useState(true)\n  const [power, setPower] = useState(true)\n  return (\n    <section\n      className=\"tempo-console\"\n      aria-label=\"Tempo Console, silent interface\"\n      data-text-selection=\"editable-only\"\n      data-powered={power}\n    >\n      <style>{UI_KIT_TEXT_SELECTION_STYLES}</style>\n      <div className=\"tempo-console__header\">\n        <span className=\"tempo-console__tempo-led\" />\n        <strong>TEMPO</strong>\n        <span>LEVEL</span>\n        <span>LEVEL</span>\n      </div>\n      <div className=\"tempo-console__tempo-line\" />\n      <div className=\"tempo-console__volume\">\n        <Fader\n          value={volume}\n          onChange={setVolume}\n          length={292}\n          format={percent()}\n          orientation={\"vertical\"}\n          thickness={63}\n          capInset={106}\n          hideLabel\n          hideValue\n          renderDesign={CapsuleFaderDesign}\n        />\n      </div>\n      <div className=\"tempo-console__volume-scale\" aria-hidden=\"true\">\n        <b />\n        {Array.from({ length: 7 }, (_, i) => (\n          <i key={i} />\n        ))}\n        <em />\n      </div>\n      <div className=\"tempo-console__main-dial\">\n        <Knob\n          value={tempo}\n          onChange={setTempo}\n          label=\"Beep control\"\n          size={216}\n          valueDisplay=\"percent\"\n          defaultValue={0.5}\n          hideLabel\n          hideValue\n          renderDesign={(state) => <IndexedKnobDesign {...state} dimple />}\n        />\n      </div>\n      <div className=\"tempo-console__beat-level\">\n        <Knob\n          value={beatLevel}\n          onChange={setBeatLevel}\n          label=\"Beat level\"\n          size={96}\n          valueDisplay=\"percent\"\n          defaultValue={0.5}\n          hideLabel\n          hideValue\n          renderDesign={IndexedKnobDesign}\n        />\n      </div>\n      <div className=\"tempo-console__backbeat-level\">\n        <Knob\n          value={backbeatLevel}\n          onChange={setBackbeatLevel}\n          label=\"Backbeat level\"\n          size={96}\n          valueDisplay=\"percent\"\n          defaultValue={0.5}\n          hideLabel\n          hideValue\n          renderDesign={IndexedKnobDesign}\n        />\n      </div>\n      <div className=\"tempo-console__beat-line\" />\n      <div className=\"tempo-console__backbeat-line\" />\n      <div className=\"tempo-console__beat\">\n        <PanelToggle checked={beat} onChange={setBeat} label=\"Beat\" />\n      </div>\n      <div className=\"tempo-console__backbeat\">\n        <PanelToggle\n          checked={backbeat}\n          onChange={setBackbeat}\n          label=\"Backbeat\"\n        />\n      </div>\n      <div className=\"tempo-console__labels\">\n        <span>VOLUME</span>\n        <span>BEEP CONTROL</span>\n        <span>BEAT</span>\n        <span>BACKBEAT</span>\n      </div>\n      <footer className=\"tempo-console__footer\">\n        <div className=\"tempo-console__identity\">\n          {branding ?? (\n            <>\n              <span>0724</span>\n              <small>T E M P O C O N S O L E</small>\n            </>\n          )}\n        </div>\n        <strong>POWER</strong>\n        <PanelToggle\n          checked={power}\n          onChange={setPower}\n          label=\"Power\"\n          size={75}\n          rocker\n        />\n      </footer>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "@components/blocks/tempo-console.tsx"
    },
    {
      "path": "components/blocks/tempo-console.css",
      "content": "/**\n * Source: https://pluginui.com/examples/tempo-console\n * Copyright © [Maru](https://maru.audio)\n *\n * Maru UI Kit — https://maru.audio/ui-kit\n *\n * Installed from the Maru UI registry. This file is yours now: edit it\n * freely, it will not be overwritten unless you re-run the add command.\n *\n * Keep this item’s companion files and CSS imports together. Dependencies\n * declared by the registry are installed with the source.\n */\n.tempo-console {\n  position: relative;\n  width: 752px;\n  height: 564px;\n  flex: none;\n  overflow: hidden;\n  background: #4a4943;\n  color: #dad9d6;\n  font-family: Arial, Helvetica, sans-serif;\n  isolation: isolate;\n  box-sizing: border-box;\n  font-size: 18px;\n  text-shadow: 0 1px 1px #27262366;\n}\n.tempo-console__header {\n  position: absolute;\n  left: 191px;\n  top: 37px;\n  width: 520px;\n  height: 47px;\n  border-radius: 28px;\n  background: linear-gradient(#d4d4cd, #c4c4bd);\n  display: grid;\n  grid-template-columns: 48px 160px 160px 152px;\n  align-items: center;\n  color: #444340;\n  box-shadow:\n    inset 0 1px 2px #e9e9e2,\n    0 1px 1px #25242166;\n  box-sizing: border-box;\n}\n.tempo-console__header strong {\n  font-size: 18px;\n  font-weight: 900;\n  padding-left: 20px;\n}\n.tempo-console__header > span:nth-last-child(-n + 2) {\n  margin: 3px 4px 3px 0;\n  height: 39px;\n  background: #4a4946;\n  border-radius: 23px;\n  display: grid;\n  place-items: center;\n  color: #dddcd9;\n  box-shadow: inset 0 1px 2px #282724;\n  font-size: 18px;\n}\n.tempo-console__tempo-led {\n  height: 23px;\n  width: 23px;\n  margin-left: 14px;\n  border: 3px solid #8e3855;\n  border-radius: 50%;\n  background: #fff3f5;\n  box-sizing: border-box;\n  box-shadow:\n    0 0 7px #ff98b9,\n    inset 0 0 3px #fb67a4;\n}\n.tempo-console__tempo-line,\n.tempo-console__beat-line,\n.tempo-console__backbeat-line {\n  position: absolute;\n  width: 4px;\n  background: linear-gradient(90deg, #aeadaa, #e6e6da, #757471);\n  border-radius: 3px;\n  box-shadow: 0 1px 1px #28272466;\n}\n.tempo-console__tempo-line {\n  left: 291px;\n  top: 83px;\n  height: 42px;\n}\n.tempo-console__beat-line {\n  left: 472px;\n  top: 217px;\n  height: 61px;\n}\n.tempo-console__backbeat-line {\n  left: 632px;\n  top: 217px;\n  height: 61px;\n}\n.tempo-console__volume {\n  position: absolute;\n  left: 47px;\n  top: 75px;\n}\n.tempo-console__volume-scale {\n  position: absolute;\n  left: 120px;\n  top: 108px;\n  width: 19px;\n  height: 222px;\n  display: flex;\n  flex-direction: column;\n  gap: 13px;\n  align-items: center;\n}\n.tempo-console__volume-scale b {\n  width: 19px;\n  height: 45px;\n  border-radius: 10px 10px 0 0;\n  background: linear-gradient(90deg, #b8b7b4, #d4d3d0);\n  border: 1px solid #eeeede;\n  box-sizing: border-box;\n}\n.tempo-console__volume-scale i {\n  width: 19px;\n  height: 4px;\n  background: #dbdad7;\n  box-shadow: 0 1px 1px #2d2c29;\n}\n.tempo-console__volume-scale em {\n  width: 19px;\n  height: 45px;\n  border: 3px solid #cbcac7;\n  border-radius: 0 0 10px 10px;\n  box-sizing: border-box;\n}\n.tempo-console__main-dial {\n  position: absolute;\n  left: 183px;\n  top: 138px;\n}\n.tempo-console__beat-level {\n  position: absolute;\n  left: 425px;\n  top: 110px;\n}\n.tempo-console__backbeat-level {\n  position: absolute;\n  left: 585px;\n  top: 110px;\n}\n.tempo-console__beat {\n  position: absolute;\n  left: 440px;\n  top: 289px;\n}\n.tempo-console__backbeat {\n  position: absolute;\n  left: 600px;\n  top: 289px;\n}\n.tempo-console__labels {\n  position: absolute;\n  left: 0;\n  right: 0;\n  top: 387px;\n  display: grid;\n  grid-template-columns: 158px 266px 160px 168px;\n  text-align: center;\n  font-size: 18px;\n  font-weight: 900;\n  letter-spacing: 0.1px;\n}\n.tempo-console__labels span:nth-child(3) {\n  transform: translateX(-30px);\n}\n.tempo-console__labels span:nth-child(4) {\n  transform: translateX(-37px);\n}\n.tempo-console__footer {\n  position: absolute;\n  left: 0;\n  right: 0;\n  top: 439px;\n  height: 125px;\n  border-top: 5px solid #353431;\n  box-shadow: inset 0 1px 1px #71706d;\n  display: flex;\n  align-items: center;\n  gap: 24px;\n  padding: 0 38px 0 30px;\n  box-sizing: border-box;\n}\n.tempo-console__identity {\n  margin-right: auto;\n  display: flex;\n  flex-direction: column;\n  gap: 3px;\n}\n.tempo-console__identity > span {\n  font-family: \"Helvetica Neue\", system-ui, sans-serif;\n  font-weight: 200;\n  font-size: 48px;\n  line-height: 1;\n  letter-spacing: -2px;\n}\n.tempo-console__identity small {\n  font-size: 10px;\n  letter-spacing: 6px;\n  font-weight: 700;\n  white-space: nowrap;\n}\n.tempo-console__footer > strong {\n  font-size: 20px;\n  font-weight: 900;\n}\n.tempo-console[data-powered=\"false\"] > div {\n  filter: brightness(0.65);\n}\n",
      "type": "registry:file",
      "target": "@components/blocks/tempo-console.css"
    }
  ]
}
