{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "fingerprint-icon", "type": "registry:ui", "title": "Fingerprint Icon", "description": "Fingerprint icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/fingerprint/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 pathClassName,\n} from '@/components/animate-ui/icons/icon';\nimport { cn } from '@/lib/utils';\n\ntype FingerprintProps = IconProps;\n\nconst animations = {\n default: (() => {\n const variants: Record = {\n group: {\n initial: {\n scale: 1,\n },\n animate: {\n scale: [1, 1.1, 1],\n transition: {\n ease: 'easeInOut',\n duration: 1.5,\n },\n },\n },\n path: {\n initial: {\n strokeOpacity: 0.2,\n },\n },\n };\n new Array(9).fill(0).forEach((_, i) => {\n variants[`path${i + 1}`] = {\n initial: {\n pathLength: 1,\n },\n animate: {\n pathLength: [1, 0.05, 1],\n transition: {\n pathLength: { duration: 1.5, ease: 'easeInOut' },\n },\n },\n };\n });\n return variants;\n })() satisfies Record,\n 'default-2': (() => {\n const variants: Record = {\n group: {\n initial: {\n scale: 1,\n },\n animate: {\n scale: [1, 1.1, 1],\n transition: {\n ease: 'easeInOut',\n duration: 1.5,\n },\n },\n },\n path: {\n initial: {\n strokeOpacity: 0,\n },\n },\n };\n new Array(9).fill(0).forEach((_, i) => {\n variants[`path${i + 1}`] = {\n initial: {\n pathLength: 1,\n },\n animate: {\n pathLength: [1, 0.05, 1],\n transition: {\n pathLength: { duration: 1.5, ease: 'easeInOut' },\n },\n },\n };\n });\n return variants;\n })() satisfies Record,\n} as const;\n\nfunction IconComponent({ size, className, ...props }: FingerprintProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nfunction Fingerprint(props: FingerprintProps) {\n return ;\n}\n\nexport {\n animations,\n Fingerprint,\n Fingerprint as FingerprintIcon,\n type FingerprintProps,\n type FingerprintProps as FingerprintIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/fingerprint.tsx" } ], "meta": { "keywords": [ "2fa", "authentication", "biometric", "identity", "security" ] } }