PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
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 / content-switcher / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/content-switcher/block.json

224 lines 6.3 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/content-switcher",
5 "version": "1.0.0",
6 "title": "Content Switcher",
7 "category": "bkbg-content",
8 "icon": "controls-repeat",
9 "description": "Two-panel toggle block — a pill/tab switch with a label for each state, each panel containing its own headline, body text, bullet list, image, and CTA. Great for Individual/Team, Starter/Pro, Before/After content.",
10 "keywords": [
11 "switcher",
12 "toggle",
13 "panels",
14 "tabs",
15 "compare",
16 "before after"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-content-switcher-editor",
20 "style": "bkbg-content-switcher-style",
21 "viewScript": "bkbg-content-switcher-frontend",
22 "attributes": {
23 "switchStyle": {
24 "type": "string",
25 "default": "pill"
26 },
27 "switchAlign": {
28 "type": "string",
29 "default": "center"
30 },
31 "panelLayout": {
32 "type": "string",
33 "default": "image-right"
34 },
35 "defaultActive": {
36 "type": "number",
37 "default": 0
38 },
39 "panels": {
40 "type": "array",
41 "default": [
42 {
43 "id": "p0",
44 "switchLabel": "For Individuals",
45 "badge": "🙋 Personal",
46 "showBadge": true,
47 "headline": "Everything you need as an individual",
48 "body": "Manage your projects, track progress, and stay on top of your tasks — all in one place designed just for you.",
49 "bullets": [
50 {
51 "id": "b1",
52 "text": "Unlimited personal projects"
53 },
54 {
55 "id": "b2",
56 "text": "Smart task prioritization"
57 },
58 {
59 "id": "b3",
60 "text": "Daily focus mode"
61 }
62 ],
63 "ctaLabel": "Start for Free",
64 "ctaUrl": "#",
65 "ctaTarget": false,
66 "imageUrl": "",
67 "imageId": 0
68 },
69 {
70 "id": "p1",
71 "switchLabel": "For Teams",
72 "badge": "👥 Teams",
73 "showBadge": true,
74 "headline": "Collaborate and move faster as a team",
75 "body": "Real-time collaboration, shared workspaces, and team dashboards that keep everyone aligned and moving in the same direction.",
76 "bullets": [
77 {
78 "id": "b1",
79 "text": "Shared team workspaces"
80 },
81 {
82 "id": "b2",
83 "text": "Role-based permissions"
84 },
85 {
86 "id": "b3",
87 "text": "Team analytics dashboard"
88 }
89 ],
90 "ctaLabel": "Start with Your Team",
91 "ctaUrl": "#",
92 "ctaTarget": false,
93 "imageUrl": "",
94 "imageId": 0
95 }
96 ],
97 "items": {
98 "type": "object"
99 }
100 },
101 "imageRadius": {
102 "type": "number",
103 "default": 16
104 },
105 "imageShadow": {
106 "type": "boolean",
107 "default": true
108 },
109 "imageRatio": {
110 "type": "string",
111 "default": "4/3"
112 },
113 "showBullets": {
114 "type": "boolean",
115 "default": true
116 },
117 "bulletIcon": {
118 "type": "string",
119 "default": "check"
120 },
121 "switchRadius": {
122 "type": "number",
123 "default": 99
124 },
125 "ctaRadius": {
126 "type": "number",
127 "default": 8
128 },
129 "headlineSize": {
130 "type": "number",
131 "default": 34
132 },
133 "bodySize": {
134 "type": "number",
135 "default": 16
136 },
137 "bulletSize": {
138 "type": "number",
139 "default": 14
140 },
141 "badgeSize": {
142 "type": "number",
143 "default": 13
144 },
145 "switchSize": {
146 "type": "number",
147 "default": 15
148 },
149 "accentColor": {
150 "type": "string",
151 "default": "#6c3fb5"
152 },
153 "switchBg": {
154 "type": "string",
155 "default": "#f3f4f6"
156 },
157 "switchActiveText": {
158 "type": "string",
159 "default": "#ffffff"
160 },
161 "headlineColor": {
162 "type": "string",
163 "default": "#111827"
164 },
165 "bodyColor": {
166 "type": "string",
167 "default": "#4b5563"
168 },
169 "bulletColor": {
170 "type": "string",
171 "default": "#374151"
172 },
173 "bulletIconColor": {
174 "type": "string",
175 "default": "#6c3fb5"
176 },
177 "ctaBg": {
178 "type": "string",
179 "default": "#6c3fb5"
180 },
181 "ctaColor": {
182 "type": "string",
183 "default": "#ffffff"
184 },
185 "animate": {
186 "type": "boolean",
187 "default": true
188 },
189 "bgColor": {
190 "type": "string",
191 "default": ""
192 },
193 "paddingTop": {
194 "type": "number",
195 "default": 60
196 },
197 "paddingBottom": {
198 "type": "number",
199 "default": 60
200 },
201 "typoHeadline": {
202 "type": "object",
203 "default": {}
204 },
205 "typoBody": {
206 "type": "object",
207 "default": {}
208 }
209 },
210 "supports": {
211 "html": false,
212 "anchor": true,
213 "className": true,
214 "align": [
215 "wide",
216 "full"
217 ],
218 "spacing": {
219 "margin": true,
220 "padding": true
221 }
222 }
223 }
224