{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "AnimatedList-JS-CSS",
"type": "registry:block",
"title": "AnimatedList",
"description": "List items enter with staggered motion variants for polished reveals.",
"dependencies": [
"motion"
],
"files": [
{
"path": "public/default/src/content/Components/AnimatedList/AnimatedList.jsx",
"content": "import { useRef, useState, useEffect } from 'react';\nimport { motion, useInView } from 'motion/react';\nimport './AnimatedList.css';\n\nconst AnimatedItem = ({ children, delay = 0, index, onMouseEnter, onClick }) => {\n const ref = useRef(null);\n const inView = useInView(ref, { amount: 0.5, triggerOnce: false });\n return (\n
{item}
\n