{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-user",
  "title": "User",
  "description": "Animated Lucide user icon — draws on, then gives a small presence nod: head dips as shoulders rise to meet it.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-user/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 HEAD_PATH =\n  \"M12 3 A4 4 0 0 1 16 7 A4 4 0 0 1 12 11 A4 4 0 0 1 8 7 A4 4 0 0 1 12 3\";\nconst SHOULDERS_PATH = \"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 22,\n  loop: false,\n} as const;\n\nexport function UserIcon({\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 headDraw = interpolate(linearDraw, [0, 0.71], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const shouldersDraw = interpolate(linearDraw, [0.43, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const headDip = acting\n    ? interpolate(actionProgress, [0, 0.45, 1], [0, 1, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n  const shoulderRise = acting\n    ? interpolate(actionProgress, [0, 0.45, 1], [0, -1, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n\n  const head = drawnPathProps(HEAD_PATH, headDraw);\n  const shoulders = drawnPathProps(SHOULDERS_PATH, shouldersDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\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      <g transform={`translate(0 ${headDip})`}>\n        <path\n          d={HEAD_PATH}\n          strokeDasharray={head.strokeDasharray}\n          strokeDashoffset={head.strokeDashoffset}\n        />\n      </g>\n      <g transform={`translate(0 ${shoulderRise})`}>\n        <path\n          d={SHOULDERS_PATH}\n          strokeDasharray={shoulders.strokeDasharray}\n          strokeDashoffset={shoulders.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function UserIconStatic({\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      <path d={SHOULDERS_PATH} />\n      <circle cx=\"12\" cy=\"7\" r=\"4\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-user.tsx"
    }
  ],
  "type": "registry:component"
}
