{ "name": "alarm-clock", "type": "registry:ui", "registryDependencies": [], "dependencies": [ "motion" ], "devDependencies": [], "tailwind": {}, "cssVars": { "light": {}, "dark": {} }, "files": [ { "path": "alarm-clock.tsx", "content": "'use client';\n\nimport type { Variants } from 'motion/react';\nimport { motion, useAnimation } from 'motion/react';\n\nconst pathVariants: Variants = {\n normal: {\n y: 0,\n x: 0,\n transition: {\n duration: 0.2,\n type: 'spring',\n stiffness: 200,\n damping: 25,\n },\n },\n animate: {\n y: -1.5,\n x: [-1, 1, -1, 1, -1, 0],\n transition: {\n y: {\n duration: 0.2,\n type: 'spring',\n stiffness: 200,\n damping: 25,\n },\n x: {\n duration: 0.3,\n repeat: Infinity,\n ease: 'linear',\n },\n },\n },\n};\n\nconst secondaryPathVariants: Variants = {\n normal: {\n y: 0,\n x: 0,\n transition: {\n duration: 0.2,\n type: 'spring',\n stiffness: 200,\n damping: 25,\n },\n },\n animate: {\n y: -2.5,\n x: [-2, 2, -2, 2, -2, 0],\n transition: {\n y: {\n duration: 0.2,\n type: 'spring',\n stiffness: 200,\n damping: 25,\n },\n x: {\n duration: 0.3,\n repeat: Infinity,\n ease: 'linear',\n },\n },\n },\n};\n\nconst AlarmClockIcon = () => {\n const controls = useAnimation();\n\n return (\n