{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "chevron-right-icon", "type": "registry:ui", "title": "Chevron Right Icon", "description": "Chevron right icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/chevron-right/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 ChevronRightProps = IconProps;\n\nconst animations = {\n default: {\n path: {\n initial: {\n x: 0,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n animate: {\n x: 4,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n },\n } satisfies Record,\n 'default-loop': {\n path: {\n initial: {\n x: 0,\n },\n animate: {\n x: [0, 4, 0],\n transition: { duration: 0.6, ease: 'easeInOut' },\n },\n },\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: ChevronRightProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n );\n}\n\nfunction ChevronRight(props: ChevronRightProps) {\n return ;\n}\n\nexport {\n animations,\n ChevronRight,\n ChevronRight as ChevronRightIcon,\n type ChevronRightProps,\n type ChevronRightProps as ChevronRightIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/chevron-right.tsx" } ], "meta": { "keywords": [ "forward", "next", "more than", "greater", "menu", "code", "coding", "command line", "terminal", "prompt", "shell", ">" ] } }