{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-flag",
  "type": "registry:ui",
  "title": "Flag Icon",
  "description": "Flag icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/flag/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/flag.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 FlagProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    cloth: {\n      initial: { skewY: 0, scaleX: 1, transformOrigin: '0% 50%' },\n      animate: {\n        skewY: [0, 3, -3, 1.5, 0],\n        scaleX: [1, 0.9, 1, 0.95, 1],\n        transformOrigin: '0% 50%',\n        transition: { duration: 0.9, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: FlagProps) {\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      <path\n        d=\"M5.0249 21C5.04385 19.2643 5.04366 17.5541 5.0366 15.9209\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\n      <path\n        d=\"M5.0366 15.9209C5.01301 10.4614 4.91276 5.86186 5.19475 4.04271\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\n      <motion.path\n        d=\"M5.19475 4.04271C5.5611 1.67939 9.39301 3.82993 13.9703 5.59842L16.0328 6.48729C17.5508 7.1415 19.7187 8.30352 18.7662 9.66084C18.3738 10.22 17.56 10.8596 16.0575 11.567L5.0366 15.9209\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.cloth}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Flag(props: FlagProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Flag,\n  Flag as FlagIcon,\n  type FlagProps,\n  type FlagProps as FlagIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "report",
      "country",
      "goal",
      "milestone",
      "mark"
    ]
  }
}