{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-octagon-alert",
  "type": "registry:ui",
  "title": "Octagon Alert Icon",
  "description": "Octagon Alert icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/octagon-alert/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/octagon-alert.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 OctagonAlertProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    mark: {\n      initial: { y: 0 },\n      animate: {\n        y: [0, -2, 0, -0.8, 0],\n        transition: {\n          duration: 0.6,\n          ease: 'easeInOut',\n          times: [0, 0.3, 0.55, 0.75, 1],\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: OctagonAlertProps) {\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      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      {...props}\n    >\n      <path d=\"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z\" />\n      <motion.g variants={variants.mark} initial=\"initial\" animate={controls}>\n        <path d=\"M12 8v4\" />\n        <path d=\"M12 16h.01\" />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction OctagonAlert(props: OctagonAlertProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  OctagonAlert,\n  OctagonAlert as OctagonAlertIcon,\n  type OctagonAlertProps,\n  type OctagonAlertProps as OctagonAlertIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "warning",
      "stop",
      "error",
      "danger",
      "exclamation"
    ]
  }
}