{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-moon-star",
  "title": "Moon Star Icon",
  "description": "Moon star icon component.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "@animate-ui/icons-icon"
  ],
  "files": [
    {
      "path": "registry/icons/moon-star/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 MoonStarProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {\n      initial: {\n        rotate: 0,\n        transition: { duration: 0 },\n      },\n      animate: {\n        rotate: [0, -30, 400, 360],\n        transition: {\n          duration: 1.2,\n          times: [0, 0.25, 0.75, 1],\n          ease: ['easeInOut', 'easeInOut', 'easeInOut'],\n        },\n      },\n    },\n    group: {\n      initial: {\n        scale: 1,\n        rotate: 0,\n        y: 0,\n        x: 0,\n      },\n      animate: {\n        scale: [1, 0, 0, 1],\n        rotate: [0, 90, 90, 0],\n        y: [0, 6, 10, 0],\n        x: [0, -10, -6, 0],\n        transition: {\n          duration: 1.2,\n          ease: 'easeInOut',\n          times: [0, 0.25, 0.65, 1],\n        },\n      },\n    },\n    path2: {},\n    path3: {},\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: MoonStarProps) {\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      initial=\"initial\"\n      animate={controls}\n      {...props}\n    >\n      <motion.path\n        d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\n        variants={variants.path1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M18 5h4\"\n          variants={variants.path2}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M20 3v4\"\n          variants={variants.path3}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction MoonStar(props: MoonStarProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  MoonStar,\n  MoonStar as MoonStarIcon,\n  type MoonStarProps,\n  type MoonStarProps as MoonStarIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/moon-star.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "dark",
      "night",
      "star"
    ]
  },
  "type": "registry:ui"
}