{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-maximize",
  "title": "Maximize",
  "description": "Animated Lucide maximize icon — four corner brackets draw on, then fly outward and spring back like a window going fullscreen.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-maximize/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 TL_PATH = \"M8 3H5a2 2 0 0 0-2 2v3\";\nconst TR_PATH = \"M21 8V5a2 2 0 0 0-2-2h-3\";\nconst BL_PATH = \"M3 16v3a2 2 0 0 0 2 2h3\";\nconst BR_PATH = \"M16 21h3a2 2 0 0 0 2-2v-3\";\n\nconst TIMINGS = {\n  drawDurationInFrames: 14,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 24,\n  loop: false,\n} as const;\n\nconst BRACKETS = [\n  { path: TL_PATH, dx: -1, dy: -1 },\n  { path: TR_PATH, dx: 1, dy: -1 },\n  { path: BL_PATH, dx: -1, dy: 1 },\n  { path: BR_PATH, dx: 1, dy: 1 },\n] as const;\n\nexport function MaximizeIcon({\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 acting = animation !== \"draw\" && actionFrame >= 0;\n  const expand = acting\n    ? interpolate(actionProgress, [0, 0.42, 1], [0, 1.77, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\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      {BRACKETS.map((bracket) => {\n        const dash = drawnPathProps(bracket.path, drawProgress);\n        return (\n          <g\n            key={bracket.path}\n            transform={`translate(${bracket.dx * expand} ${bracket.dy * expand})`}\n          >\n            <path\n              d={bracket.path}\n              strokeDasharray={dash.strokeDasharray}\n              strokeDashoffset={dash.strokeDashoffset}\n            />\n          </g>\n        );\n      })}\n    </svg>\n  );\n}\n\nexport function MaximizeIconStatic({\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={TL_PATH} />\n      <path d={TR_PATH} />\n      <path d={BL_PATH} />\n      <path d={BR_PATH} />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-maximize.tsx"
    }
  ],
  "type": "registry:component"
}
