{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-type",
  "type": "registry:ui",
  "title": "Type Icon",
  "description": "Type icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/type/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/type.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 TypeProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    letter: {\n      initial: { scaleX: 1, scaleY: 1, transformOrigin: '50% 100%' },\n      animate: {\n        scaleX: [1, 1.08, 0.95, 1.02, 1],\n        scaleY: [1, 0.8, 1.06, 0.98, 1],\n        transformOrigin: '50% 100%',\n        transition: {\n          duration: 0.55,\n          times: [0, 0.3, 0.6, 0.8, 1],\n          ease: 'easeInOut',\n        },\n      },\n    },\n    mark: {},\n    cursor: {},\n  } satisfies Record<string, Variants>,\n  cursor: {\n    letter: {},\n    mark: {\n      initial: { opacity: 1 },\n      animate: {\n        opacity: [1, 0, 0, 0, 1],\n        transition: {\n          duration: 1.4,\n          times: [0, 0.06, 0.6, 0.72, 1],\n          ease: 'easeOut',\n        },\n      },\n    },\n    cursor: {\n      initial: { opacity: 1 },\n      animate: {\n        opacity: [1, 1, 0, 1, 0, 1, 1],\n        transition: {\n          duration: 1.4,\n          times: [0, 0.1, 0.25, 0.4, 0.55, 0.7, 1],\n          ease: 'linear',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: TypeProps) {\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.letter} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M12 4v16\"\n          variants={variants.mark}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2\"\n          variants={variants.mark}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M9 20h6\"\n          variants={variants.cursor}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Type(props: TypeProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Type,\n  Type as TypeIcon,\n  type TypeProps,\n  type TypeProps as TypeIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "text",
      "font",
      "typography"
    ]
  }
}