{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "wifi-icon", "type": "registry:ui", "title": "Wifi Icon", "description": "Wifi icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/wifi/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 WifiProps = IconProps;\n\nconst animations = {\n default: (() => {\n const animation: Record = {};\n\n for (let i = 1; i <= 4; i++) {\n animation[`path${i}`] = {\n initial: { opacity: 1, scale: 1 },\n animate: {\n opacity: 0,\n scale: 0,\n transition: {\n opacity: {\n duration: 0.2,\n ease: 'easeInOut',\n repeat: 1,\n repeatType: 'reverse',\n repeatDelay: 0.2,\n delay: 0.2 * (i - 1),\n },\n scale: {\n duration: 0.2,\n ease: 'easeInOut',\n repeat: 1,\n repeatType: 'reverse',\n repeatDelay: 0.2,\n delay: 0.2 * (i - 1),\n },\n },\n },\n };\n }\n\n return animation;\n })() satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: WifiProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n );\n}\n\nfunction Wifi(props: WifiProps) {\n return ;\n}\n\nexport {\n animations,\n Wifi,\n Wifi as WifiIcon,\n type WifiProps,\n type WifiProps as WifiIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/wifi.tsx" } ], "meta": { "keywords": [ "connection", "signal", "wireless" ] } }