{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-pencil-ruler",
  "type": "registry:ui",
  "title": "Pencil Ruler Icon",
  "description": "Pencil Ruler icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/pencil-ruler/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/pencil-ruler.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 PencilRulerProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    ruler: {},\n    tick1: {},\n    tick2: {},\n    pencil: {\n      initial: { x: 0, y: 0 },\n      animate: {\n        x: [0, -1, 0],\n        y: [0, 1, 0],\n        transition: { duration: 0.55, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: PencilRulerProps) {\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 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13\"\n        variants={variants.ruler}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m8 6 2-2\"\n        variants={variants.tick1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m18 16 2-2\"\n        variants={variants.tick2}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.path\n        d=\"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17\"\n        variants={variants.ruler}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.g variants={variants.pencil} initial=\"initial\" animate={controls}>\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        <path d=\"m15 5 4 4\" />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction PencilRuler(props: PencilRulerProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  PencilRuler,\n  PencilRuler as PencilRulerIcon,\n  type PencilRulerProps,\n  type PencilRulerProps as PencilRulerIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "edit",
      "create",
      "draw",
      "sketch",
      "draft",
      "writer"
    ]
  }
}