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-animate-demo-9",
"type": "registry:example",
"title": "Text Animate Demo 9",
"description": "Ninth example showing various text animations.",
"registryDependencies": [
"@magicui/text-animate"
],
"files": [
{
"path": "registry/example/text-animate-demo-9.tsx",
"content": "\"use client\"\n\nimport { TextAnimate } from \"@/registry/magicui/text-animate\"\n\nexport default function TextAnimateDemo9() {\n return (\n <TextAnimate\n variants={{\n hidden: {\n opacity: 0,\n y: 30,\n rotate: 45,\n scale: 0.5,\n },\n show: (i) => ({\n opacity: 1,\n y: 0,\n rotate: 0,\n scale: 1,\n transition: {\n delay: i * 0.1,\n duration: 0.4,\n y: {\n type: \"spring\",\n damping: 12,\n stiffness: 200,\n mass: 0.8,\n },\n rotate: {\n type: \"spring\",\n damping: 8,\n stiffness: 150,\n },\n scale: {\n type: \"spring\",\n damping: 10,\n stiffness: 300,\n },\n },\n }),\n exit: (i) => ({\n opacity: 0,\n y: 30,\n rotate: 45,\n scale: 0.5,\n transition: {\n delay: i * 0.1,\n duration: 0.4,\n },\n }),\n }}\n by=\"character\"\n >\n Wavy Motion!\n </TextAnimate>\n )\n}\n",
"type": "registry:example"
}
]
}