UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "line-shadow-text-demo",
"type": "registry:example",
"title": "Line Shadow Text Demo",
"description": "Example showing a text component with a moving line shadow.",
"registryDependencies": [
"@magicui/line-shadow-text"
],
"files": [
{
"path": "registry/example/line-shadow-text-demo.tsx",
"content": "\"use client\"\n\nimport { useTheme } from \"next-themes\"\n\nimport { LineShadowText } from \"@/registry/magicui/line-shadow-text\"\n\nexport default function LineShadowTextDemo() {\n const theme = useTheme()\n const shadowColor = theme.resolvedTheme === \"dark\" ? \"white\" : \"black\"\n return (\n <h1 className=\"text-5xl leading-none font-semibold tracking-tighter text-balance sm:text-6xl md:text-7xl lg:text-8xl\">\n Ship\n <LineShadowText className=\"italic\" shadowColor={shadowColor}>\n Fast\n </LineShadowText>\n </h1>\n )\n}\n",
"type": "registry:example"
}
]
}