{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pause-icon",
  "type": "registry:ui",
  "title": "Pause Icon",
  "description": "Pause icon component.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "registry/icons/pause/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 PauseProps = IconProps<keyof typeof animations>;\n\nconst animations = {\n  default: {\n    rect1: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: 1.5,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    rect2: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: -1.5,\n        transition: {\n          duration: 0.3,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n  'default-loop': {\n    rect1: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: [0, 1.5, 0],\n        transition: {\n          duration: 0.6,\n          ease: 'easeInOut',\n        },\n      },\n    },\n    rect2: {\n      initial: {\n        x: 0,\n      },\n      animate: {\n        x: [0, -1.5, 0],\n        transition: {\n          duration: 0.6,\n          ease: 'easeInOut',\n        },\n      },\n    },\n  } satisfies Record<string, Variants>,\n} as const;\n\nfunction IconComponent({ size, ...props }: PauseProps) {\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.rect\n        x={14}\n        y={4}\n        width={4}\n        height={16}\n        rx={1}\n        variants={variants.rect1}\n        initial=\"initial\"\n        animate={controls}\n      />\n      <motion.rect\n        x={6}\n        y={4}\n        width={4}\n        height={16}\n        rx={1}\n        variants={variants.rect2}\n        initial=\"initial\"\n        animate={controls}\n      />\n    </motion.svg>\n  );\n}\n\nfunction Pause(props: PauseProps) {\n  return <IconWrapper icon={IconComponent} {...props} />;\n}\n\nexport {\n  animations,\n  Pause,\n  Pause as PauseIcon,\n  type PauseProps,\n  type PauseProps as PauseIconProps,\n};\n",
      "type": "registry:ui",
      "target": "components/animate-ui/icons/pause.tsx"
    }
  ],
  "meta": {
    "keywords": [
      "music",
      "stop"
    ]
  }
}