{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-terminal",
  "title": "Terminal Icon",
  "description": "Terminal icon component.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@animate-ui/icons-icon"
  ],
  "files": [
    {
      "path": "registry/icons/terminal/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 TerminalProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {\n      initial: {\n        opacity: 1,\n      },\n      animate: {\n        opacity: [1, 0, 1, 0, 1],\n        transition: {\n          duration: 1.5,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    path2: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: TerminalProps) {\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.path\n        d=\"M12 19h8\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m4 17 6-6-6-6\"\n        variants={variants.path2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Terminal(props: TerminalProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Terminal,\n  Terminal as TerminalIcon,\n  type TerminalProps,\n  type TerminalProps as TerminalIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/terminal.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "code",
      "command line",
      "prompt",
      "shell"
    ]
  },
  "type": "registry:ui"
}