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