{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "bell-icon", "type": "registry:ui", "title": "Bell Icon", "description": "Bell icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/bell/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 BellProps = IconProps;\n\nconst animations = {\n default: {\n group: {\n initial: {\n rotate: 0,\n },\n animate: {\n rotate: [0, 20, -10, 10, -5, 3, 0],\n transformOrigin: 'top center',\n transition: { duration: 0.9, ease: 'easeInOut' },\n },\n },\n path1: {\n initial: {\n x: 0,\n },\n animate: {\n x: [0, -6, 5, -5, 4, -3, 2, 0],\n transition: { duration: 1.1, ease: 'easeInOut' },\n },\n },\n path2: {},\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: BellProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n );\n}\n\nfunction Bell(props: BellProps) {\n return ;\n}\n\nexport {\n animations,\n Bell,\n Bell as BellIcon,\n type BellProps,\n type BellProps as BellIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/bell.tsx" } ], "meta": { "keywords": [ "alarm", "notification", "sound", "reminder" ] } }