UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update text animate
Dillion Verma66538d63a110
diff --git a/__registry__/index.tsx b/__registry__/index.tsxindex 8afc39c4..8446242e 100644--- a/__registry__/index.tsx+++ b/__registry__/index.tsx@@ -1693,6 +1693,19 @@ export const Index: Record<string, any> = {subcategory: "undefined",chunks: [],},+ "text-animate-demo-6": {+ name: "text-animate-demo-6",+ type: "registry:example",+ registryDependencies: undefined,+ files: ["registry/default/example/text-animate-demo-6.tsx"],+ component: React.lazy(+ () => import("@/registry/default/example/text-animate-demo-6.tsx"),+ ),+ source: "",+ category: "undefined",+ subcategory: "undefined",+ chunks: [],+ },"shiny-button-demo": {name: "shiny-button-demo",type: "registry:example",diff --git a/content/docs/components/text-animate.mdx b/content/docs/components/text-animate.mdxindex 55d83728..a0033a54 100644--- a/content/docs/components/text-animate.mdx+++ b/content/docs/components/text-animate.mdx@@ -57,6 +57,11 @@ npx shadcn@latest add "https://magicui.design/r/text-animate"### Fade In by Line<ComponentPreview name="text-animate-demo-5" />++### Slide Left by Character++<ComponentPreview name="text-animate-demo-6" />+## Props| Prop | Type | Description | Default |diff --git a/registry/default/example/text-animate-demo-6.tsx b/registry/default/example/text-animate-demo-6.tsxnew file mode 100644index 00000000..9bcdb548--- /dev/null+++ b/registry/default/example/text-animate-demo-6.tsx@@ -0,0 +1,9 @@+import { TextAnimate } from "@/registry/default/magicui/text-animate";++export default function TextAnimateDemo6() {+ return (+ <TextAnimate animation="slideLeft" by="character">+ Slide left by character+ </TextAnimate>+ );+}diff --git a/registry/registry-examples.ts b/registry/registry-examples.tsindex 5bd464b6..e55fcef5 100644--- a/registry/registry-examples.ts+++ b/registry/registry-examples.ts@@ -415,6 +415,11 @@ export const examples: Registry = [type: "registry:example",files: ["example/text-animate-demo-5.tsx"],},+ {+ name: "text-animate-demo-6",+ type: "registry:example",+ files: ["example/text-animate-demo-6.tsx"],+ },{name: "shiny-button-demo",type: "registry:example",