From 84b4f8bdca8285ee5a42ddfce7f4de59ff930e4f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 04:45:53 +0000 Subject: [PATCH] Switch to version 2: added registry/components/ButtonBounceEffect.json --- registry/components/ButtonBounceEffect.json | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 registry/components/ButtonBounceEffect.json diff --git a/registry/components/ButtonBounceEffect.json b/registry/components/ButtonBounceEffect.json new file mode 100644 index 0000000..13c976a --- /dev/null +++ b/registry/components/ButtonBounceEffect.json @@ -0,0 +1,36 @@ +{ + "name": "ButtonBounceEffect", + "description": "CTA button with bouncing character animation on hover.", + "details": "Use for primary or secondary CTAs where playful motion adds personality. On hover, each character bounces with a slight delay creating a wave effect. Includes background styling with bgClassName.", + "constraints": { + "textRules": { + "text": { + "required": true, + "example": "Get Started", + "minChars": 2, + "maxChars": 25 + } + } + }, + "propsSchema": { + "text": "string", + "onClick?": "() => void", + "href?": "string - External URLs open in new tab, internal values scroll to section", + "className?": "string", + "bgClassName?": "string", + "textClassName?": "string", + "disabled?": "boolean (default: false)", + "ariaLabel?": "string", + "type?": "'button' | 'submit' | 'reset' (default: 'button')" + }, + "usageExample": "", + "do": [ + "Use for general use" + ], + "dont": [], + "editRules": { + "textOnly": true, + "layoutLocked": true, + "styleLocked": true + } +}