@lowdefy/docs-content 0.0.0-experimental-20260710073520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +20 -0
  3. package/content/actions/callapi.md +66 -0
  4. package/content/actions/callmethod.md +41 -0
  5. package/content/actions/copytoclipboard.md +32 -0
  6. package/content/actions/displaymessage.md +53 -0
  7. package/content/actions/downloadcsv.md +89 -0
  8. package/content/actions/fetch.md +50 -0
  9. package/content/actions/geolocationcurrentposition.md +56 -0
  10. package/content/actions/link.md +104 -0
  11. package/content/actions/login.md +85 -0
  12. package/content/actions/logout.md +56 -0
  13. package/content/actions/pdfmake.md +304 -0
  14. package/content/actions/request.md +67 -0
  15. package/content/actions/reset.md +27 -0
  16. package/content/actions/resetvalidation.md +85 -0
  17. package/content/actions/scrollto.md +85 -0
  18. package/content/actions/setdarkmode.md +62 -0
  19. package/content/actions/setfocus.md +33 -0
  20. package/content/actions/setglobal.md +63 -0
  21. package/content/actions/setlocale.md +69 -0
  22. package/content/actions/setstate.md +70 -0
  23. package/content/actions/throw.md +72 -0
  24. package/content/actions/validate.md +87 -0
  25. package/content/actions/wait.md +24 -0
  26. package/content/agents/agent-endpoint-tools.md +190 -0
  27. package/content/agents/agent-mcp-tools.md +124 -0
  28. package/content/agents/agent-multi-agent.md +136 -0
  29. package/content/agents/agent-properties.md +174 -0
  30. package/content/agents/agent-server-hooks.md +336 -0
  31. package/content/agents/agentchat.md +515 -0
  32. package/content/agents/agentconversations.md +148 -0
  33. package/content/concepts/ai-agent-docs.md +190 -0
  34. package/content/concepts/cli.md +213 -0
  35. package/content/concepts/connections-and-requests.md +7 -0
  36. package/content/concepts/custom-html.md +3 -0
  37. package/content/concepts/custom-styling.md +161 -0
  38. package/content/concepts/events-and-actions.md +271 -0
  39. package/content/concepts/hosting-files.md +18 -0
  40. package/content/concepts/i18n.md +320 -0
  41. package/content/concepts/keyboard-shortcuts.md +218 -0
  42. package/content/concepts/layout-overview.md +478 -0
  43. package/content/concepts/lists.md +144 -0
  44. package/content/concepts/logger.md +43 -0
  45. package/content/concepts/lowdefy-schema.md +365 -0
  46. package/content/concepts/menus.md +144 -0
  47. package/content/concepts/module-authoring.md +564 -0
  48. package/content/concepts/modules.md +338 -0
  49. package/content/concepts/operators.md +45 -0
  50. package/content/concepts/overview.md +19 -0
  51. package/content/concepts/references-and-templates.md +207 -0
  52. package/content/concepts/secrets.md +24 -0
  53. package/content/concepts/selectors.md +143 -0
  54. package/content/connections/amazonredshift.md +176 -0
  55. package/content/connections/anthropic.md +232 -0
  56. package/content/connections/awss3.md +313 -0
  57. package/content/connections/azureblobstorage.md +133 -0
  58. package/content/connections/elasticsearch.md +371 -0
  59. package/content/connections/google.md +228 -0
  60. package/content/connections/googlecloudstorage.md +139 -0
  61. package/content/connections/googlesheet.md +313 -0
  62. package/content/connections/knex.md +206 -0
  63. package/content/connections/mariadb.md +177 -0
  64. package/content/connections/mcp.md +134 -0
  65. package/content/connections/mongodb.md +739 -0
  66. package/content/connections/mssql.md +191 -0
  67. package/content/connections/mysql.md +192 -0
  68. package/content/connections/openai-connection.md +228 -0
  69. package/content/connections/postgresql.md +200 -0
  70. package/content/connections/redis.md +116 -0
  71. package/content/connections/sendgridmail.md +94 -0
  72. package/content/connections/smtp.md +149 -0
  73. package/content/connections/sqlite.md +187 -0
  74. package/content/connections/stripe.md +115 -0
  75. package/content/container-blocks/affix.md +413 -0
  76. package/content/container-blocks/alert.md +937 -0
  77. package/content/container-blocks/badge.md +1222 -0
  78. package/content/container-blocks/box.md +1453 -0
  79. package/content/container-blocks/card.md +1200 -0
  80. package/content/container-blocks/carousel.md +2247 -0
  81. package/content/container-blocks/collapse.md +1335 -0
  82. package/content/container-blocks/configprovider.md +1070 -0
  83. package/content/container-blocks/confirmmodal.md +1159 -0
  84. package/content/container-blocks/content.md +597 -0
  85. package/content/container-blocks/descriptions.md +870 -0
  86. package/content/container-blocks/drawer.md +1379 -0
  87. package/content/container-blocks/dropdownmenu.md +643 -0
  88. package/content/container-blocks/flex.md +1510 -0
  89. package/content/container-blocks/footer.md +380 -0
  90. package/content/container-blocks/googlemaps.md +546 -0
  91. package/content/container-blocks/googlemapsheatmap.md +607 -0
  92. package/content/container-blocks/googlemapsscript.md +61 -0
  93. package/content/container-blocks/header.md +302 -0
  94. package/content/container-blocks/label.md +739 -0
  95. package/content/container-blocks/layout.md +604 -0
  96. package/content/container-blocks/masonry.md +1090 -0
  97. package/content/container-blocks/mobilemenu.md +1244 -0
  98. package/content/container-blocks/modal.md +1180 -0
  99. package/content/container-blocks/pageheadermenu.md +614 -0
  100. package/content/container-blocks/pagesidebarlayout.md +438 -0
  101. package/content/container-blocks/pagesidermenu.md +651 -0
  102. package/content/container-blocks/popover.md +1421 -0
  103. package/content/container-blocks/result.md +972 -0
  104. package/content/container-blocks/sider.md +1064 -0
  105. package/content/container-blocks/span.md +747 -0
  106. package/content/container-blocks/spinner.md +267 -0
  107. package/content/container-blocks/splitter.md +1735 -0
  108. package/content/container-blocks/tabs.md +1718 -0
  109. package/content/container-blocks/tooltip.md +1274 -0
  110. package/content/container-blocks/watermark.md +515 -0
  111. package/content/controls/for.md +103 -0
  112. package/content/controls/if.md +107 -0
  113. package/content/controls/log.md +50 -0
  114. package/content/controls/parallel.md +71 -0
  115. package/content/controls/parallel_for.md +36 -0
  116. package/content/controls/reject.md +56 -0
  117. package/content/controls/return.md +66 -0
  118. package/content/controls/set_state.md +98 -0
  119. package/content/controls/switch.md +90 -0
  120. package/content/controls/throw.md +79 -0
  121. package/content/controls/try.md +88 -0
  122. package/content/deployment/docker.md +149 -0
  123. package/content/deployment/node-server.md +27 -0
  124. package/content/deployment/vercel.md +101 -0
  125. package/content/display-blocks/aggrid.md +1459 -0
  126. package/content/display-blocks/anchor.md +336 -0
  127. package/content/display-blocks/avatar.md +1154 -0
  128. package/content/display-blocks/breadcrumb.md +517 -0
  129. package/content/display-blocks/button.md +758 -0
  130. package/content/display-blocks/calendar.md +156 -0
  131. package/content/display-blocks/dangeroushtml.md +314 -0
  132. package/content/display-blocks/dangerousmarkdown.md +423 -0
  133. package/content/display-blocks/diffgit.md +44 -0
  134. package/content/display-blocks/difflist.md +225 -0
  135. package/content/display-blocks/diffsidebyside.md +56 -0
  136. package/content/display-blocks/difftimeline.md +94 -0
  137. package/content/display-blocks/divider.md +406 -0
  138. package/content/display-blocks/download.md +60 -0
  139. package/content/display-blocks/dropdownbutton.md +661 -0
  140. package/content/display-blocks/echart.md +418 -0
  141. package/content/display-blocks/floatbutton.md +545 -0
  142. package/content/display-blocks/html.md +311 -0
  143. package/content/display-blocks/icon.md +717 -0
  144. package/content/display-blocks/img.md +479 -0
  145. package/content/display-blocks/markdown.md +520 -0
  146. package/content/display-blocks/markdownwithcode.md +730 -0
  147. package/content/display-blocks/menu.md +1123 -0
  148. package/content/display-blocks/message.md +941 -0
  149. package/content/display-blocks/notification.md +1410 -0
  150. package/content/display-blocks/paragraph.md +643 -0
  151. package/content/display-blocks/progress.md +818 -0
  152. package/content/display-blocks/qrcode.md +519 -0
  153. package/content/display-blocks/s3download.md +240 -0
  154. package/content/display-blocks/search.md +360 -0
  155. package/content/display-blocks/skeleton.md +272 -0
  156. package/content/display-blocks/skeletonavatar.md +222 -0
  157. package/content/display-blocks/skeletonbutton.md +245 -0
  158. package/content/display-blocks/skeletoninput.md +223 -0
  159. package/content/display-blocks/skeletonparagraph.md +201 -0
  160. package/content/display-blocks/statistic.md +485 -0
  161. package/content/display-blocks/steps.md +585 -0
  162. package/content/display-blocks/tag.md +620 -0
  163. package/content/display-blocks/title.md +654 -0
  164. package/content/display-blocks/tour.md +2359 -0
  165. package/content/input-blocks/autocomplete.md +786 -0
  166. package/content/input-blocks/buttonselector.md +964 -0
  167. package/content/input-blocks/checkboxselector.md +765 -0
  168. package/content/input-blocks/checkboxswitch.md +497 -0
  169. package/content/input-blocks/colorselector.md +884 -0
  170. package/content/input-blocks/daterangeselector.md +777 -0
  171. package/content/input-blocks/dateselector.md +693 -0
  172. package/content/input-blocks/datetimeselector.md +791 -0
  173. package/content/input-blocks/inputgallery.md +528 -0
  174. package/content/input-blocks/monthselector.md +717 -0
  175. package/content/input-blocks/multipleselector.md +1337 -0
  176. package/content/input-blocks/numberinput.md +855 -0
  177. package/content/input-blocks/pagination.md +679 -0
  178. package/content/input-blocks/paragraphinput.md +1664 -0
  179. package/content/input-blocks/passwordinput.md +480 -0
  180. package/content/input-blocks/phonenumberinput.md +688 -0
  181. package/content/input-blocks/radioselector.md +820 -0
  182. package/content/input-blocks/ratingslider.md +684 -0
  183. package/content/input-blocks/s3uploadbutton.md +384 -0
  184. package/content/input-blocks/s3uploaddragger.md +305 -0
  185. package/content/input-blocks/s3uploadphoto.md +288 -0
  186. package/content/input-blocks/segmentedselector.md +782 -0
  187. package/content/input-blocks/selector.md +1162 -0
  188. package/content/input-blocks/switch.md +552 -0
  189. package/content/input-blocks/textarea.md +714 -0
  190. package/content/input-blocks/textinput.md +639 -0
  191. package/content/input-blocks/tiptapinput.md +226 -0
  192. package/content/input-blocks/tiptapmentioninput.md +471 -0
  193. package/content/input-blocks/titleinput.md +1094 -0
  194. package/content/input-blocks/treeinput.md +144 -0
  195. package/content/input-blocks/treemultipleselector.md +162 -0
  196. package/content/input-blocks/treeselector.md +185 -0
  197. package/content/input-blocks/upload.md +149 -0
  198. package/content/input-blocks/uploaddragger.md +85 -0
  199. package/content/input-blocks/uploadphoto.md +84 -0
  200. package/content/input-blocks/weekselector.md +630 -0
  201. package/content/list-blocks/controlledlist.md +498 -0
  202. package/content/list-blocks/list.md +529 -0
  203. package/content/list-blocks/listselector.md +301 -0
  204. package/content/list-blocks/masonrylist.md +230 -0
  205. package/content/migration/upgrade-guide.md +106 -0
  206. package/content/migration/v4-to-v5.md +589 -0
  207. package/content/migration/v5-to-v6.md +36 -0
  208. package/content/operators/_actions.md +58 -0
  209. package/content/operators/_and.md +76 -0
  210. package/content/operators/_api.md +254 -0
  211. package/content/operators/_app.md +114 -0
  212. package/content/operators/_args.md +65 -0
  213. package/content/operators/_array.md +331 -0
  214. package/content/operators/_base64.md +49 -0
  215. package/content/operators/_boolean.md +33 -0
  216. package/content/operators/_build.md +166 -0
  217. package/content/operators/_change_case.md +357 -0
  218. package/content/operators/_date.md +415 -0
  219. package/content/operators/_dayjs.md +128 -0
  220. package/content/operators/_diff.md +61 -0
  221. package/content/operators/_divide.md +32 -0
  222. package/content/operators/_eq.md +52 -0
  223. package/content/operators/_event.md +86 -0
  224. package/content/operators/_function.md +52 -0
  225. package/content/operators/_get.md +92 -0
  226. package/content/operators/_global.md +86 -0
  227. package/content/operators/_gt.md +50 -0
  228. package/content/operators/_gte.md +50 -0
  229. package/content/operators/_hash.md +112 -0
  230. package/content/operators/_if.md +30 -0
  231. package/content/operators/_if_none.md +47 -0
  232. package/content/operators/_index.md +48 -0
  233. package/content/operators/_input.md +86 -0
  234. package/content/operators/_intl.md +135 -0
  235. package/content/operators/_item.md +166 -0
  236. package/content/operators/_js.md +113 -0
  237. package/content/operators/_json.md +120 -0
  238. package/content/operators/_jsonata.md +152 -0
  239. package/content/operators/_locale.md +65 -0
  240. package/content/operators/_location.md +40 -0
  241. package/content/operators/_log.md +22 -0
  242. package/content/operators/_lt.md +50 -0
  243. package/content/operators/_lte.md +50 -0
  244. package/content/operators/_math.md +407 -0
  245. package/content/operators/_media.md +83 -0
  246. package/content/operators/_menu.md +62 -0
  247. package/content/operators/_module.md +340 -0
  248. package/content/operators/_mql.md +95 -0
  249. package/content/operators/_ne.md +62 -0
  250. package/content/operators/_not.md +33 -0
  251. package/content/operators/_number.md +159 -0
  252. package/content/operators/_nunjucks.md +117 -0
  253. package/content/operators/_object.md +253 -0
  254. package/content/operators/_operator.md +33 -0
  255. package/content/operators/_or.md +67 -0
  256. package/content/operators/_product.md +45 -0
  257. package/content/operators/_random.md +90 -0
  258. package/content/operators/_ref.md +80 -0
  259. package/content/operators/_regex.md +69 -0
  260. package/content/operators/_request.md +35 -0
  261. package/content/operators/_request_details.md +29 -0
  262. package/content/operators/_secret.md +56 -0
  263. package/content/operators/_state.md +134 -0
  264. package/content/operators/_step.md +98 -0
  265. package/content/operators/_string.md +327 -0
  266. package/content/operators/_subtract.md +24 -0
  267. package/content/operators/_sum.md +45 -0
  268. package/content/operators/_switch.md +37 -0
  269. package/content/operators/_t.md +96 -0
  270. package/content/operators/_theme.md +65 -0
  271. package/content/operators/_type.md +78 -0
  272. package/content/operators/_uri.md +49 -0
  273. package/content/operators/_url_query.md +92 -0
  274. package/content/operators/_user.md +154 -0
  275. package/content/operators/_uuid.md +118 -0
  276. package/content/operators/_var.md +88 -0
  277. package/content/operators/_yaml.md +96 -0
  278. package/content/other/introduction.md +39 -0
  279. package/content/other/next-auth-providers.md +3 -0
  280. package/content/other/updatesession.md +26 -0
  281. package/content/plugins/plugins-actions.md +80 -0
  282. package/content/plugins/plugins-connections.md +98 -0
  283. package/content/plugins/plugins-dev.md +138 -0
  284. package/content/plugins/plugins-introduction.md +29 -0
  285. package/content/plugins/plugins-operators.md +71 -0
  286. package/content/testing/e2e-auth.md +108 -0
  287. package/content/testing/e2e-configuration.md +107 -0
  288. package/content/testing/e2e-getting-started.md +96 -0
  289. package/content/testing/e2e-introduction.md +53 -0
  290. package/content/testing/e2e-mocking.md +155 -0
  291. package/content/testing/e2e-writing-tests.md +214 -0
  292. package/content/tutorial/tutorial-actions-operators.md +222 -0
  293. package/content/tutorial/tutorial-add-blocks.md +86 -0
  294. package/content/tutorial/tutorial-create-page.md +57 -0
  295. package/content/tutorial/tutorial-display-data-page.md +181 -0
  296. package/content/tutorial/tutorial-next-steps.md +53 -0
  297. package/content/tutorial/tutorial-requests-sql.md +22 -0
  298. package/content/tutorial/tutorial-start.md +71 -0
  299. package/content/user-authentication/auth-providers.md +15 -0
  300. package/content/user-authentication/login-and-logout.md +122 -0
  301. package/content/user-authentication/users-introduction.md +31 -0
  302. package/index.json +2281 -0
  303. package/package.json +34 -0
  304. package/scripts/extractAgentDocs.js +130 -0
