| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/pricing-section", |
| 5 |
"title": "Pricing Section", |
| 6 |
"category": "bkbg-marketing", |
| 7 |
"icon": "money-alt", |
| 8 |
"description": "All-in-one multi-tier pricing section with monthly/yearly toggle, feature rows, popular badge, and per-plan CTAs.", |
| 9 |
"keywords": [ |
| 10 |
"pricing", |
| 11 |
"plans", |
| 12 |
"subscription", |
| 13 |
"table", |
| 14 |
"tiers" |
| 15 |
], |
| 16 |
"textdomain": "blockenberg", |
| 17 |
"editorScript": "bkbg-pricing-section-editor", |
| 18 |
"style": "bkbg-pricing-section-style", |
| 19 |
"viewScript": "bkbg-pricing-section-frontend", |
| 20 |
"supports": { |
| 21 |
"html": false, |
| 22 |
"align": [ |
| 23 |
"wide", |
| 24 |
"full" |
| 25 |
] |
| 26 |
}, |
| 27 |
"attributes": { |
| 28 |
"plans": { |
| 29 |
"type": "array", |
| 30 |
"default": [ |
| 31 |
{ |
| 32 |
"name": "Starter", |
| 33 |
"eyebrow": "For individuals", |
| 34 |
"price": "9", |
| 35 |
"priceYearly": "7", |
| 36 |
"period": "/month", |
| 37 |
"yearlyPeriod": "/month, billed yearly", |
| 38 |
"description": "Everything you need to get started.", |
| 39 |
"isPopular": false, |
| 40 |
"popularLabel": "Most Popular", |
| 41 |
"ctaLabel": "Get started", |
| 42 |
"ctaUrl": "#", |
| 43 |
"ctaStyle": "outline", |
| 44 |
"accentColor": "#6366f1", |
| 45 |
"features": [ |
| 46 |
{ |
| 47 |
"text": "5 projects", |
| 48 |
"included": true |
| 49 |
}, |
| 50 |
{ |
| 51 |
"text": "10 GB storage", |
| 52 |
"included": true |
| 53 |
}, |
| 54 |
{ |
| 55 |
"text": "Basic analytics", |
| 56 |
"included": true |
| 57 |
}, |
| 58 |
{ |
| 59 |
"text": "Email support", |
| 60 |
"included": true |
| 61 |
}, |
| 62 |
{ |
| 63 |
"text": "API access", |
| 64 |
"included": false |
| 65 |
}, |
| 66 |
{ |
| 67 |
"text": "Custom domain", |
| 68 |
"included": false |
| 69 |
} |
| 70 |
] |
| 71 |
}, |
| 72 |
{ |
| 73 |
"name": "Pro", |
| 74 |
"eyebrow": "For growing teams", |
| 75 |
"price": "29", |
| 76 |
"priceYearly": "22", |
| 77 |
"period": "/month", |
| 78 |
"yearlyPeriod": "/month, billed yearly", |
| 79 |
"description": "Advanced tools for professionals.", |
| 80 |
"isPopular": true, |
| 81 |
"popularLabel": "Most Popular", |
| 82 |
"ctaLabel": "Start free trial", |
| 83 |
"ctaUrl": "#", |
| 84 |
"ctaStyle": "filled", |
| 85 |
"accentColor": "#6366f1", |
| 86 |
"features": [ |
| 87 |
{ |
| 88 |
"text": "50 projects", |
| 89 |
"included": true |
| 90 |
}, |
| 91 |
{ |
| 92 |
"text": "100 GB storage", |
| 93 |
"included": true |
| 94 |
}, |
| 95 |
{ |
| 96 |
"text": "Advanced analytics", |
| 97 |
"included": true |
| 98 |
}, |
| 99 |
{ |
| 100 |
"text": "Priority support", |
| 101 |
"included": true |
| 102 |
}, |
| 103 |
{ |
| 104 |
"text": "API access", |
| 105 |
"included": true |
| 106 |
}, |
| 107 |
{ |
| 108 |
"text": "Custom domain", |
| 109 |
"included": false |
| 110 |
} |
| 111 |
] |
| 112 |
}, |
| 113 |
{ |
| 114 |
"name": "Business", |
| 115 |
"eyebrow": "For large organisations", |
| 116 |
"price": "79", |
| 117 |
"priceYearly": "59", |
| 118 |
"period": "/month", |
| 119 |
"yearlyPeriod": "/month, billed yearly", |
| 120 |
"description": "Enterprise-grade power at scale.", |
| 121 |
"isPopular": false, |
| 122 |
"popularLabel": "Most Popular", |
| 123 |
"ctaLabel": "Contact sales", |
| 124 |
"ctaUrl": "#", |
| 125 |
"ctaStyle": "outline", |
| 126 |
"accentColor": "#6366f1", |
| 127 |
"features": [ |
| 128 |
{ |
| 129 |
"text": "Unlimited projects", |
| 130 |
"included": true |
| 131 |
}, |
| 132 |
{ |
| 133 |
"text": "1 TB storage", |
| 134 |
"included": true |
| 135 |
}, |
| 136 |
{ |
| 137 |
"text": "Advanced analytics", |
| 138 |
"included": true |
| 139 |
}, |
| 140 |
{ |
| 141 |
"text": "24/7 dedicated support", |
| 142 |
"included": true |
| 143 |
}, |
| 144 |
{ |
| 145 |
"text": "API access", |
| 146 |
"included": true |
| 147 |
}, |
| 148 |
{ |
| 149 |
"text": "Custom domain", |
| 150 |
"included": true |
| 151 |
} |
| 152 |
] |
| 153 |
} |
| 154 |
] |
| 155 |
}, |
| 156 |
"showToggle": { |
| 157 |
"type": "boolean", |
| 158 |
"default": true |
| 159 |
}, |
| 160 |
"toggleLabelMonthly": { |
| 161 |
"type": "string", |
| 162 |
"default": "Monthly" |
| 163 |
}, |
| 164 |
"toggleLabelYearly": { |
| 165 |
"type": "string", |
| 166 |
"default": "Yearly" |
| 167 |
}, |
| 168 |
"savingsBadge": { |
| 169 |
"type": "string", |
| 170 |
"default": "Save 25%" |
| 171 |
}, |
| 172 |
"showSavingsBadge": { |
| 173 |
"type": "boolean", |
| 174 |
"default": true |
| 175 |
}, |
| 176 |
"defaultYearly": { |
| 177 |
"type": "boolean", |
| 178 |
"default": false |
| 179 |
}, |
| 180 |
"sectionHeading": { |
| 181 |
"type": "string", |
| 182 |
"default": "Simple, transparent pricing" |
| 183 |
}, |
| 184 |
"showSectionHeading": { |
| 185 |
"type": "boolean", |
| 186 |
"default": true |
| 187 |
}, |
| 188 |
"sectionSubtext": { |
| 189 |
"type": "string", |
| 190 |
"default": "No hidden fees. Cancel anytime." |
| 191 |
}, |
| 192 |
"showSectionSubtext": { |
| 193 |
"type": "boolean", |
| 194 |
"default": true |
| 195 |
}, |
| 196 |
"headingTag": { |
| 197 |
"type": "string", |
| 198 |
"default": "h2" |
| 199 |
}, |
| 200 |
"columns": { |
| 201 |
"type": "number", |
| 202 |
"default": 3 |
| 203 |
}, |
| 204 |
"gap": { |
| 205 |
"type": "number", |
| 206 |
"default": 24 |
| 207 |
}, |
| 208 |
"maxWidth": { |
| 209 |
"type": "number", |
| 210 |
"default": 1100 |
| 211 |
}, |
| 212 |
"containerPadding": { |
| 213 |
"type": "number", |
| 214 |
"default": 48 |
| 215 |
}, |
| 216 |
"cardRadius": { |
| 217 |
"type": "number", |
| 218 |
"default": 16 |
| 219 |
}, |
| 220 |
"cardPadding": { |
| 221 |
"type": "number", |
| 222 |
"default": 32 |
| 223 |
}, |
| 224 |
"cardStyle": { |
| 225 |
"type": "string", |
| 226 |
"default": "elevated" |
| 227 |
}, |
| 228 |
"showEyebrow": { |
| 229 |
"type": "boolean", |
| 230 |
"default": true |
| 231 |
}, |
| 232 |
"showDescription": { |
| 233 |
"type": "boolean", |
| 234 |
"default": true |
| 235 |
}, |
| 236 |
"showFeatures": { |
| 237 |
"type": "boolean", |
| 238 |
"default": true |
| 239 |
}, |
| 240 |
"includedIcon": { |
| 241 |
"type": "string", |
| 242 |
"default": "\u2713" |
| 243 |
}, |
| 244 |
"includedIconType": { |
| 245 |
"type": "string", |
| 246 |
"default": "custom-char" |
| 247 |
}, |
| 248 |
"includedIconDashicon": { |
| 249 |
"type": "string", |
| 250 |
"default": "" |
| 251 |
}, |
| 252 |
"includedIconImageUrl": { |
| 253 |
"type": "string", |
| 254 |
"default": "" |
| 255 |
}, |
| 256 |
"notIncludedIcon": { |
| 257 |
"type": "string", |
| 258 |
"default": "\u2717" |
| 259 |
}, |
| 260 |
"notIncludedIconType": { |
| 261 |
"type": "string", |
| 262 |
"default": "custom-char" |
| 263 |
}, |
| 264 |
"notIncludedIconDashicon": { |
| 265 |
"type": "string", |
| 266 |
"default": "" |
| 267 |
}, |
| 268 |
"notIncludedIconImageUrl": { |
| 269 |
"type": "string", |
| 270 |
"default": "" |
| 271 |
}, |
| 272 |
"currencySymbol": { |
| 273 |
"type": "string", |
| 274 |
"default": "$" |
| 275 |
}, |
| 276 |
"containerBg": { |
| 277 |
"type": "string", |
| 278 |
"default": "" |
| 279 |
}, |
| 280 |
"cardBg": { |
| 281 |
"type": "string", |
| 282 |
"default": "#ffffff" |
| 283 |
}, |
| 284 |
"popularBg": { |
| 285 |
"type": "string", |
| 286 |
"default": "#6366f1" |
| 287 |
}, |
| 288 |
"nameColor": { |
| 289 |
"type": "string", |
| 290 |
"default": "#111827" |
| 291 |
}, |
| 292 |
"priceColor": { |
| 293 |
"type": "string", |
| 294 |
"default": "#111827" |
| 295 |
}, |
| 296 |
"periodColor": { |
| 297 |
"type": "string", |
| 298 |
"default": "#6b7280" |
| 299 |
}, |
| 300 |
"descColor": { |
| 301 |
"type": "string", |
| 302 |
"default": "#6b7280" |
| 303 |
}, |
| 304 |
"featureColor": { |
| 305 |
"type": "string", |
| 306 |
"default": "#374151" |
| 307 |
}, |
| 308 |
"featureMissingColor": { |
| 309 |
"type": "string", |
| 310 |
"default": "#d1d5db" |
| 311 |
}, |
| 312 |
"includedIconColor": { |
| 313 |
"type": "string", |
| 314 |
"default": "#10b981" |
| 315 |
}, |
| 316 |
"popularNameColor": { |
| 317 |
"type": "string", |
| 318 |
"default": "#ffffff" |
| 319 |
}, |
| 320 |
"popularPriceColor": { |
| 321 |
"type": "string", |
| 322 |
"default": "#ffffff" |
| 323 |
}, |
| 324 |
"popularBadgeBg": { |
| 325 |
"type": "string", |
| 326 |
"default": "rgba(255,255,255,0.2)" |
| 327 |
}, |
| 328 |
"popularBadgeColor": { |
| 329 |
"type": "string", |
| 330 |
"default": "#ffffff" |
| 331 |
}, |
| 332 |
"toggleBg": { |
| 333 |
"type": "string", |
| 334 |
"default": "#f3f4f6" |
| 335 |
}, |
| 336 |
"toggleActiveBg": { |
| 337 |
"type": "string", |
| 338 |
"default": "#6366f1" |
| 339 |
}, |
| 340 |
"toggleActiveColor": { |
| 341 |
"type": "string", |
| 342 |
"default": "#ffffff" |
| 343 |
}, |
| 344 |
"toggleInactiveColor": { |
| 345 |
"type": "string", |
| 346 |
"default": "#6b7280" |
| 347 |
}, |
| 348 |
"headingColor": { |
| 349 |
"type": "string", |
| 350 |
"default": "#111827" |
| 351 |
}, |
| 352 |
"subtextColor": { |
| 353 |
"type": "string", |
| 354 |
"default": "#6b7280" |
| 355 |
}, |
| 356 |
"savingsBadgeBg": { |
| 357 |
"type": "string", |
| 358 |
"default": "#dcfce7" |
| 359 |
}, |
| 360 |
"savingsBadgeColor": { |
| 361 |
"type": "string", |
| 362 |
"default": "#166534" |
| 363 |
}, |
| 364 |
"headingTypo": { |
| 365 |
"type": "object", |
| 366 |
"default": {} |
| 367 |
}, |
| 368 |
"subtextTypo": { |
| 369 |
"type": "object", |
| 370 |
"default": {} |
| 371 |
}, |
| 372 |
"nameTypo": { |
| 373 |
"type": "object", |
| 374 |
"default": {} |
| 375 |
}, |
| 376 |
"priceTypo": { |
| 377 |
"type": "object", |
| 378 |
"default": {} |
| 379 |
}, |
| 380 |
"descTypo": { |
| 381 |
"type": "object", |
| 382 |
"default": {} |
| 383 |
}, |
| 384 |
"featureTypo": { |
| 385 |
"type": "object", |
| 386 |
"default": {} |
| 387 |
} |
| 388 |
} |
| 389 |
} |