{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "message-square-text-icon", "type": "registry:ui", "title": "Message Square Text Icon", "description": "Message square text icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/message-square-text/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 MessageSquareTextProps = IconProps;\n\nconst animations = {\n default: {\n group: {\n initial: {\n rotate: 0,\n },\n animate: {\n transformOrigin: 'bottom left',\n rotate: [0, 8, -8, 2, 0],\n transition: {\n ease: 'easeInOut',\n duration: 0.8,\n times: [0, 0.4, 0.6, 0.8, 1],\n },\n },\n },\n path1: {},\n path2: {\n initial: {\n opacity: 1,\n pathLength: 1,\n pathOffset: 0,\n },\n animate: {\n opacity: [1, 0, 1],\n pathLength: [1, 0, 1],\n pathOffset: [0, 1, 0],\n transition: {\n duration: 0.6,\n ease: 'easeInOut',\n opacity: { duration: 0.01 },\n },\n },\n },\n path3: {\n initial: {\n opacity: 1,\n pathLength: 1,\n pathOffset: 0,\n },\n animate: {\n opacity: [1, 0, 1],\n pathLength: [1, 0, 1],\n pathOffset: [0, 1, 0],\n transition: {\n duration: 0.6,\n ease: 'easeInOut',\n opacity: { duration: 0.01 },\n },\n },\n },\n } satisfies Record,\n write: {\n group: {},\n path1: {},\n path2: {\n initial: {\n opacity: 1,\n pathLength: 1,\n pathOffset: 0,\n },\n animate: {\n opacity: [0, 1],\n pathLength: [0, 1],\n pathOffset: [1, 0],\n transition: {\n duration: 0.3,\n ease: 'easeInOut',\n opacity: { duration: 0.01 },\n },\n },\n },\n path3: {\n initial: {\n opacity: 1,\n pathLength: 1,\n pathOffset: 0,\n },\n animate: {\n opacity: [0, 1],\n pathLength: [0, 1],\n pathOffset: [1, 0],\n transition: {\n duration: 0.6,\n ease: 'easeInOut',\n opacity: { duration: 0.01 },\n },\n },\n },\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: MessageSquareTextProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n \n );\n}\n\nfunction MessageSquareText(props: MessageSquareTextProps) {\n return ;\n}\n\nexport {\n animations,\n MessageSquareText,\n MessageSquareText as MessageSquareTextIcon,\n type MessageSquareTextProps,\n type MessageSquareTextProps as MessageSquareTextIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/message-square-text.tsx" } ], "meta": { "keywords": [ "comment", "chat", "conversation", "dialog", "feedback", "speech bubble" ] } }