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 / pricing-switcher / block.json

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

83 lines 2.0 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/pricing-switcher",
5 "title": "Pricing Switcher",
6 "category": "bkbg-marketing",
7 "icon": "controls-repeat",
8 "description": "Monthly/Yearly toggle that shows or hides pricing columns on the page.",
9 "keywords": [
10 "pricing",
11 "toggle",
12 "switcher",
13 "billing"
14 ],
15 "textdomain": "blockenberg",
16 "editorScript": "bkbg-pricing-switcher-editor",
17 "editorStyle": "bkbg-pricing-switcher-style",
18 "style": "bkbg-pricing-switcher-style",
19 "viewScript": "bkbg-pricing-switcher-frontend",
20 "supports": {
21 "html": false,
22 "anchor": true,
23 "className": true,
24 "align": [
25 "wide",
26 "full"
27 ]
28 },
29 "attributes": {
30 "labelMonthly": {
31 "type": "string",
32 "default": "Monthly"
33 },
34 "labelYearly": {
35 "type": "string",
36 "default": "Yearly"
37 },
38 "defaultActive": {
39 "type": "string",
40 "default": "monthly"
41 },
42 "switchStyle": {
43 "type": "string",
44 "default": "pills"
45 },
46 "accentColor": {
47 "type": "string",
48 "default": "#6c3fb5"
49 },
50 "bgColor": {
51 "type": "string",
52 "default": "#f3f3f7"
53 },
54 "activeText": {
55 "type": "string",
56 "default": "#ffffff"
57 },
58 "inactiveText": {
59 "type": "string",
60 "default": "#555555"
61 },
62 "borderRadius": {
63 "type": "number",
64 "default": 40
65 },
66 "savingBadge": {
67 "type": "string",
68 "default": "Save 20%"
69 },
70 "showBadge": {
71 "type": "boolean",
72 "default": true
73 },
74 "labelTypo": {
75 "type": "object",
76 "default": {}
77 },
78 "badgeTypo": {
79 "type": "object",
80 "default": {}
81 }
82 }
83 }