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 / image-slider / block.json

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

140 lines 3.5 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/image-slider",
5 "title": "Image Slider",
6 "category": "bkbg-media",
7 "icon": "images-alt2",
8 "description": "A responsive image carousel with captions, autoplay, arrows, dots and touch support.",
9 "keywords": [
10 "slider",
11 "carousel",
12 "gallery",
13 "images"
14 ],
15 "textdomain": "blockenberg",
16 "editorScript": "bkbg-image-slider-editor",
17 "style": "bkbg-image-slider-style",
18 "viewScript": "bkbg-image-slider-frontend",
19 "supports": {
20 "html": false,
21 "align": [
22 "wide",
23 "full"
24 ]
25 },
26 "attributes": {
27 "slides": {
28 "type": "array",
29 "default": [
30 {
31 "imageUrl": "",
32 "imageId": 0,
33 "alt": "",
34 "title": "Slide Title",
35 "subtitle": "Slide subtitle text",
36 "buttonText": "",
37 "buttonUrl": "",
38 "buttonTarget": false,
39 "overlayColor": ""
40 },
41 {
42 "imageUrl": "",
43 "imageId": 0,
44 "alt": "",
45 "title": "Another Slide",
46 "subtitle": "Compelling subtitle here",
47 "buttonText": "Learn more",
48 "buttonUrl": "#",
49 "buttonTarget": false,
50 "overlayColor": ""
51 }
52 ]
53 },
54 "autoplay": {
55 "type": "boolean",
56 "default": true
57 },
58 "autoplaySpeed": {
59 "type": "number",
60 "default": 4000
61 },
62 "pauseOnHover": {
63 "type": "boolean",
64 "default": true
65 },
66 "loop": {
67 "type": "boolean",
68 "default": true
69 },
70 "transition": {
71 "type": "string",
72 "default": "slide"
73 },
74 "showArrows": {
75 "type": "boolean",
76 "default": true
77 },
78 "showDots": {
79 "type": "boolean",
80 "default": true
81 },
82 "arrowStyle": {
83 "type": "string",
84 "default": "rounded"
85 },
86 "height": {
87 "type": "number",
88 "default": 480
89 },
90 "mobileHeight": {
91 "type": "number",
92 "default": 280
93 },
94 "objectFit": {
95 "type": "string",
96 "default": "cover"
97 },
98 "captionPosition": {
99 "type": "string",
100 "default": "bottom-left"
101 },
102 "captionBg": {
103 "type": "string",
104 "default": "rgba(0,0,0,0.45)"
105 },
106 "captionColor": {
107 "type": "string",
108 "default": "#ffffff"
109 },
110 "titleSize": {
111 "type": "number",
112 "default": 32
113 },
114 "subtitleSize": {
115 "type": "number",
116 "default": 16
117 },
118 "titleTypo": {
119 "type": "object",
120 "default": {}
121 },
122 "subtitleTypo": {
123 "type": "object",
124 "default": {}
125 },
126 "btnStyle": {
127 "type": "string",
128 "default": "primary"
129 },
130 "accentColor": {
131 "type": "string",
132 "default": "#2563eb"
133 },
134 "borderRadius": {
135 "type": "number",
136 "default": 10
137 }
138 }
139 }
140