{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-database",
  "title": "Database",
  "description": "Animated Lucide database icon — the cylinder draws on, then a write lands: the top disc pops and data settles down the stack.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-database/index.tsx",
      "content": "\"use client\";\n\nimport { Easing, interpolate } from \"remotion\";\nimport {\n  drawnPathProps,\n  type IconAnimationProps,\n  useIconAnimation,\n} from \"@/lib/remocn-icons\";\n\nconst DISC_PATH = \"M3 5A9 3 0 0 0 21 5A9 3 0 0 0 3 5Z\";\nconst BODY_PATH = \"M3 5V19A9 3 0 0 0 21 19V5\";\nconst MID_PATH = \"M3 12A9 3 0 0 0 21 12\";\n\nconst DISC_CX = 12;\nconst DISC_CY = 5;\n\nconst TIMINGS = {\n  drawDurationInFrames: 18,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 24,\n  loop: false,\n} as const;\n\nexport function DatabaseIcon({\n  animation = \"both\",\n  loop,\n  speed,\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: IconAnimationProps) {\n  const { drawProgress, scaleIn, actionProgress, actionFrame } =\n    useIconAnimation({ animation, loop, speed }, TIMINGS);\n\n  const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);\n  const acting = animation !== \"draw\" && actionFrame >= 0;\n\n  const discDraw = interpolate(linearDraw, [0, 0.55], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const bodyDraw = interpolate(linearDraw, [0.35, 0.75], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const midDraw = interpolate(linearDraw, [0.6, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const discPop = acting\n    ? interpolate(actionProgress, [0, 0.25, 0.5], [1, 1.06, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 1;\n  const midDip = acting\n    ? interpolate(actionProgress, [0.25, 0.5, 0.8], [0, 1.5, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n\n  const disc = drawnPathProps(DISC_PATH, acting ? 1 : discDraw);\n  const body = drawnPathProps(BODY_PATH, acting ? 1 : bodyDraw);\n  const mid = drawnPathProps(MID_PATH, acting ? 1 : midDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\n  const discTransform = `translate(${DISC_CX * (1 - discPop)} ${DISC_CY * (1 - discPop)}) scale(${discPop})`;\n\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      style={{\n        overflow: \"visible\",\n        transformOrigin: \"center\",\n        transform: `scale(${scale})`,\n      }}\n    >\n      <path\n        d={BODY_PATH}\n        strokeDasharray={body.strokeDasharray}\n        strokeDashoffset={body.strokeDashoffset}\n      />\n      <g transform={`translate(0 ${midDip})`}>\n        <path\n          d={MID_PATH}\n          strokeDasharray={mid.strokeDasharray}\n          strokeDashoffset={mid.strokeDashoffset}\n        />\n      </g>\n      <g transform={discTransform}>\n        <path\n          d={DISC_PATH}\n          strokeDasharray={disc.strokeDasharray}\n          strokeDashoffset={disc.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function DatabaseIconStatic({\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: {\n  size?: number;\n  color?: string;\n  strokeWidth?: number;\n  className?: string;\n}) {\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n    >\n      <ellipse cx=\"12\" cy=\"5\" rx=\"9\" ry=\"3\" />\n      <path d=\"M3 5V19A9 3 0 0 0 21 19V5\" />\n      <path d=\"M3 12A9 3 0 0 0 21 12\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-database.tsx"
    }
  ],
  "type": "registry:component"
}
