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 / magnetic-button / block.json

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

126 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/magnetic-button",
5 "title": "Magnetic Button",
6 "category": "bkbg-effects",
7 "icon": "migrate",
8 "description": "A button that magnetically pulls toward the cursor as it approaches, with customizable pull strength, style, and ripple effect.",
9 "keywords": [
10 "magnetic",
11 "button",
12 "hover",
13 "cursor",
14 "interactive",
15 "animation",
16 "attract"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-magnetic-button-editor",
20 "style": "bkbg-magnetic-button-style",
21 "viewScript": "bkbg-magnetic-button-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "text": {
33 "type": "string",
34 "default": "Explore Now"
35 },
36 "subtext": {
37 "type": "string",
38 "default": ""
39 },
40 "href": {
41 "type": "string",
42 "default": ""
43 },
44 "target": {
45 "type": "string",
46 "default": "_self"
47 },
48 "buttonStyle": {
49 "type": "string",
50 "default": "filled"
51 },
52 "align": {
53 "type": "string",
54 "default": "center"
55 },
56 "magnetStrength": {
57 "type": "number",
58 "default": 40
59 },
60 "magnetRadius": {
61 "type": "number",
62 "default": 120
63 },
64 "ripple": {
65 "type": "boolean",
66 "default": true
67 },
68 "showArrow": {
69 "type": "boolean",
70 "default": false
71 },
72 "paddingX": {
73 "type": "number",
74 "default": 40
75 },
76 "paddingY": {
77 "type": "number",
78 "default": 18
79 },
80 "textTypo": {
81 "type": "object",
82 "default": {}
83 },
84 "borderRadius": {
85 "type": "number",
86 "default": 999
87 },
88 "borderWidth": {
89 "type": "number",
90 "default": 2
91 },
92 "iconSize": {
93 "type": "number",
94 "default": 18
95 },
96 "btnBg": {
97 "type": "string",
98 "default": "#6366f1"
99 },
100 "btnColor": {
101 "type": "string",
102 "default": "#ffffff"
103 },
104 "btnBorderColor": {
105 "type": "string",
106 "default": "#6366f1"
107 },
108 "hoverBg": {
109 "type": "string",
110 "default": "#4f46e5"
111 },
112 "hoverColor": {
113 "type": "string",
114 "default": "#ffffff"
115 },
116 "rippleColor": {
117 "type": "string",
118 "default": "rgba(255,255,255,0.35)"
119 },
120 "shadowColor": {
121 "type": "string",
122 "default": "rgba(99,102,241,0.4)"
123 }
124 }
125 }
126