{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-chart-column-increasing",
  "type": "registry:ui",
  "title": "Chart Column Increasing Icon",
  "description": "Chart column increasing icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/chart-column-increasing/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/chart-column-increasing.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\nimport { motion, type Variants } from 'motion/react';\n\nimport {\n  getVariants,\n  useAnimateIconContext,\n  IconWrapper,\n  type IconProps,\n} from '@animate-ui/react/icons';\n\ntype ChartColumnIncreasingProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: (() => {\n    const animation: Record<string, Variants> = {\n      path4: {},\n    };\n\n    for (let i = 1; i <= 3; i++) {\n      animation[`path${i}`] = {\n        initial: { opacity: 1, pathLength: 1 },\n        animate: {\n          opacity: [0, 1],\n          pathLength: [0, 1],\n          transition: {\n            ease: 'easeInOut',\n            duration: 0.4,\n            delay: (i - 1) * 0.3,\n          },\n        },\n      };\n    }\n\n    return animation as Record<string, Variants>;\n  })() satisfies Record<string, Variants>,\n  'default-loop': (() => {\n    const n = 3;\n    const delayStep = 0.3;\n    const segDuration = 0.4;\n\n    const startOut = (i: number) => (n - i) * delayStep;\n    const endOut = (i: number) => startOut(i) + segDuration;\n\n    const outTotal = Math.max(\n      ...Array.from({ length: n }, (_, k) => endOut(k + 1)),\n    );\n\n    const startIn = (i: number) => outTotal + (i - 1) * delayStep;\n    const endIn = (i: number) => startIn(i) + segDuration;\n\n    const totalDuration = Math.max(\n      ...Array.from({ length: n }, (_, k) => endIn(k + 1)),\n    );\n\n    const animation: Record<string, Variants> = {};\n\n    for (let i = 1; i <= n; i++) {\n      const tSO = startOut(i) / totalDuration;\n      const tEO = endOut(i) / totalDuration;\n      const tSI = startIn(i) / totalDuration;\n      const tEI = endIn(i) / totalDuration;\n\n      animation[`path${i}`] = {\n        initial: { opacity: 1, pathLength: 1 },\n        animate: {\n          pathLength: [1, 1, 0, 0, 1],\n          opacity: [1, 1, 0, 0, 1],\n          transition: {\n            ease: 'easeInOut',\n            duration: totalDuration,\n            times: [0, tSO, tEO, tSI, tEI],\n          },\n        },\n      };\n    }\n\n    return animation as Record<string, Variants>;\n  })() satisfies Record<string, Variants>,\n  decreasing: {\n    path1: {\n      initial: { d: 'M8 17V14' },\n      animate: {\n        d: 'M8 17V5',\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path2: {\n      initial: { d: 'M13 17V9' },\n      animate: {\n        d: 'M13 17V9',\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path3: {\n      initial: { d: 'M18 17V5' },\n      animate: {\n        d: 'M18 17V14',\n        transition: { duration: 0.5, ease: 'easeInOut' },\n      },\n    },\n    path4: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: ChartColumnIncreasingProps) {\n  const { controls } = useAnimateIconContext();\n  const variants = getVariants(animations);\n\n  return (\n    <motion.svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth={2}\n      {...props}\n    >\n      <motion.path\n        d=\"M8 17V14\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M13 17V9\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M18 17V5\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path3}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M21 21H10C6.70017 21 5.05025 21 4.02513 19.9749C3 18.9497 3 17.2998 3 14V3\"\n        strokeLinecap=\"round\"\n        variants={variants.path4}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction ChartColumnIncreasing(props: ChartColumnIncreasingProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  ChartColumnIncreasing,\n  ChartColumnIncreasing as ChartColumnIncreasingIcon,\n  type ChartColumnIncreasingProps,\n  type ChartColumnIncreasingProps as ChartColumnIncreasingIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "statistics",
      "analytics",
      "diagram",
      "graph",
      "trending up"
    ]
  }
}