{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "trash-icon",
  "type": "registry:ui",
  "title": "Trash Icon",
  "description": "Trash icon component.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/trash/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/animate-ui/icons/icon';\n\ntype TrashProps = 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  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: TrashProps) {\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.svg>\n  );\n}\n\nfunction Trash(props: TrashProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Trash,\n  Trash as TrashIcon,\n  type TrashProps,\n  type TrashProps as TrashIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/trash.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "garbage",
      "delete",
      "remove",
      "bin"
    ]
  }
}