{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "rotate-ccw-icon", "type": "registry:ui", "title": "Rotate Ccw Icon", "description": "Rotate ccw icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/rotate-ccw/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 RotateCcwProps = IconProps;\n\nconst animations = {\n default: {\n group: {\n initial: {\n rotate: 0,\n transition: { type: 'spring', stiffness: 150, damping: 25 },\n },\n animate: {\n rotate: -45,\n transition: { type: 'spring', stiffness: 150, damping: 25 },\n },\n },\n path1: {},\n path2: {},\n } satisfies Record,\n rotate: {\n group: {\n initial: {\n rotate: 0,\n transition: { type: 'spring', stiffness: 150, damping: 25 },\n },\n animate: {\n rotate: -360,\n transition: { type: 'spring', stiffness: 150, damping: 25 },\n },\n },\n path1: {},\n path2: {},\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: RotateCcwProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n );\n}\n\nfunction RotateCcw(props: RotateCcwProps) {\n return ;\n}\n\nexport {\n animations,\n RotateCcw,\n RotateCcw as RotateCcwIcon,\n type RotateCcwProps,\n type RotateCcwProps as RotateCcwIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/rotate-ccw.tsx" } ], "meta": { "keywords": [ "rotate", "arrow", "left", "counter-clockwise", "restart", "reload", "rerun", "refresh", "backup", "undo", "replay", "redo", "retry", "rewind", "reverse" ] } }