{ "name": "chart-column-increasing", "type": "registry:ui", "registryDependencies": [], "dependencies": [ "motion" ], "devDependencies": [], "tailwind": {}, "cssVars": { "light": {}, "dark": {} }, "files": [ { "path": "chart-column-increasing.tsx", "content": "'use client';\n\nimport { type Variants, motion, useAnimation } from 'motion/react';\n\nconst frameVariants: Variants = {\n visible: { opacity: 1 },\n hidden: { opacity: 1 },\n};\n\nconst lineVariants: Variants = {\n visible: { pathLength: 1, opacity: 1 },\n hidden: { pathLength: 0, opacity: 0 },\n};\n\nconst ChartColumnIncreasingIcon = () => {\n const controls = useAnimation();\n\n const handleHoverStart = async () => {\n await controls.start((i) => ({\n pathLength: 0,\n opacity: 0,\n transition: { delay: i * 0.1, duration: 0.3 },\n }));\n await controls.start((i) => ({\n pathLength: 1,\n opacity: 1,\n transition: { delay: i * 0.1, duration: 0.3 },\n }));\n };\n\n const handleHoverEnd = () => {\n controls.start('visible');\n };\n\n return (\n

\n \n \n \n \n \n \n
\n );\n};\n\nexport { ChartColumnIncreasingIcon };\n", "type": "registry:ui" } ] }