{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-pencil-line",
  "type": "registry:ui",
  "title": "Pencil Line Icon",
  "description": "Pencil Line icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/pencil-line/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/pencil-line.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 PencilLineProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    pencil: {\n      initial: { x: 0, y: 0, transition: { duration: 0.2, ease: 'easeOut' } },\n      animate: {\n        x: [0, 0.9, 0],\n        y: [0, -0.9, 0],\n        transition: { duration: 0.5, times: [0, 0.4, 1], ease: 'easeOut' },\n      },\n    },\n    line: {\n      initial: { pathLength: 1, opacity: 1, transition: { duration: 0.15 } },\n      animate: {\n        pathLength: [0, 1],\n        opacity: [0, 1],\n        transition: { duration: 0.3, delay: 0.12, ease: 'easeOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: PencilLineProps) {\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=\"M13 21h8\"\n        variants={variants.line}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.g variants={variants.pencil} initial=\"initial\" animate={controls}>\n        <path d=\"m15 5 4 4\" />\n        <path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction PencilLine(props: PencilLineProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  PencilLine,\n  PencilLine as PencilLineIcon,\n  type PencilLineProps,\n  type PencilLineProps as PencilLineIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "pencil",
      "change",
      "create",
      "draw",
      "sketch",
      "draft"
    ]
  }
}