{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-chart-line",
  "type": "registry:ui",
  "title": "Chart Line Icon",
  "description": "Chart line icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/chart-line/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/chart-line.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 ChartLineProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {},\n    path2: {\n      initial: { opacity: 1, pathLength: 1, pathOffset: 0 },\n      animate: {\n        opacity: [0, 1],\n        pathLength: [0, 1],\n        pathOffset: [1, 0],\n        transition: {\n          duration: 0.8,\n          ease: 'easeInOut',\n          opacity: { duration: 0.01 },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'default-loop': {\n    path1: {},\n    path2: {\n      initial: { opacity: 1, pathLength: 1, pathOffset: 0 },\n      animate: {\n        opacity: [1, 0, 1],\n        pathLength: [1, 0, 1],\n        pathOffset: [0, 1, 0],\n        transition: {\n          duration: 1.6,\n          ease: 'easeInOut',\n          opacity: { duration: 0.01 },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: ChartLineProps) {\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=\"M3 3L3 14C3 17.2998 3 18.9497 4.02513 19.9749C5.05025 21 6.70017 21 10 21L21 21\"\n        strokeLinecap=\"round\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M21 10.0764L20.3701 9.42505C19.264 8.28139 18.7109 7.70956 18.0414 7.7479C17.3719 7.78624 16.8833 8.41772 15.9061 9.68068L15.1262 10.6887C14.8757 11.0124 14.7505 11.1742 14.6138 11.2852C14.2025 11.6189 13.6529 11.7071 13.1632 11.518C13.0003 11.4552 12.8336 11.3402 12.5 11.1103C12.1664 10.8804 11.9997 10.7654 11.8368 10.7026C11.3471 10.5135 10.7975 10.6017 10.3862 10.9354C10.2495 11.0464 10.1242 11.2082 9.87381 11.5319L7 15.2461\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction ChartLine(props: ChartLineProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  ChartLine,\n  ChartLine as ChartLineIcon,\n  type ChartLineProps,\n  type ChartLineProps as ChartLineIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "statistics",
      "analytics",
      "diagram",
      "graph"
    ]
  }
}