{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "volume-1-icon", "type": "registry:ui", "title": "Volume 1 Icon", "description": "Volume 1 icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/volume-1/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 Volume1Props = IconProps;\n\nconst animations = {\n default: {\n path1: {\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 },\n scale: {\n duration: 0.2,\n ease: 'easeInOut',\n repeat: 1,\n repeatType: 'reverse',\n repeatDelay: 0.2,\n },\n },\n },\n },\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: Volume1Props) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n );\n}\n\nfunction Volume1(props: Volume1Props) {\n return ;\n}\n\nexport {\n animations,\n Volume1,\n Volume1 as Volume1Icon,\n type Volume1Props,\n type Volume1Props as Volume1IconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/volume-1.tsx" } ], "meta": { "keywords": [ "music", "sound", "speaker" ] } }