PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / confetti-button / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/confetti-button/block.json

188 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/confetti-button",
5 "title": "Confetti Button",
6 "category": "bkbg-effects",
7 "icon": "star-filled",
8 "description": "A call-to-action button that triggers a burst of canvas confetti particles on click. Supports multiple confetti styles, custom colors, particle physics and link/action settings.",
9 "keywords": [
10 "confetti",
11 "button",
12 "celebration",
13 "cta",
14 "particles",
15 "fun",
16 "interactive",
17 "burst",
18 "fireworks"
19 ],
20 "textdomain": "blockenberg",
21 "editorScript": "bkbg-confetti-button-editor",
22 "style": "bkbg-confetti-button-style",
23 "viewScript": "bkbg-confetti-button-frontend",
24 "supports": {
25 "html": false,
26 "anchor": true,
27 "className": true,
28 "align": [
29 "center",
30 "wide",
31 "full"
32 ]
33 },
34 "attributes": {
35 "text": {
36 "type": "string",
37 "default": "🎉 Celebrate!"
38 },
39 "subText": {
40 "type": "string",
41 "default": ""
42 },
43 "showSubText": {
44 "type": "boolean",
45 "default": false
46 },
47 "url": {
48 "type": "string",
49 "default": ""
50 },
51 "openInNewTab": {
52 "type": "boolean",
53 "default": false
54 },
55 "confettiStyle": {
56 "type": "string",
57 "default": "burst"
58 },
59 "particleCount": {
60 "type": "number",
61 "default": 120
62 },
63 "spread": {
64 "type": "number",
65 "default": 70
66 },
67 "gravity": {
68 "type": "number",
69 "default": 1
70 },
71 "particleSize": {
72 "type": "number",
73 "default": 8
74 },
75 "colors": {
76 "type": "array",
77 "default": [
78 "#ff6b6b",
79 "#ffd93d",
80 "#6bcb77",
81 "#4d96ff",
82 "#c77dff",
83 "#ff9f1c"
84 ]
85 },
86 "shapes": {
87 "type": "string",
88 "default": "mixed"
89 },
90 "origin": {
91 "type": "string",
92 "default": "button"
93 },
94 "duration": {
95 "type": "number",
96 "default": 3000
97 },
98 "repeat": {
99 "type": "boolean",
100 "default": true
101 },
102 "buttonBg": {
103 "type": "string",
104 "default": "#6366f1"
105 },
106 "buttonColor": {
107 "type": "string",
108 "default": "#ffffff"
109 },
110 "buttonHoverBg": {
111 "type": "string",
112 "default": "#4f46e5"
113 },
114 "buttonRadius": {
115 "type": "number",
116 "default": 12
117 },
118 "buttonPaddingV": {
119 "type": "number",
120 "default": 16
121 },
122 "buttonPaddingH": {
123 "type": "number",
124 "default": 40
125 },
126 "fontSize": {
127 "type": "number",
128 "default": 18
129 },
130 "fontWeight": {
131 "type": "string",
132 "default": "700"
133 },
134 "showShadow": {
135 "type": "boolean",
136 "default": true
137 },
138 "align": {
139 "type": "string",
140 "default": "center"
141 },
142 "fullWidth": {
143 "type": "boolean",
144 "default": false
145 },
146 "maxWidth": {
147 "type": "number",
148 "default": 400
149 },
150 "iconBefore": {
151 "type": "string",
152 "default": ""
153 },
154 "iconBeforeType": {
155 "type": "string",
156 "default": "custom-char"
157 },
158 "iconBeforeDashicon": {
159 "type": "string",
160 "default": "arrow-left-alt"
161 },
162 "iconBeforeImageUrl": {
163 "type": "string",
164 "default": ""
165 },
166 "iconAfter": {
167 "type": "string",
168 "default": ""
169 },
170 "iconAfterType": {
171 "type": "string",
172 "default": "custom-char"
173 },
174 "iconAfterDashicon": {
175 "type": "string",
176 "default": "arrow-right-alt"
177 },
178 "iconAfterImageUrl": {
179 "type": "string",
180 "default": ""
181 },
182 "typoButton": {
183 "type": "object",
184 "default": {}
185 }
186 }
187 }
188