{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-lucide-crown",
  "type": "registry:ui",
  "title": "Crown Icon",
  "description": "Crown icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/crown/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/crown.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 CrownProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    crown: {\n      initial: { y: 0, rotate: 0 },\n      animate: {\n        y: [0, -1.5, 0],\n        rotate: [0, -6, 0],\n        transition: { duration: 0.6, ease: 'easeInOut' },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: CrownProps) {\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=\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z\"\n        variants={variants.crown}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <path d=\"M5 21h14\" />\n    </motion.svg>\n  );\n}\n\nfunction Crown(props: CrownProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Crown,\n  Crown as CrownIcon,\n  type CrownProps,\n  type CrownProps as CrownIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "diadem",
      "tiara",
      "king",
      "queen",
      "royal"
    ]
  }
}