{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icons-hugeicons-hourglass",
  "type": "registry:ui",
  "title": "Hourglass Icon",
  "description": "Hourglass icon component.",
  "dependencies": [
    "@animate-ui/react",
    "motion"
  ],
  "files": [
    {
      "path": "registry/hugeicons/hourglass/index.tsx",
      "type": "registry:ui",
      "target": "@components/animate-ui/icons/hugeicons/hourglass.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 HourglassProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    path1: {},\n    path2: {},\n    path3: {},\n    path4: {},\n    group: {\n      initial: {\n        rotate: 0,\n        scale: 1,\n        transition: { duration: 0.8, ease: 'easeInOut' },\n      },\n      animate: {\n        rotate: 180,\n        scale: [1, 0.75, 0.75, 1],\n        transition: {\n          duration: 0.8,\n          ease: 'easeInOut',\n          scale: { duration: 0.8, ease: 'easeInOut', times: [0, 0.2, 0.8, 1] },\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: HourglassProps) {\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      {...props}\n    >\n      <motion.g variants={variants.group} initial=\"initial\" animate={controls}>\n        <motion.path\n          d=\"M4 3H20\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path1}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M5.5 3V5.03039C5.5 6.27227 6.07682 7.4437 7.06116 8.20089L12 12L16.9388 8.20089C17.9232 7.44371 18.5 6.27227 18.5 5.03039V3\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path2}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M5.5 21V18.9696C5.5 17.7277 6.07682 16.5563 7.06116 15.7991L12 12L16.9388 15.7991C17.9232 16.5563 18.5 17.7277 18.5 18.9696V21\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path3}\n          initial=\"initial\"\n          animate={controls}\n        />\n        <motion.path\n          d=\"M4 21H20\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          variants={variants.path4}\n          initial=\"initial\"\n          animate={controls}\n        />\n      </motion.g>\n    </motion.svg>\n  );\n}\n\nfunction Hourglass(props: HourglassProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Hourglass,\n  Hourglass as HourglassIcon,\n  type HourglassProps,\n  type HourglassProps as HourglassIconProps,\n};\n"
    }
  ],
  "meta": {
    "keywords": [
      "time",
      "wait",
      "timer",
      "sand"
    ]
  }
}