From 8967277c6c2a296d685fbcb5171bfe30f8741b8e Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:18:58 +0000 Subject: [PATCH] Switch to version 2: added registry/components/TextAnimation.json --- registry/components/TextAnimation.json | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 registry/components/TextAnimation.json diff --git a/registry/components/TextAnimation.json b/registry/components/TextAnimation.json new file mode 100644 index 0000000..cd80555 --- /dev/null +++ b/registry/components/TextAnimation.json @@ -0,0 +1,36 @@ +{ + "name": "TextAnimation", + "description": "Unified scroll-triggered text animation component with three distinct animation types and two trigger variants.", + "details": "A versatile text animation component that offers three animation types, each with two trigger variants (trigger, words-trigger).", + "constraints": { + "textRules": { + "title": { + "required": true, + "example": "This animation responds to scroll. Watch as the text comes to life." + } + } + }, + "propsSchema": { + "type?": "'entrance-slide' | 'reveal-blur' | 'background-highlight'", + "title": "string", + "children?": "React.ReactNode", + "variant?": "'trigger' | 'words-trigger'", + "className?": "string", + "duration?": "number", + "stagger?": "number", + "start?": "string", + "end?": "string", + "ariaLabel?": "string", + "gradientColors?": "{ from: string, to: string }" + }, + "usageExample": "", + "do": [ + "Use for general use" + ], + "dont": [], + "editRules": { + "textOnly": true, + "layoutLocked": true, + "styleLocked": true + } +}