@@ -0,0 +1,1090 @@
1
+ # Masonry
2
+
3
+ Masonry-style grid layout container.
4
+
5
+ <span style="color:#52c41a">+12.5%</span> vs last month
6
+
7
+ Target is 5%. Campaigns are underperforming in APAC.
8
+
9
+ ```yaml
10
+ - id: mas_3col
11
+ type: Masonry
12
+ properties:
13
+ columns: 3
14
+ gutter: 12
15
+ blocks:
16
+ - id: mas_3col_c1
17
+ type: Card
18
+ properties:
19
+ size: small
20
+ title: Revenue
21
+ blocks:
22
+ - id: mas_3col_c1_stat
23
+ type: Statistic
24
+ properties:
25
+ value: 128450
26
+ prefix: $
27
+ - id: mas_3col_c2
28
+ type: Card
29
+ properties:
30
+ size: small
31
+ title: Active Users
32
+ blocks:
33
+ - id: mas_3col_c2_stat
34
+ type: Statistic
35
+ properties:
36
+ value: 3842
37
+ - id: mas_3col_c2_p
38
+ type: Paragraph
39
+ properties:
40
+ content: <span style="color:#52c41a">+12.5%</span> vs last month
41
+ - id: mas_3col_c3
42
+ type: Card
43
+ properties:
44
+ size: small
45
+ title: Uptime
46
+ blocks:
47
+ - id: mas_3col_c3_stat
48
+ type: Statistic
49
+ properties:
50
+ value: 99.97
51
+ suffix: "%"
52
+ - id: mas_3col_c4
53
+ type: Card
54
+ properties:
55
+ size: small
56
+ title: Top Region
57
+ blocks:
58
+ - id: mas_3col_c4_tags
59
+ type: Box
60
+ layout:
61
+ gap: 8
62
+ wrap: wrap
63
+ blocks:
64
+ - id: mas_3col_c4_t1
65
+ type: Tag
66
+ properties:
67
+ title: North America
68
+ color: blue
69
+ - id: mas_3col_c4_t2
70
+ type: Tag
71
+ properties:
72
+ title: Europe
73
+ color: green
74
+ - id: mas_3col_c4_t3
75
+ type: Tag
76
+ properties:
77
+ title: Asia Pacific
78
+ color: orange
79
+ - id: mas_3col_c5
80
+ type: Card
81
+ properties:
82
+ size: small
83
+ title: Conversion Rate
84
+ blocks:
85
+ - id: mas_3col_c5_stat
86
+ type: Statistic
87
+ properties:
88
+ value: 4.2
89
+ suffix: "%"
90
+ - id: mas_3col_c5_p1
91
+ type: Paragraph
92
+ properties:
93
+ content: Target is 5%. Campaigns are underperforming in APAC.
94
+ - id: mas_3col_c5_p2
95
+ type: Progress
96
+ properties:
97
+ percent: 84
98
+ ```
99
+
100
+ > Deployment completed
101
+
102
+ > Disk usage at 85%
103
+
104
+ ```yaml
105
+ - id: mas_2col
106
+ type: Masonry
107
+ properties:
108
+ columns: 2
109
+ gutter: 12
110
+ blocks:
111
+ - id: mas_2col_c1
112
+ type: Card
113
+ properties:
114
+ size: small
115
+ title: Notifications
116
+ blocks:
117
+ - id: mas_2col_c1_alert
118
+ type: Alert
119
+ properties:
120
+ type: success
121
+ showIcon: true
122
+ message: Deployment completed
123
+ - id: mas_2col_c1_alert2
124
+ type: Alert
125
+ properties:
126
+ type: warning
127
+ showIcon: true
128
+ message: Disk usage at 85%
129
+ - id: mas_2col_c2
130
+ type: Card
131
+ properties:
132
+ size: small
133
+ title: Quick Stats
134
+ blocks:
135
+ - id: mas_2col_c2_stat
136
+ type: Statistic
137
+ properties:
138
+ value: 1024
139
+ suffix: requests/s
140
+ ```
141
+
142
+ Resize browser to see columns change at each breakpoint.
143
+
144
+ Stacks to a single column on small screens.
145
+
146
+ ```yaml
147
+ - id: mas_resp
148
+ type: Masonry
149
+ properties:
150
+ columns:
151
+ xs: 1
152
+ sm: 2
153
+ md: 3
154
+ gutter: 12
155
+ blocks:
156
+ - id: mas_resp_c1
157
+ type: Card
158
+ properties:
159
+ size: small
160
+ title: xs:1 sm:2 md:3
161
+ blocks:
162
+ - id: mas_resp_c1_p
163
+ type: Paragraph
164
+ properties:
165
+ content: Resize browser to see columns change at each breakpoint.
166
+ - id: mas_resp_c2
167
+ type: Card
168
+ properties:
169
+ size: small
170
+ title: Responsive
171
+ blocks:
172
+ - id: mas_resp_c2_stat
173
+ type: Statistic
174
+ properties:
175
+ value: 3
176
+ suffix: breakpoints
177
+ - id: mas_resp_c3
178
+ type: Card
179
+ properties:
180
+ size: small
181
+ title: Mobile
182
+ blocks:
183
+ - id: mas_resp_c3_p
184
+ type: Paragraph
185
+ properties:
186
+ content: Stacks to a single column on small screens.
187
+ ```
188
+
189
+ 32px gap between items in both directions.
190
+
191
+ ```yaml
192
+ - id: mas_gutter
193
+ type: Masonry
194
+ properties:
195
+ columns: 2
196
+ gutter: 32
197
+ blocks:
198
+ - id: mas_gutter_c1
199
+ type: Card
200
+ properties:
201
+ size: small
202
+ title: Spacious
203
+ blocks:
204
+ - id: mas_gutter_c1_p
205
+ type: Paragraph
206
+ properties:
207
+ content: 32px gap between items in both directions.
208
+ - id: mas_gutter_c2
209
+ type: Card
210
+ properties:
211
+ size: small
212
+ title: Airy Layout
213
+ blocks:
214
+ - id: mas_gutter_c2_stat
215
+ type: Statistic
216
+ properties:
217
+ value: 32
218
+ suffix: px
219
+ ```
220
+
221
+ 32px horizontal, 8px vertical. Compact rows, wide columns.
222
+
223
+ Notice the asymmetric spacing.
224
+
225
+ ```yaml
226
+ - id: mas_hv
227
+ type: Masonry
228
+ properties:
229
+ columns: 2
230
+ gutter:
231
+ - 32
232
+ - 8
233
+ blocks:
234
+ - id: mas_hv_c1
235
+ type: Card
236
+ properties:
237
+ size: small
238
+ title: Wide Horizontal
239
+ blocks:
240
+ - id: mas_hv_c1_p
241
+ type: Paragraph
242
+ properties:
243
+ content: 32px horizontal, 8px vertical. Compact rows, wide columns.
244
+ - id: mas_hv_c2
245
+ type: Card
246
+ properties:
247
+ size: small
248
+ title: Tight Vertical
249
+ blocks:
250
+ - id: mas_hv_c2_stat
251
+ type: Statistic
252
+ properties:
253
+ value: 8
254
+ suffix: px vertical
255
+ - id: mas_hv_c3
256
+ type: Card
257
+ properties:
258
+ size: small
259
+ title: Third
260
+ blocks:
261
+ - id: mas_hv_c3_p
262
+ type: Paragraph
263
+ properties:
264
+ content: Notice the asymmetric spacing.
265
+ ```
266
+
267
+ Items fill left-to-right in source order instead of shortest column.
268
+
269
+ Second item.
270
+
271
+ Third item.
272
+
273
+ Taller card — order still preserved.
274
+
275
+ ```yaml
276
+ - id: mas_seq
277
+ type: Masonry
278
+ properties:
279
+ columns: 3
280
+ gutter: 12
281
+ sequential: true
282
+ blocks:
283
+ - id: mas_seq_c1
284
+ type: Card
285
+ properties:
286
+ size: small
287
+ title: "1"
288
+ blocks:
289
+ - id: mas_seq_c1_p
290
+ type: Paragraph
291
+ properties:
292
+ content: Items fill left-to-right in source order instead of shortest column.
293
+ - id: mas_seq_c2
294
+ type: Card
295
+ properties:
296
+ size: small
297
+ title: "2"
298
+ blocks:
299
+ - id: mas_seq_c2_p
300
+ type: Paragraph
301
+ properties:
302
+ content: Second item.
303
+ - id: mas_seq_c3
304
+ type: Card
305
+ properties:
306
+ size: small
307
+ title: "3"
308
+ blocks:
309
+ - id: mas_seq_c3_p
310
+ type: Paragraph
311
+ properties:
312
+ content: Third item.
313
+ - id: mas_seq_c3_p2
314
+ type: Paragraph
315
+ properties:
316
+ content: Taller card — order still preserved.
317
+ ```
318
+
319
+ Theme tokens cascade to all child blocks within this Masonry.
320
+
321
+ ```yaml
322
+ - id: mas_blue
323
+ type: Masonry
324
+ properties:
325
+ columns: 2
326
+ gutter: 12
327
+ theme:
328
+ colorBorderSecondary: "#adc6ff"
329
+ borderRadiusLG: 16
330
+ blocks:
331
+ - id: mas_blue_c1
332
+ type: Card
333
+ properties:
334
+ size: small
335
+ title: Themed Card
336
+ blocks:
337
+ - id: mas_blue_c1_p
338
+ type: Paragraph
339
+ properties:
340
+ content: Theme tokens cascade to all child blocks within this Masonry.
341
+ - id: mas_blue_c2
342
+ type: Card
343
+ properties:
344
+ size: small
345
+ title: Rounded Corners
346
+ blocks:
347
+ - id: mas_blue_c2_stat
348
+ type: Statistic
349
+ properties:
350
+ value: 16
351
+ suffix: px radius
352
+ ```
353
+
354
+ Warm-toned cards using gold design tokens.
355
+
356
+ Text, borders, and backgrounds all harmonized.
357
+
358
+ ```yaml
359
+ - id: mas_warm
360
+ type: Masonry
361
+ properties:
362
+ columns: 2
363
+ gutter: 12
364
+ theme:
365
+ colorBorderSecondary: "#ffd591"
366
+ colorTextHeading: "#d46b08"
367
+ colorText: "#874d00"
368
+ blocks:
369
+ - id: mas_warm_c1
370
+ type: Card
371
+ properties:
372
+ size: small
373
+ title: Orange Palette
374
+ blocks:
375
+ - id: mas_warm_c1_p
376
+ type: Paragraph
377
+ properties:
378
+ content: Warm-toned cards using gold design tokens.
379
+ - id: mas_warm_c2
380
+ type: Card
381
+ properties:
382
+ size: small
383
+ title: Consistent
384
+ blocks:
385
+ - id: mas_warm_c2_p
386
+ type: Paragraph
387
+ properties:
388
+ content: Text, borders, and backgrounds all harmonized.
389
+ ```
390
+
391
+ Tailwind classes on the element CSS key style the Masonry wrapper.
392
+
393
+ White cards against gray create visual separation.
394
+
395
+ ```yaml
396
+ - id: mas_tw
397
+ type: Masonry
398
+ class:
399
+ element: bg-bg-layout p-6 rounded-xl
400
+ properties:
401
+ columns: 2
402
+ gutter: 12
403
+ blocks:
404
+ - id: mas_tw_c1
405
+ type: Card
406
+ properties:
407
+ size: small
408
+ title: Gray Background
409
+ blocks:
410
+ - id: mas_tw_c1_p
411
+ type: Paragraph
412
+ properties:
413
+ content: Tailwind classes on the element CSS key style the Masonry wrapper.
414
+ - id: mas_tw_c2
415
+ type: Card
416
+ properties:
417
+ size: small
418
+ title: Contrast
419
+ blocks:
420
+ - id: mas_tw_c2_p
421
+ type: Paragraph
422
+ properties:
423
+ content: White cards against gray create visual separation.
424
+ ```
425
+
426
+ Resize browser to see slow item repositioning.
427
+
428
+ ease-in-out instead of the default cubic-bezier.
429
+
430
+ ```yaml
431
+ - id: mas_motion
432
+ type: Masonry
433
+ properties:
434
+ columns: 2
435
+ gutter: 12
436
+ theme:
437
+ motionDurationSlow: 2s
438
+ motionDurationFast: 1s
439
+ motionEaseOut: ease-in-out
440
+ blocks:
441
+ - id: mas_motion_c1
442
+ type: Card
443
+ properties:
444
+ size: small
445
+ title: 2s Transitions
446
+ blocks:
447
+ - id: mas_motion_c1_p
448
+ type: Paragraph
449
+ properties:
450
+ content: Resize browser to see slow item repositioning.
451
+ - id: mas_motion_c2
452
+ type: Card
453
+ properties:
454
+ size: small
455
+ title: Custom Easing
456
+ blocks:
457
+ - id: mas_motion_c2_p
458
+ type: Paragraph
459
+ properties:
460
+ content: ease-in-out instead of the default cubic-bezier.
461
+ ```
462
+
463
+ Mountain Sunrise
464
+
465
+ A stunning view of the morning light breaking over the peaks.
466
+
467
+ City at Night
468
+
469
+ Urban skyline illuminated by thousands of city lights reflecting off the river below.
470
+
471
+ Autumn Forest
472
+
473
+ Ocean Waves
474
+
475
+ Crashing waves along the rocky coastline during golden hour.
476
+
477
+ Desert Dunes
478
+
479
+ Rolling sand dunes stretching to the horizon under a clear blue sky. The patterns in the sand are shaped by the wind.
480
+
481
+ ```yaml
482
+ - id: mas_gallery
483
+ type: Masonry
484
+ properties:
485
+ columns: 3
486
+ gutter: 12
487
+ blocks:
488
+ - id: mas_gallery_c1
489
+ type: Card
490
+ properties:
491
+ hoverable: true
492
+ size: small
493
+ slots:
494
+ cover:
495
+ blocks:
496
+ - id: mas_gallery_img1
497
+ type: Html
498
+ properties:
499
+ html: <img alt="landscape" src="https://picsum.photos/seed/gallery1/400/300"
500
+ style="width:100%; display:block;" />
501
+ blocks:
502
+ - id: mas_gallery_c1_title
503
+ type: Title
504
+ properties:
505
+ content: Mountain Sunrise
506
+ level: 5
507
+ - id: mas_gallery_c1_p
508
+ type: Paragraph
509
+ properties:
510
+ content: A stunning view of the morning light breaking over the peaks.
511
+ - id: mas_gallery_c1_tags
512
+ type: Box
513
+ layout:
514
+ gap: 8
515
+ blocks:
516
+ - id: mas_gallery_c1_t1
517
+ type: Tag
518
+ properties:
519
+ title: Nature
520
+ color: green
521
+ - id: mas_gallery_c1_t2
522
+ type: Tag
523
+ properties:
524
+ title: Featured
525
+ color: gold
526
+ - id: mas_gallery_c2
527
+ type: Card
528
+ properties:
529
+ hoverable: true
530
+ size: small
531
+ slots:
532
+ cover:
533
+ blocks:
534
+ - id: mas_gallery_img2
535
+ type: Html
536
+ properties:
537
+ html: <img alt="cityscape" src="https://picsum.photos/seed/gallery2/400/500"
538
+ style="width:100%; display:block;" />
539
+ blocks:
540
+ - id: mas_gallery_c2_title
541
+ type: Title
542
+ properties:
543
+ content: City at Night
544
+ level: 5
545
+ - id: mas_gallery_c2_p
546
+ type: Paragraph
547
+ properties:
548
+ content: Urban skyline illuminated by thousands of city lights reflecting off
549
+ the river below.
550
+ - id: mas_gallery_c3
551
+ type: Card
552
+ properties:
553
+ hoverable: true
554
+ size: small
555
+ slots:
556
+ cover:
557
+ blocks:
558
+ - id: mas_gallery_img3
559
+ type: Html
560
+ properties:
561
+ html: <img alt="forest" src="https://picsum.photos/seed/gallery3/400/250"
562
+ style="width:100%; display:block;" />
563
+ blocks:
564
+ - id: mas_gallery_c3_title
565
+ type: Title
566
+ properties:
567
+ content: Autumn Forest
568
+ level: 5
569
+ - id: mas_gallery_c4
570
+ type: Card
571
+ properties:
572
+ hoverable: true
573
+ size: small
574
+ slots:
575
+ cover:
576
+ blocks:
577
+ - id: mas_gallery_img4
578
+ type: Html
579
+ properties:
580
+ html: <img alt="ocean" src="https://picsum.photos/seed/gallery4/400/350"
581
+ style="width:100%; display:block;" />
582
+ blocks:
583
+ - id: mas_gallery_c4_title
584
+ type: Title
585
+ properties:
586
+ content: Ocean Waves
587
+ level: 5
588
+ - id: mas_gallery_c4_p
589
+ type: Paragraph
590
+ properties:
591
+ content: Crashing waves along the rocky coastline during golden hour.
592
+ - id: mas_gallery_c4_tags
593
+ type: Box
594
+ layout:
595
+ gap: 8
596
+ blocks:
597
+ - id: mas_gallery_c4_t1
598
+ type: Tag
599
+ properties:
600
+ title: Seascape
601
+ color: blue
602
+ - id: mas_gallery_c5
603
+ type: Card
604
+ properties:
605
+ hoverable: true
606
+ size: small
607
+ slots:
608
+ cover:
609
+ blocks:
610
+ - id: mas_gallery_img5
611
+ type: Html
612
+ properties:
613
+ html: <img alt="desert" src="https://picsum.photos/seed/gallery5/400/450"
614
+ style="width:100%; display:block;" />
615
+ blocks:
616
+ - id: mas_gallery_c5_title
617
+ type: Title
618
+ properties:
619
+ content: Desert Dunes
620
+ level: 5
621
+ - id: mas_gallery_c5_p
622
+ type: Paragraph
623
+ properties:
624
+ content: Rolling sand dunes stretching to the horizon under a clear blue sky.
625
+ The patterns in the sand are shaped by the wind.
626
+ ```
627
+
628
+ Sarah Chen
629
+
630
+ Lead Designer
631
+
632
+ Marcus Johnson
633
+
634
+ Senior Backend Engineer
635
+
636
+ Priya Patel
637
+
638
+ Product Manager
639
+
640
+ ```yaml
641
+ - id: mas_team
642
+ type: Masonry
643
+ properties:
644
+ columns:
645
+ xs: 1
646
+ sm: 2
647
+ lg: 3
648
+ gutter: 16
649
+ blocks:
650
+ - id: mas_team_c1
651
+ type: Card
652
+ properties:
653
+ size: small
654
+ hoverable: true
655
+ blocks:
656
+ - id: mas_team_c1_row
657
+ type: Box
658
+ layout:
659
+ gap: 12
660
+ align: center
661
+ blocks:
662
+ - id: mas_team_c1_avatar
663
+ type: Avatar
664
+ layout:
665
+ flex: 0 0 auto
666
+ properties:
667
+ icon: AiOutlineUser
668
+ size: 48
669
+ color: "#fff"
670
+ backgroundColor: "#1677ff"
671
+ - id: mas_team_c1_info
672
+ type: Box
673
+ layout:
674
+ flex: 1 1 0
675
+ direction: column
676
+ gap: 2
677
+ blocks:
678
+ - id: mas_team_c1_name
679
+ type: Title
680
+ properties:
681
+ content: Sarah Chen
682
+ level: 5
683
+ - id: mas_team_c1_role
684
+ type: Paragraph
685
+ properties:
686
+ content: Lead Designer
687
+ - id: mas_team_c1_divider
688
+ type: Divider
689
+ - id: mas_team_c1_desc
690
+ type: Descriptions
691
+ properties:
692
+ size: small
693
+ column: 1
694
+ items:
695
+ - label: Email
696
+ value: sarah.chen@example.com
697
+ - label: Location
698
+ value: San Francisco, CA
699
+ - label: Team
700
+ value: Design Systems
701
+ - id: mas_team_c1_btn
702
+ type: Button
703
+ properties:
704
+ title: View Profile
705
+ color: primary
706
+ variant: outlined
707
+ block: true
708
+ size: small
709
+ events:
710
+ onClick:
711
+ - id: mas_team_c1_msg
712
+ type: DisplayMessage
713
+ params:
714
+ content: Viewing Sarah Chen's profile
715
+ status: info
716
+ - id: mas_team_c2
717
+ type: Card
718
+ properties:
719
+ size: small
720
+ hoverable: true
721
+ blocks:
722
+ - id: mas_team_c2_row
723
+ type: Box
724
+ layout:
725
+ gap: 12
726
+ align: center
727
+ blocks:
728
+ - id: mas_team_c2_avatar
729
+ type: Avatar
730
+ layout:
731
+ flex: 0 0 auto
732
+ properties:
733
+ icon: AiOutlineUser
734
+ size: 48
735
+ color: "#fff"
736
+ backgroundColor: "#52c41a"
737
+ - id: mas_team_c2_info
738
+ type: Box
739
+ layout:
740
+ flex: 1 1 0
741
+ direction: column
742
+ gap: 2
743
+ blocks:
744
+ - id: mas_team_c2_name
745
+ type: Title
746
+ properties:
747
+ content: Marcus Johnson
748
+ level: 5
749
+ - id: mas_team_c2_role
750
+ type: Paragraph
751
+ properties:
752
+ content: Senior Backend Engineer
753
+ - id: mas_team_c2_divider
754
+ type: Divider
755
+ - id: mas_team_c2_desc
756
+ type: Descriptions
757
+ properties:
758
+ size: small
759
+ column: 1
760
+ items:
761
+ - label: Email
762
+ value: marcus.j@example.com
763
+ - label: Location
764
+ value: Austin, TX
765
+ - id: mas_team_c2_btn
766
+ type: Button
767
+ properties:
768
+ title: View Profile
769
+ color: primary
770
+ variant: outlined
771
+ block: true
772
+ size: small
773
+ events:
774
+ onClick:
775
+ - id: mas_team_c2_msg
776
+ type: DisplayMessage
777
+ params:
778
+ content: Viewing Marcus Johnson's profile
779
+ status: info
780
+ - id: mas_team_c3
781
+ type: Card
782
+ properties:
783
+ size: small
784
+ hoverable: true
785
+ blocks:
786
+ - id: mas_team_c3_row
787
+ type: Box
788
+ layout:
789
+ gap: 12
790
+ align: center
791
+ blocks:
792
+ - id: mas_team_c3_avatar
793
+ type: Avatar
794
+ layout:
795
+ flex: 0 0 auto
796
+ properties:
797
+ icon: AiOutlineUser
798
+ size: 48
799
+ color: "#fff"
800
+ backgroundColor: "#722ed1"
801
+ - id: mas_team_c3_info
802
+ type: Box
803
+ layout:
804
+ flex: 1 1 0
805
+ direction: column
806
+ gap: 2
807
+ blocks:
808
+ - id: mas_team_c3_name
809
+ type: Title
810
+ properties:
811
+ content: Priya Patel
812
+ level: 5
813
+ - id: mas_team_c3_role
814
+ type: Paragraph
815
+ properties:
816
+ content: Product Manager
817
+ - id: mas_team_c3_divider
818
+ type: Divider
819
+ - id: mas_team_c3_desc
820
+ type: Descriptions
821
+ properties:
822
+ size: small
823
+ column: 1
824
+ items:
825
+ - label: Email
826
+ value: priya.p@example.com
827
+ - label: Location
828
+ value: London, UK
829
+ - label: Team
830
+ value: Product
831
+ - label: Projects
832
+ value: 12 active
833
+ - id: mas_team_c3_btn
834
+ type: Button
835
+ properties:
836
+ title: View Profile
837
+ color: primary
838
+ variant: outlined
839
+ block: true
840
+ size: small
841
+ events:
842
+ onClick:
843
+ - id: mas_team_c3_msg
844
+ type: DisplayMessage
845
+ params:
846
+ content: Viewing Priya Patel's profile
847
+ status: info
848
+ ```
849
+
850
+ Wireless Headphones
851
+
852
+ Leather Notebook
853
+
854
+ Ceramic Mug Set
855
+
856
+ Handcrafted set of 4 ceramic mugs in earth-tone glazes. Dishwasher and microwave safe.
857
+
858
+ Desk Lamp
859
+
860
+ ```yaml
861
+ - id: mas_products
862
+ type: Masonry
863
+ class:
864
+ element: bg-bg-layout p-6 rounded-xl
865
+ properties:
866
+ columns:
867
+ xs: 1
868
+ sm: 2
869
+ md: 3
870
+ lg: 4
871
+ gutter: 16
872
+ blocks:
873
+ - id: mas_prod_c1
874
+ type: Card
875
+ properties:
876
+ hoverable: true
877
+ size: small
878
+ slots:
879
+ cover:
880
+ blocks:
881
+ - id: mas_prod_img1
882
+ type: Html
883
+ properties:
884
+ html: <img alt="product" src="https://picsum.photos/seed/prod1/400/400"
885
+ style="width:100%; display:block;" />
886
+ blocks:
887
+ - id: mas_prod_c1_name
888
+ type: Title
889
+ properties:
890
+ content: Wireless Headphones
891
+ level: 5
892
+ - id: mas_prod_c1_price
893
+ type: Statistic
894
+ properties:
895
+ value: 79.99
896
+ prefix: $
897
+ - id: mas_prod_c1_tags
898
+ type: Box
899
+ layout:
900
+ gap: 8
901
+ blocks:
902
+ - id: mas_prod_c1_t1
903
+ type: Tag
904
+ properties:
905
+ title: Electronics
906
+ color: blue
907
+ - id: mas_prod_c1_t2
908
+ type: Tag
909
+ properties:
910
+ title: Best Seller
911
+ color: red
912
+ - id: mas_prod_c1_btn
913
+ type: Button
914
+ properties:
915
+ title: Add to Cart
916
+ color: primary
917
+ variant: solid
918
+ block: true
919
+ size: small
920
+ icon: AiOutlineShoppingCart
921
+ events:
922
+ onClick:
923
+ - id: mas_prod_c1_add
924
+ type: DisplayMessage
925
+ params:
926
+ content: Wireless Headphones added to cart
927
+ status: success
928
+ - id: mas_prod_c2
929
+ type: Card
930
+ properties:
931
+ hoverable: true
932
+ size: small
933
+ slots:
934
+ cover:
935
+ blocks:
936
+ - id: mas_prod_img2
937
+ type: Html
938
+ properties:
939
+ html: <img alt="product" src="https://picsum.photos/seed/prod2/400/300"
940
+ style="width:100%; display:block;" />
941
+ blocks:
942
+ - id: mas_prod_c2_name
943
+ type: Title
944
+ properties:
945
+ content: Leather Notebook
946
+ level: 5
947
+ - id: mas_prod_c2_price
948
+ type: Statistic
949
+ properties:
950
+ value: 24.5
951
+ prefix: $
952
+ - id: mas_prod_c2_btn
953
+ type: Button
954
+ properties:
955
+ title: Add to Cart
956
+ color: primary
957
+ variant: solid
958
+ block: true
959
+ size: small
960
+ icon: AiOutlineShoppingCart
961
+ events:
962
+ onClick:
963
+ - id: mas_prod_c2_add
964
+ type: DisplayMessage
965
+ params:
966
+ content: Leather Notebook added to cart
967
+ status: success
968
+ - id: mas_prod_c3
969
+ type: Card
970
+ properties:
971
+ hoverable: true
972
+ size: small
973
+ slots:
974
+ cover:
975
+ blocks:
976
+ - id: mas_prod_img3
977
+ type: Html
978
+ properties:
979
+ html: <img alt="product" src="https://picsum.photos/seed/prod3/400/500"
980
+ style="width:100%; display:block;" />
981
+ blocks:
982
+ - id: mas_prod_c3_name
983
+ type: Title
984
+ properties:
985
+ content: Ceramic Mug Set
986
+ level: 5
987
+ - id: mas_prod_c3_desc
988
+ type: Paragraph
989
+ properties:
990
+ content: Handcrafted set of 4 ceramic mugs in earth-tone glazes. Dishwasher and
991
+ microwave safe.
992
+ - id: mas_prod_c3_price
993
+ type: Statistic
994
+ properties:
995
+ value: 45
996
+ prefix: $
997
+ - id: mas_prod_c3_tags
998
+ type: Box
999
+ layout:
1000
+ gap: 8
1001
+ blocks:
1002
+ - id: mas_prod_c3_t1
1003
+ type: Tag
1004
+ properties:
1005
+ title: Home
1006
+ color: orange
1007
+ - id: mas_prod_c3_t2
1008
+ type: Tag
1009
+ properties:
1010
+ title: New
1011
+ color: green
1012
+ - id: mas_prod_c3_btn
1013
+ type: Button
1014
+ properties:
1015
+ title: Add to Cart
1016
+ color: primary
1017
+ variant: solid
1018
+ block: true
1019
+ size: small
1020
+ icon: AiOutlineShoppingCart
1021
+ events:
1022
+ onClick:
1023
+ - id: mas_prod_c3_add
1024
+ type: DisplayMessage
1025
+ params:
1026
+ content: Ceramic Mug Set added to cart
1027
+ status: success
1028
+ - id: mas_prod_c4
1029
+ type: Card
1030
+ properties:
1031
+ hoverable: true
1032
+ size: small
1033
+ slots:
1034
+ cover:
1035
+ blocks:
1036
+ - id: mas_prod_img4
1037
+ type: Html
1038
+ properties:
1039
+ html: <img alt="product" src="https://picsum.photos/seed/prod4/400/350"
1040
+ style="width:100%; display:block;" />
1041
+ blocks:
1042
+ - id: mas_prod_c4_name
1043
+ type: Title
1044
+ properties:
1045
+ content: Desk Lamp
1046
+ level: 5
1047
+ - id: mas_prod_c4_price
1048
+ type: Statistic
1049
+ properties:
1050
+ value: 59.99
1051
+ prefix: $
1052
+ - id: mas_prod_c4_btn
1053
+ type: Button
1054
+ properties:
1055
+ title: Add to Cart
1056
+ color: primary
1057
+ variant: solid
1058
+ block: true
1059
+ size: small
1060
+ icon: AiOutlineShoppingCart
1061
+ events:
1062
+ onClick:
1063
+ - id: mas_prod_c4_add
1064
+ type: DisplayMessage
1065
+ params:
1066
+ content: Desk Lamp added to cart
1067
+ status: success
1068
+ ```
1069
+
1070
+ | Property | Type | Default | Description |
1071
+ | --- | --- | --- | --- |
1072
+ | `columns` | integer \| object | - | Number of columns, or responsive breakpoint object. |
1073
+ | `fresh` | boolean | `false` | Force refresh the masonry layout. |
1074
+ | `gutter` | number \| array | - | Gap between items. Number or [horizontal, vertical] array. |
1075
+ | `sequential` | boolean | `false` | Whether to render items sequentially. |
1076
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design masonry tokens](https://ant.design/components/masonry#design-token). |
1077
+ | `theme.motionDurationSlow` | string | `"0.3s"` | Duration for item position transitions and appear animations. |
1078
+ | `theme.motionDurationFast` | string | `"0.1s"` | Duration for item leave animations. |
1079
+ | `theme.motionEaseOut` | string | `"cubic-bezier(0.215, 0.61, 0.355, 1)"` | Easing function for item transitions. |
1080
+
1081
+ No events defined.
1082
+
1083
+ | Key | Target |
1084
+ | --- | --- |
1085
+ | `/block` | Outer block wrapper (always available). |
1086
+ | `/element` | The Masonry element. |
1087
+
1088
+ | Slot | Description |
1089
+ | --- | --- |
1090
+ | `content` | Child blocks arranged in a masonry grid. |