{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-frame",
  "type": "registry:ui",
  "title": "Frame Icon",
  "description": "Frame icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/frame/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/frame.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 FrameProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    line1: {\n      initial: {\n        y: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n      animate: {\n        y: -4,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n    },\n    line2: {\n      initial: {\n        y: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n      animate: {\n        y: 4,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n    },\n    line3: {\n      initial: {\n        x: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n      animate: {\n        x: -4,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n    },\n    line4: {\n      initial: {\n        x: 0,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n      animate: {\n        x: 4,\n        transition: { type: 'spring', stiffness: 150, damping: 15 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'default-loop': {\n    line1: {\n      initial: {\n        y: 0,\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n      animate: {\n        y: [0, -4, 0],\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n    },\n    line2: {\n      initial: {\n        y: 0,\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n      animate: {\n        y: [0, 4, 0],\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n    },\n    line3: {\n      initial: {\n        x: 0,\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n      animate: {\n        x: [0, -4, 0],\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n    },\n    line4: {\n      initial: {\n        x: 0,\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n      animate: {\n        x: [0, 4, 0],\n        transition: { ease: 'easeInOut', duration: 0.8 },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: FrameProps) {\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=\"M22 6L2 6\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.line1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M22 18L2 18\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.line2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M6 2L6 22\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.line3}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"M18 2L18 22\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        variants={variants.line4}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Frame(props: FrameProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Frame,\n  Frame as FrameIcon,\n  type FrameProps,\n  type FrameProps as FrameIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "logo",
      "design",
      "tool"
    ]
  }
}