{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-trash-2",
  "title": "Trash 2 Icon",
  "description": "Trash 2 icon component.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@odysseyui/icons-icon"
  ],
  "files": [
    {
      "path": "registry/icons/trash-2/index.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 '@/components/odyssey/icons/icon';\n\ntype Trash2Props = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    group: {\n      initial: {\n        y: 0,\n      },\n      animate: {\n        y: -1,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path1: {},\n    path2: {},\n    path3: {\n      initial: {\n        y: 0,\n        d: 'M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6',\n      },\n      animate: {\n        y: 1,\n        d: 'M19 8v12c0 1-1 2-2 2H7c-1 0-2-1-2-2V8',\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    line1: {\n      initial: {\n        y: 0,\n      },\n      animate: {\n        y: 1,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    line2: {\n      initial: {\n        y: 0,\n      },\n      animate: {\n        y: 1,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: Trash2Props) {\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      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"\n          variants={variants.path1}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M3 6h18\"\n          variants={variants.path2}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n      <motion.path\n        d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"\n        variants={variants.path3}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.line\n        x1={10}\n        x2={10}\n        y1={11}\n        y2={17}\n        variants={variants.line1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.line\n        x1={14}\n        x2={14}\n        y1={11}\n        y2={17}\n        variants={variants.line2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Trash2(props: Trash2Props) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Trash2,\n  Trash2 as Trash2Icon,\n  type Trash2Props,\n  type Trash2Props as Trash2IconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/odysseyui/icons/trash-2.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "garbage",
      "delete",
      "remove",
      "bin"
    ]
  },
  "type": "registry:ui"
}