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 / filterable-cards / block.json

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

193 lines 5.4 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/filterable-cards",
5 "title": "Filterable Cards",
6 "description": "A grid of content cards filterable by category, with optional images, labels, descriptions and links.",
7 "category": "bkbg-content",
8 "icon": "grid-view",
9 "keywords": [
10 "filter",
11 "cards",
12 "grid",
13 "category",
14 "portfolio",
15 "team",
16 "faq"
17 ],
18 "textdomain": "blockenberg",
19 "editorScript": "bkbg-filterable-cards-editor",
20 "style": "bkbg-filterable-cards-style",
21 "viewScript": "bkbg-filterable-cards-frontend",
22 "supports": {
23 "html": false,
24 "align": [
25 "wide",
26 "full"
27 ]
28 },
29 "attributes": {
30 "cards": {
31 "type": "array",
32 "default": [
33 {
34 "title": "Card One",
35 "description": "A short description for this card.",
36 "category": "Design",
37 "imageUrl": "",
38 "imageId": 0,
39 "imageAlt": "",
40 "link": "",
41 "linkLabel": "Learn More",
42 "label": "New",
43 "icon": "",
44 "featured": false
45 },
46 {
47 "title": "Card Two",
48 "description": "Another card in the Development category.",
49 "category": "Development",
50 "imageUrl": "",
51 "imageId": 0,
52 "imageAlt": "",
53 "link": "",
54 "linkLabel": "Learn More",
55 "label": "",
56 "icon": "",
57 "featured": false
58 },
59 {
60 "title": "Card Three",
61 "description": "A featured card in the Design category.",
62 "category": "Design",
63 "imageUrl": "",
64 "imageId": 0,
65 "imageAlt": "",
66 "link": "",
67 "linkLabel": "Learn More",
68 "label": "Featured",
69 "icon": "",
70 "featured": true
71 }
72 ]
73 },
74 "columns": {
75 "type": "number",
76 "default": 3
77 },
78 "layout": {
79 "type": "string",
80 "default": "grid"
81 },
82 "filterStyle": {
83 "type": "string",
84 "default": "buttons"
85 },
86 "allLabel": {
87 "type": "string",
88 "default": "All"
89 },
90 "showImages": {
91 "type": "boolean",
92 "default": true
93 },
94 "showDescriptions": {
95 "type": "boolean",
96 "default": true
97 },
98 "showLabels": {
99 "type": "boolean",
100 "default": true
101 },
102 "showLinks": {
103 "type": "boolean",
104 "default": true
105 },
106 "animateFilter": {
107 "type": "boolean",
108 "default": true
109 },
110 "imageRatio": {
111 "type": "string",
112 "default": "3:2"
113 },
114 "cardRadius": {
115 "type": "number",
116 "default": 10
117 },
118 "gap": {
119 "type": "number",
120 "default": 24
121 },
122 "paddingTop": {
123 "type": "number",
124 "default": 0
125 },
126 "paddingBottom": {
127 "type": "number",
128 "default": 0
129 },
130 "bgColor": {
131 "type": "string",
132 "default": ""
133 },
134 "cardBg": {
135 "type": "string",
136 "default": "#ffffff"
137 },
138 "cardBorder": {
139 "type": "string",
140 "default": "#e5e7eb"
141 },
142 "titleColor": {
143 "type": "string",
144 "default": "#111827"
145 },
146 "descColor": {
147 "type": "string",
148 "default": "#6b7280"
149 },
150 "labelBg": {
151 "type": "string",
152 "default": "#ede9fe"
153 },
154 "labelColor": {
155 "type": "string",
156 "default": "#6366f1"
157 },
158 "linkColor": {
159 "type": "string",
160 "default": "#6366f1"
161 },
162 "filterBtnBg": {
163 "type": "string",
164 "default": "#f3f4f6"
165 },
166 "filterBtnColor": {
167 "type": "string",
168 "default": "#374151"
169 },
170 "filterBtnActiveBg": {
171 "type": "string",
172 "default": "#6366f1"
173 },
174 "filterBtnActiveColor": {
175 "type": "string",
176 "default": "#ffffff"
177 },
178 "accentColor": {
179 "type": "string",
180 "default": "#6366f1"
181 },
182 "titleFontSize": { "type": "number", "default": 16 },
183 "titleFontWeight": { "type": "string", "default": "700" },
184 "titleLineHeight": { "type": "number", "default": 1.3 },
185 "descFontSize": { "type": "number", "default": 14 },
186 "descFontWeight": { "type": "string", "default": "400" },
187 "descLineHeight": { "type": "number", "default": 1.5 },
188 "typoTitle": { "type": "object", "default": {} },
189 "typoDesc": { "type": "object", "default": {} },
190 "typoFilter": { "type": "object", "default": {} }
191 }
192 }
193