{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "animated-shiny-text", "title": "Animated Shiny Text", "description": "A light glare effect which pans across text making it appear as if it is shimmering.", "files": [ { "path": "registry/magicui/animated-shiny-text.tsx", "content": "import { ComponentPropsWithoutRef, CSSProperties, FC } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nexport interface AnimatedShinyTextProps\n extends ComponentPropsWithoutRef<\"span\"> {\n shimmerWidth?: number;\n}\n\nexport const AnimatedShinyText: FC = ({\n children,\n className,\n shimmerWidth = 100,\n ...props\n}) => {\n return (\n \n {children}\n \n );\n};\n", "type": "registry:ui", "target": "components/magicui/animated-shiny-text.tsx" } ], "tailwind": { "config": { "theme": { "extend": { "animation": { "shiny-text": "shiny-text 8s infinite" }, "keyframes": { "shiny-text": { "0%, 90%, 100%": { "background-position": "calc(-100% - var(--shiny-width)) 0" }, "30%, 60%": { "background-position": "calc(100% + var(--shiny-width)) 0" } } } } } } }, "type": "registry:ui" }