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": "text-3d-flip-demo",
"type": "registry:example",
"title": "Text 3D Flip Demo",
"description": "Example showing a 3D text animation that rotates each letter on hover.",
"registryDependencies": [
"@magicui/text-3d-flip"
],
"files": [
{
"path": "registry/example/text-3d-flip-demo.tsx",
"content": "import Text3DFlip from \"@/registry/magicui/text-3d-flip\"\n\nexport default function Text3DFlipDemo() {\n return (\n <Text3DFlip\n className=\"bg-background font-serif text-2xl sm:text-5xl md:text-[56px]\"\n textClassName=\"bg-background text-foreground\"\n flipTextClassName=\"bg-background text-foreground\"\n rotateDirection=\"top\"\n staggerDuration={0.03}\n staggerFrom=\"first\"\n transition={{ type: \"spring\", damping: 25, stiffness: 160 }}\n >\n Stay hungry, stay foolish\n </Text3DFlip>\n )\n}\n",
"type": "registry:example"
}
]
}