{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "square-arrow-out-up-left-icon", "type": "registry:ui", "title": "Square Arrow Out Up Left Icon", "description": "Square arrow out up left icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/square-arrow-out-up-left/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 SquareArrowOutUpLeftProps = IconProps;\n\nconst animations = {\n default: {\n group: {\n initial: {\n x: 0,\n y: 0,\n transition: { duration: 0.4, ease: 'easeInOut' },\n },\n animate: {\n x: -2,\n y: -2,\n transition: { duration: 0.4, ease: 'easeInOut' },\n },\n },\n path1: {},\n path2: {},\n path3: {},\n } satisfies Record,\n 'default-loop': {\n group: {\n initial: {\n x: 0,\n y: 0,\n },\n animate: {\n x: [0, -2, 0],\n y: [0, -2, 0],\n transition: { duration: 0.8, ease: 'easeInOut' },\n },\n },\n path1: {},\n path2: {},\n path3: {},\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: SquareArrowOutUpLeftProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n \n );\n}\n\nfunction SquareArrowOutUpLeft(props: SquareArrowOutUpLeftProps) {\n return ;\n}\n\nexport {\n animations,\n SquareArrowOutUpLeft,\n SquareArrowOutUpLeft as SquareArrowOutUpLeftIcon,\n type SquareArrowOutUpLeftProps,\n type SquareArrowOutUpLeftProps as SquareArrowOutUpLeftIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/square-arrow-out-up-left.tsx" } ], "meta": { "keywords": [ "outwards", "direction", "north-west", "diagonal" ] } }