{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "signal-bars",
  "title": "Signal Bars",
  "type": "registry:component",
  "description": "Bars climb like signal strength",
  "dependencies": [
    "motion@^12.43.0"
  ],
  "files": [
    {
      "path": "src/kavyn/signal-bars.jsx",
      "type": "registry:file",
      "target": "@components/kavyn/signal-bars.jsx",
      "content": "'use client'\n\nimport { motion } from 'motion/react'\n\nexport default function SignalBars({ bars = 5, label = 'Connecting to printer' }) {\n  return (\n    <div className=\"flex items-center gap-4\">\n      <div className=\"flex h-10 items-end gap-1\">\n        {Array.from({ length: bars }).map((_, i) => (\n          <motion.span key={i} className=\"block w-2 rounded-sm bg-tx\" style={{ height: 8 + (i * 32) / Math.max(bars - 1, 1) }}\n            animate={{ backgroundColor: ['var(--line2)', 'var(--tx)', i === bars - 1 ? 'var(--acc)' : 'var(--tx)', 'var(--line2)'] }}\n            transition={{ repeat: Infinity, duration: 2, delay: i * 0.18, times: [0, 0.2, 0.7, 1] }} />\n        ))}\n      </div>\n      <span className=\"text-sm text-mute\">{label}</span>\n    </div>\n  )\n}\n"
    }
  ],
  "cssVars": {
    "theme": {
      "color-bg": "var(--bg)",
      "color-panel": "var(--panel)",
      "color-panel2": "var(--panel2)",
      "color-line": "var(--line)",
      "color-line2": "var(--line2)",
      "color-tx": "var(--tx)",
      "color-mute": "var(--mute)",
      "color-faint": "var(--faint)",
      "color-acc": "var(--acc)",
      "color-acc-fg": "var(--acc-fg)"
    },
    "light": {
      "bg": "#ffffff",
      "panel": "#f5f5f7",
      "panel2": "#e8e8ed",
      "line": "#e5e5ea",
      "line2": "#d2d2d7",
      "tx": "#1d1d1f",
      "mute": "#6e6e73",
      "faint": "#a1a1a6",
      "acc": "#1d1d1f",
      "acc-fg": "#ffffff"
    },
    "dark": {
      "bg": "#000000",
      "panel": "#141416",
      "panel2": "#1f1f22",
      "line": "#262628",
      "line2": "#3a3a3d",
      "tx": "#f5f5f7",
      "mute": "#a1a1a6",
      "faint": "#6e6e73",
      "acc": "#f5f5f7",
      "acc-fg": "#000000"
    }
  },
  "css": {
    ".light": {
      "--bg": "#ffffff",
      "--panel": "#f5f5f7",
      "--panel2": "#e8e8ed",
      "--line": "#e5e5ea",
      "--line2": "#d2d2d7",
      "--tx": "#1d1d1f",
      "--mute": "#6e6e73",
      "--faint": "#a1a1a6",
      "--acc": "#1d1d1f",
      "--acc-fg": "#ffffff"
    }
  }
}
