@lowdefy/docs-content 0.0.0-experimental-20260928120643 → 6.1.0

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 (226) hide show
  1. package/README.md +0 -1
  2. package/content/actions/link.md +0 -17
  3. package/content/actions/login.md +5 -23
  4. package/content/actions/logout.md +5 -5
  5. package/content/actions/pdfmake.md +2 -2
  6. package/content/actions/setdarkmode.md +2 -2
  7. package/content/agents/agent-properties.md +2 -4
  8. package/content/agents/agentchat.md +6 -21
  9. package/content/agents/agentconversations.md +2 -2
  10. package/content/concepts/ai-agent-docs.md +101 -313
  11. package/content/concepts/cli.md +3 -34
  12. package/content/concepts/connections-and-requests.md +0 -402
  13. package/content/concepts/custom-html.md +0 -40
  14. package/content/concepts/custom-styling.md +5 -50
  15. package/content/concepts/events-and-actions.md +2 -64
  16. package/content/concepts/i18n.md +2 -7
  17. package/content/concepts/keyboard-shortcuts.md +2 -2
  18. package/content/concepts/layout-overview.md +1 -1
  19. package/content/concepts/logger.md +0 -81
  20. package/content/concepts/lowdefy-schema.md +1 -4
  21. package/content/concepts/menus.md +7 -7
  22. package/content/concepts/module-authoring.md +2 -2
  23. package/content/connections/anthropic.md +2 -162
  24. package/content/connections/awss3.md +0 -54
  25. package/content/connections/google.md +2 -162
  26. package/content/connections/mongodb.md +3 -121
  27. package/content/connections/openai-connection.md +2 -162
  28. package/content/container-blocks/affix.md +7 -47
  29. package/content/container-blocks/alert.md +24 -76
  30. package/content/container-blocks/badge.md +24 -100
  31. package/content/container-blocks/box.md +9 -9
  32. package/content/container-blocks/card.md +25 -80
  33. package/content/container-blocks/carousel.md +7 -60
  34. package/content/container-blocks/collapse.md +9 -87
  35. package/content/container-blocks/configprovider.md +13 -35
  36. package/content/container-blocks/confirmmodal.md +23 -69
  37. package/content/container-blocks/content.md +98 -62
  38. package/content/container-blocks/descriptions.md +4 -45
  39. package/content/container-blocks/drawer.md +28 -92
  40. package/content/container-blocks/dropdownmenu.md +31 -119
  41. package/content/container-blocks/flex.md +62 -40
  42. package/content/container-blocks/footer.md +11 -15
  43. package/content/container-blocks/googlemapsheatmap.md +1 -1
  44. package/content/container-blocks/googlemapsscript.md +2 -2
  45. package/content/container-blocks/header.md +36 -71
  46. package/content/container-blocks/label.md +7 -34
  47. package/content/container-blocks/layout.md +34 -52
  48. package/content/container-blocks/masonry.md +71 -17
  49. package/content/container-blocks/mobilemenu.md +88 -131
  50. package/content/container-blocks/modal.md +26 -114
  51. package/content/container-blocks/pageheadermenu.md +31 -81
  52. package/content/container-blocks/pagesidebarlayout.md +26 -169
  53. package/content/container-blocks/pagesidermenu.md +42 -95
  54. package/content/container-blocks/popover.md +31 -34
  55. package/content/container-blocks/result.md +21 -32
  56. package/content/container-blocks/sider.md +122 -85
  57. package/content/container-blocks/span.md +7 -7
  58. package/content/container-blocks/spinner.md +3 -3
  59. package/content/container-blocks/splitter.md +68 -150
  60. package/content/container-blocks/tabs.md +12 -64
  61. package/content/container-blocks/tooltip.md +46 -22
  62. package/content/container-blocks/watermark.md +4 -22
  63. package/content/controls/reject.md +2 -4
  64. package/content/controls/throw.md +0 -1
  65. package/content/controls/try.md +2 -3
  66. package/content/deployment/deployment-environments.md +6 -8
  67. package/content/deployment/docker.md +7 -22
  68. package/content/deployment/node-server.md +0 -4
  69. package/content/deployment/vercel.md +6 -13
  70. package/content/display-blocks/aggrid.md +11 -26
  71. package/content/display-blocks/anchor.md +15 -15
  72. package/content/display-blocks/avatar.md +37 -57
  73. package/content/display-blocks/breadcrumb.md +21 -70
  74. package/content/display-blocks/button.md +18 -92
  75. package/content/display-blocks/calendar.md +0 -12
  76. package/content/display-blocks/dangeroushtml.md +1 -1
  77. package/content/display-blocks/difflist.md +1 -1
  78. package/content/display-blocks/difftimeline.md +1 -1
  79. package/content/display-blocks/divider.md +3 -64
  80. package/content/display-blocks/dropdownbutton.md +28 -79
  81. package/content/display-blocks/echart.md +1 -35
  82. package/content/display-blocks/floatbutton.md +42 -129
  83. package/content/display-blocks/html.md +1 -61
  84. package/content/display-blocks/icon.md +67 -250
  85. package/content/display-blocks/menu.md +73 -145
  86. package/content/display-blocks/message.md +124 -38
  87. package/content/display-blocks/notification.md +222 -94
  88. package/content/display-blocks/paragraph.md +9 -59
  89. package/content/display-blocks/progress.md +17 -96
  90. package/content/display-blocks/qrcode.md +4 -19
  91. package/content/display-blocks/s3download.md +1 -1
  92. package/content/display-blocks/search.md +7 -17
  93. package/content/display-blocks/skeletonbutton.md +0 -1
  94. package/content/display-blocks/skeletoninput.md +0 -1
  95. package/content/display-blocks/statistic.md +17 -75
  96. package/content/display-blocks/steps.md +25 -58
  97. package/content/display-blocks/tag.md +17 -102
  98. package/content/display-blocks/title.md +11 -50
  99. package/content/display-blocks/tour.md +23 -33
  100. package/content/input-blocks/autocomplete.md +9 -81
  101. package/content/input-blocks/buttonselector.md +8 -45
  102. package/content/input-blocks/checkboxselector.md +7 -97
  103. package/content/input-blocks/checkboxswitch.md +3 -33
  104. package/content/input-blocks/colorselector.md +14 -63
  105. package/content/input-blocks/daterangeselector.md +45 -165
  106. package/content/input-blocks/dateselector.md +41 -139
  107. package/content/input-blocks/datetimeselector.md +49 -158
  108. package/content/input-blocks/inputgallery.md +3 -3
  109. package/content/input-blocks/monthselector.md +52 -120
  110. package/content/input-blocks/multipleselector.md +39 -150
  111. package/content/input-blocks/numberinput.md +12 -98
  112. package/content/input-blocks/pagination.md +14 -70
  113. package/content/input-blocks/paragraphinput.md +37 -51
  114. package/content/input-blocks/passwordinput.md +6 -60
  115. package/content/input-blocks/phonenumberinput.md +26 -59
  116. package/content/input-blocks/radioselector.md +7 -83
  117. package/content/input-blocks/ratingslider.md +26 -57
  118. package/content/input-blocks/s3uploadbutton.md +24 -24
  119. package/content/input-blocks/s3uploaddragger.md +3 -3
  120. package/content/input-blocks/s3uploadphoto.md +5 -5
  121. package/content/input-blocks/segmentedselector.md +32 -72
  122. package/content/input-blocks/selector.md +21 -109
  123. package/content/input-blocks/switch.md +17 -65
  124. package/content/input-blocks/textarea.md +3 -32
  125. package/content/input-blocks/textinput.md +28 -69
  126. package/content/input-blocks/tiptapmentioninput.md +1 -1
  127. package/content/input-blocks/titleinput.md +12 -39
  128. package/content/input-blocks/treeinput.md +25 -49
  129. package/content/input-blocks/treemultipleselector.md +10 -127
  130. package/content/input-blocks/treeselector.md +9 -97
  131. package/content/input-blocks/upload.md +15 -64
  132. package/content/input-blocks/uploaddragger.md +1 -17
  133. package/content/input-blocks/uploadphoto.md +1 -18
  134. package/content/input-blocks/weekselector.md +55 -120
  135. package/content/list-blocks/controlledlist.md +15 -24
  136. package/content/list-blocks/list.md +11 -11
  137. package/content/list-blocks/masonrylist.md +34 -7
  138. package/content/migration/upgrade-guide.md +0 -1
  139. package/content/operators/_app.md +1 -2
  140. package/content/operators/_error.md +1 -23
  141. package/content/operators/_get.md +6 -6
  142. package/content/operators/_operator.md +3 -17
  143. package/content/operators/_ref.md +0 -258
  144. package/content/operators/_type.md +3 -14
  145. package/content/operators/_user.md +3 -3
  146. package/content/other/introduction.md +1 -1
  147. package/content/plugins/plugins-dev.md +0 -66
  148. package/content/plugins/plugins-introduction.md +1 -27
  149. package/content/testing/e2e-configuration.md +1 -8
  150. package/content/testing/e2e-getting-started.md +1 -1
  151. package/content/testing/e2e-introduction.md +1 -1
  152. package/content/tutorial/tutorial-actions-operators.md +2 -2
  153. package/content/tutorial/tutorial-add-blocks.md +2 -2
  154. package/content/tutorial/tutorial-create-page.md +2 -48
  155. package/content/tutorial/tutorial-display-data-page.md +3 -3
  156. package/content/tutorial/tutorial-requests-sql.md +0 -153
  157. package/content/tutorial/tutorial-start.md +1 -66
  158. package/content/user-authentication/login-and-logout.md +8 -158
  159. package/content/user-authentication/users-introduction.md +0 -8
  160. package/index.json +2 -6065
  161. package/package.json +1 -7
  162. package/scripts/extractAgentDocs.js +4 -36
  163. package/content/actions/emailotpsend.md +0 -58
  164. package/content/actions/emailotpverify.md +0 -77
  165. package/content/actions/getlocalstorage.md +0 -41
  166. package/content/actions/magiclinkverify.md +0 -113
  167. package/content/actions/posthogalias.md +0 -29
  168. package/content/actions/posthogcapture.md +0 -49
  169. package/content/actions/posthogcapturepageleave.md +0 -38
  170. package/content/actions/posthogfeatureflag.md +0 -50
  171. package/content/actions/posthoggroup.md +0 -37
  172. package/content/actions/posthogidentify.md +0 -54
  173. package/content/actions/posthoginit.md +0 -66
  174. package/content/actions/posthogoptin.md +0 -29
  175. package/content/actions/posthogoptout.md +0 -29
  176. package/content/actions/posthogpageview.md +0 -37
  177. package/content/actions/posthogreloadfeatureflags.md +0 -47
  178. package/content/actions/posthogreset.md +0 -28
  179. package/content/actions/posthogsetpersonproperties.md +0 -36
  180. package/content/actions/removelocalstorage.md +0 -26
  181. package/content/actions/setlocalstorage.md +0 -32
  182. package/content/adapter-reference/mongodbauthadapter.md +0 -46
  183. package/content/agents/agents-introduction.md +0 -107
  184. package/content/callback-reference/auth0logoutcallback.md +0 -54
  185. package/content/concepts/blocks.md +0 -150
  186. package/content/concepts/dynamic-page-content.md +0 -304
  187. package/content/concepts/html-attributes.md +0 -285
  188. package/content/concepts/lowdefy-api.md +0 -1110
  189. package/content/concepts/notifications.md +0 -155
  190. package/content/concepts/page-and-app-state.md +0 -244
  191. package/content/concepts/theming.md +0 -582
  192. package/content/connections/aigateway.md +0 -368
  193. package/content/connections/axioshttp.md +0 -181
  194. package/content/controls/while.md +0 -46
  195. package/content/display-blocks/clickablehtml.md +0 -239
  196. package/content/display-blocks/eventlog.md +0 -363
  197. package/content/display-blocks/pollingtimer.md +0 -263
  198. package/content/input-blocks/captcha.md +0 -40
  199. package/content/input-blocks/placesautocomplete.md +0 -319
  200. package/content/input-blocks/tagmultipleselector.md +0 -114
  201. package/content/input-blocks/tagselector.md +0 -114
  202. package/content/migration/auth-upgrade.md +0 -327
  203. package/content/migration/v3-to-v4.md +0 -417
  204. package/content/migration/v6-to-v7.md +0 -222
  205. package/content/operators/_cron.md +0 -292
  206. package/content/other/mongodbadapter.md +0 -3
  207. package/content/plugins/plugins-icon-sets.md +0 -267
  208. package/content/plugins/posthog.md +0 -275
  209. package/content/provider-reference/auth-js-providers.md +0 -107
  210. package/content/provider-reference/openidconnectprovider.md +0 -44
  211. package/content/testing/config-tests.md +0 -278
  212. package/content/tutorial/tutorial-requests-api.md +0 -155
  213. package/content/user-authentication/auth-configuration.md +0 -266
  214. package/content/user-authentication/auth-steps.md +0 -138
  215. package/content/user-authentication/mcp-oauth.md +0 -292
  216. package/content/user-authentication/organizations.md +0 -221
  217. package/content/user-authentication/protected-pages-apis.md +0 -97
  218. package/content/user-authentication/roles.md +0 -49
  219. package/content/user-authentication/two-factor.md +0 -229
  220. package/content/user-authentication/user-object.md +0 -58
  221. package/content/websockets/websocket-publish.md +0 -108
  222. package/content/websockets/websocket-subscriptions.md +0 -100
  223. package/content/websockets/websockets-introduction.md +0 -97
  224. package/hazards.json +0 -44
  225. package/scripts/hashDocSources.js +0 -38
  226. package/scripts/recordSourceHashes.js +0 -88
@@ -24,14 +24,6 @@ Floating action button with tooltip, badge, and icon.
24
24
  _state: float_props.href
25
25
  target:
26
26
  _state: float_props.target
27
- disabled:
28
- _state: float_props.disabled
29
- backTop:
30
- _state: float_props.backTop
31
- visibilityHeight:
32
- _state: float_props.visibilityHeight
33
- showProgress:
34
- _state: float_props.showProgress
35
27
  theme:
36
28
  _state: float_props.theme
37
29
  events:
@@ -49,7 +41,7 @@ Floating action button with tooltip, badge, and icon.
49
41
  title: Default
50
42
  color: default
51
43
  variant: outlined
52
- icon: help
44
+ icon: AiOutlineQuestionCircle
53
45
  events:
54
46
  onClick:
55
47
  - id: set_type_default
@@ -58,7 +50,7 @@ Floating action button with tooltip, badge, and icon.
58
50
  float_active: true
59
51
  float_props:
60
52
  type: default
61
- icon: help
53
+ icon: AiOutlineQuestionCircle
62
54
  tooltip: Default type
63
55
  - id: btn_type_primary
64
56
  type: Button
@@ -68,7 +60,7 @@ Floating action button with tooltip, badge, and icon.
68
60
  title: Primary
69
61
  color: primary
70
62
  variant: outlined
71
- icon: help
63
+ icon: AiOutlineQuestionCircle
72
64
  events:
73
65
  onClick:
74
66
  - id: set_type_primary
@@ -77,7 +69,7 @@ Floating action button with tooltip, badge, and icon.
77
69
  float_active: true
78
70
  float_props:
79
71
  type: primary
80
- icon: help
72
+ icon: AiOutlineQuestionCircle
81
73
  tooltip: Primary type
82
74
  - id: btn_type_support
83
75
  type: Button
@@ -87,7 +79,7 @@ Floating action button with tooltip, badge, and icon.
87
79
  title: Support
88
80
  color: primary
89
81
  variant: outlined
90
- icon: Headset
82
+ icon: AiOutlineCustomerService
91
83
  events:
92
84
  onClick:
93
85
  - id: set_type_support
@@ -96,7 +88,7 @@ Floating action button with tooltip, badge, and icon.
96
88
  float_active: true
97
89
  float_props:
98
90
  type: primary
99
- icon: Headset
91
+ icon: AiOutlineCustomerService
100
92
  tooltip: Contact support
101
93
  ```
102
94
 
@@ -117,7 +109,7 @@ Floating action button with tooltip, badge, and icon.
117
109
  float_active: true
118
110
  float_props:
119
111
  shape: circle
120
- icon: add
112
+ icon: AiOutlinePlus
121
113
  tooltip: Circle (default)
122
114
  - id: btn_shape_square
123
115
  type: Button
@@ -135,7 +127,7 @@ Floating action button with tooltip, badge, and icon.
135
127
  float_active: true
136
128
  float_props:
137
129
  shape: square
138
- icon: settings
130
+ icon: AiOutlineSetting
139
131
  tooltip: Square shape
140
132
  - id: btn_shape_square_primary
141
133
  type: Button
@@ -154,7 +146,7 @@ Floating action button with tooltip, badge, and icon.
154
146
  float_props:
155
147
  shape: square
156
148
  type: primary
157
- icon: edit
149
+ icon: AiOutlineEdit
158
150
  tooltip: Square primary
159
151
  ```
160
152
 
@@ -167,7 +159,7 @@ Floating action button with tooltip, badge, and icon.
167
159
  title: String
168
160
  color: default
169
161
  variant: outlined
170
- icon: help
162
+ icon: AiOutlineQuestionCircle
171
163
  events:
172
164
  onClick:
173
165
  - id: set_icon_string
@@ -175,7 +167,7 @@ Floating action button with tooltip, badge, and icon.
175
167
  params:
176
168
  float_active: true
177
169
  float_props:
178
- icon: help
170
+ icon: AiOutlineQuestionCircle
179
171
  tooltip: String icon
180
172
  - id: btn_icon_object
181
173
  type: Button
@@ -185,7 +177,7 @@ Floating action button with tooltip, badge, and icon.
185
177
  title: Object
186
178
  color: default
187
179
  variant: outlined
188
- icon: Rocket
180
+ icon: AiOutlineRocket
189
181
  events:
190
182
  onClick:
191
183
  - id: set_icon_object
@@ -194,7 +186,7 @@ Floating action button with tooltip, badge, and icon.
194
186
  float_active: true
195
187
  float_props:
196
188
  icon:
197
- name: Rocket
189
+ name: AiOutlineRocket
198
190
  tooltip: Object icon
199
191
  - id: btn_icon_colored
200
192
  type: Button
@@ -204,7 +196,7 @@ Floating action button with tooltip, badge, and icon.
204
196
  title: Colored
205
197
  color: default
206
198
  variant: outlined
207
- icon: heart
199
+ icon: AiOutlineHeart
208
200
  events:
209
201
  onClick:
210
202
  - id: set_icon_colored
@@ -213,7 +205,7 @@ Floating action button with tooltip, badge, and icon.
213
205
  float_active: true
214
206
  float_props:
215
207
  icon:
216
- name: heart
208
+ name: AiOutlineHeart
217
209
  color: "#eb2f96"
218
210
  tooltip: Colored icon
219
211
  ```
@@ -234,7 +226,7 @@ Floating action button with tooltip, badge, and icon.
234
226
  params:
235
227
  float_active: true
236
228
  float_props:
237
- icon: help
229
+ icon: AiOutlineQuestionCircle
238
230
  tooltip: Help
239
231
  - id: btn_tooltip_long
240
232
  type: Button
@@ -251,7 +243,7 @@ Floating action button with tooltip, badge, and icon.
251
243
  params:
252
244
  float_active: true
253
245
  float_props:
254
- icon: Headset
246
+ icon: AiOutlineCustomerService
255
247
  tooltip: Click here to get help from our support team
256
248
  ```
257
249
 
@@ -264,7 +256,7 @@ Floating action button with tooltip, badge, and icon.
264
256
  title: With Icon
265
257
  color: primary
266
258
  variant: outlined
267
- icon: help
259
+ icon: AiOutlineQuestionCircle
268
260
  events:
269
261
  onClick:
270
262
  - id: set_desc_icon
@@ -274,7 +266,7 @@ Floating action button with tooltip, badge, and icon.
274
266
  float_props:
275
267
  shape: square
276
268
  type: primary
277
- icon: help
269
+ icon: AiOutlineQuestionCircle
278
270
  description: Help
279
271
  - id: btn_desc_docs
280
272
  type: Button
@@ -284,7 +276,7 @@ Floating action button with tooltip, badge, and icon.
284
276
  title: Docs
285
277
  color: primary
286
278
  variant: outlined
287
- icon: document
279
+ icon: AiOutlineFileText
288
280
  events:
289
281
  onClick:
290
282
  - id: set_desc_docs
@@ -294,7 +286,7 @@ Floating action button with tooltip, badge, and icon.
294
286
  float_props:
295
287
  shape: square
296
288
  type: primary
297
- icon: document
289
+ icon: AiOutlineFileText
298
290
  description: Docs
299
291
  - id: btn_desc_text
300
292
  type: Button
@@ -325,7 +317,7 @@ Floating action button with tooltip, badge, and icon.
325
317
  title: Count
326
318
  color: default
327
319
  variant: outlined
328
- icon: bell
320
+ icon: AiOutlineBell
329
321
  events:
330
322
  onClick:
331
323
  - id: set_badge_count
@@ -333,7 +325,7 @@ Floating action button with tooltip, badge, and icon.
333
325
  params:
334
326
  float_active: true
335
327
  float_props:
336
- icon: bell
328
+ icon: AiOutlineBell
337
329
  tooltip: Notifications
338
330
  badge:
339
331
  count: 5
@@ -345,7 +337,7 @@ Floating action button with tooltip, badge, and icon.
345
337
  title: Dot
346
338
  color: default
347
339
  variant: outlined
348
- icon: mail
340
+ icon: AiOutlineMail
349
341
  events:
350
342
  onClick:
351
343
  - id: set_badge_dot
@@ -353,7 +345,7 @@ Floating action button with tooltip, badge, and icon.
353
345
  params:
354
346
  float_active: true
355
347
  float_props:
356
- icon: mail
348
+ icon: AiOutlineMail
357
349
  tooltip: Messages
358
350
  badge:
359
351
  dot: true
@@ -365,7 +357,7 @@ Floating action button with tooltip, badge, and icon.
365
357
  title: Overflow
366
358
  color: default
367
359
  variant: outlined
368
- icon: Inbox
360
+ icon: AiOutlineInbox
369
361
  events:
370
362
  onClick:
371
363
  - id: set_badge_overflow
@@ -373,7 +365,7 @@ Floating action button with tooltip, badge, and icon.
373
365
  params:
374
366
  float_active: true
375
367
  float_props:
376
- icon: Inbox
368
+ icon: AiOutlineInbox
377
369
  tooltip: Inbox
378
370
  badge:
379
371
  count: 99
@@ -389,7 +381,7 @@ Floating action button with tooltip, badge, and icon.
389
381
  title: Link
390
382
  color: default
391
383
  variant: outlined
392
- icon: link
384
+ icon: AiOutlineLink
393
385
  events:
394
386
  onClick:
395
387
  - id: set_href_link
@@ -397,7 +389,7 @@ Floating action button with tooltip, badge, and icon.
397
389
  params:
398
390
  float_active: true
399
391
  float_props:
400
- icon: link
392
+ icon: AiOutlineLink
401
393
  tooltip: Open Lowdefy (new tab)
402
394
  href: https://lowdefy.com
403
395
  target: _blank
@@ -409,7 +401,7 @@ Floating action button with tooltip, badge, and icon.
409
401
  title: Docs Link
410
402
  color: primary
411
403
  variant: outlined
412
- icon: document
404
+ icon: AiOutlineFileText
413
405
  events:
414
406
  onClick:
415
407
  - id: set_href_docs
@@ -418,77 +410,12 @@ Floating action button with tooltip, badge, and icon.
418
410
  float_active: true
419
411
  float_props:
420
412
  type: primary
421
- icon: document
413
+ icon: AiOutlineFileText
422
414
  tooltip: View documentation (new tab)
423
415
  href: https://docs.lowdefy.com
424
416
  target: _blank
425
417
  ```
426
418
 
427
- ```yaml
428
- - id: btn_back_top
429
- type: Button
430
- layout:
431
- flex: 0 0 auto
432
- properties:
433
- title: Back to top
434
- color: default
435
- variant: outlined
436
- icon: arrow-up
437
- events:
438
- onClick:
439
- - id: set_back_top
440
- type: SetState
441
- params:
442
- float_active: true
443
- float_props:
444
- backTop: true
445
- visibilityHeight: 0
446
- tooltip: Back to top
447
- - id: btn_back_top_progress
448
- type: Button
449
- layout:
450
- flex: 0 0 auto
451
- properties:
452
- title: With scroll progress
453
- color: primary
454
- variant: outlined
455
- icon: arrow-up
456
- events:
457
- onClick:
458
- - id: set_back_top_progress
459
- type: SetState
460
- params:
461
- float_active: true
462
- float_props:
463
- type: primary
464
- backTop: true
465
- showProgress: true
466
- visibilityHeight: 0
467
- tooltip: Back to top
468
- ```
469
-
470
- ```yaml
471
- - id: btn_disabled
472
- type: Button
473
- layout:
474
- flex: 0 0 auto
475
- properties:
476
- title: Disabled
477
- color: default
478
- variant: outlined
479
- icon: lock
480
- events:
481
- onClick:
482
- - id: set_disabled
483
- type: SetState
484
- params:
485
- float_active: true
486
- float_props:
487
- icon: add
488
- disabled: true
489
- tooltip: Adding is disabled
490
- ```
491
-
492
419
  ```yaml
493
420
  - id: btn_theme_green
494
421
  type: Button
@@ -498,7 +425,7 @@ Floating action button with tooltip, badge, and icon.
498
425
  title: Green
499
426
  color: primary
500
427
  variant: outlined
501
- icon: check
428
+ icon: AiOutlineCheck
502
429
  events:
503
430
  onClick:
504
431
  - id: set_theme_green
@@ -507,7 +434,7 @@ Floating action button with tooltip, badge, and icon.
507
434
  float_active: true
508
435
  float_props:
509
436
  type: primary
510
- icon: check
437
+ icon: AiOutlineCheck
511
438
  tooltip: Green primary
512
439
  theme:
513
440
  colorPrimary: "#52c41a"
@@ -520,7 +447,7 @@ Floating action button with tooltip, badge, and icon.
520
447
  title: Dark
521
448
  color: default
522
449
  variant: outlined
523
- icon: settings
450
+ icon: AiOutlineSetting
524
451
  events:
525
452
  onClick:
526
453
  - id: set_theme_dark
@@ -528,7 +455,7 @@ Floating action button with tooltip, badge, and icon.
528
455
  params:
529
456
  float_active: true
530
457
  float_props:
531
- icon: settings
458
+ icon: AiOutlineSetting
532
459
  tooltip: Dark background
533
460
  theme:
534
461
  colorBgElevated: "#1f1f1f"
@@ -541,7 +468,7 @@ Floating action button with tooltip, badge, and icon.
541
468
  title: Large
542
469
  color: primary
543
470
  variant: outlined
544
- icon: add
471
+ icon: AiOutlinePlus
545
472
  events:
546
473
  onClick:
547
474
  - id: set_theme_large
@@ -550,7 +477,7 @@ Floating action button with tooltip, badge, and icon.
550
477
  float_active: true
551
478
  float_props:
552
479
  type: primary
553
- icon: add
480
+ icon: AiOutlinePlus
554
481
  tooltip: Large button
555
482
  theme:
556
483
  controlHeightLG: 56
@@ -563,7 +490,7 @@ Floating action button with tooltip, badge, and icon.
563
490
  title: Custom Badge
564
491
  color: default
565
492
  variant: outlined
566
- icon: bell
493
+ icon: AiOutlineBell
567
494
  events:
568
495
  onClick:
569
496
  - id: set_theme_badge
@@ -571,7 +498,7 @@ Floating action button with tooltip, badge, and icon.
571
498
  params:
572
499
  float_active: true
573
500
  float_props:
574
- icon: bell
501
+ icon: AiOutlineBell
575
502
  tooltip: Custom badge color
576
503
  badge:
577
504
  count: 3
@@ -584,24 +511,10 @@ Floating action button with tooltip, badge, and icon.
584
511
  | --- | --- | --- | --- |
585
512
  | `type` | string | `"default"` | Setting button type. Enum: `default`, `primary`. |
586
513
  | `shape` | string | `"circle"` | Setting button shape. Enum: `circle`, `square`. |
587
- | `description` | string | - | Text shown below the icon. Use a square shape for room to show it. |
588
- | `disabled` | boolean | `false` | Disable the button. |
589
- | `backTop` | boolean | `false` | Render a back to top button. It shows once the page scrolls past `visibilityHeight` and scrolls the page to the top when clicked. |
590
- | `visibilityHeight` | number | `400` | Scroll height in pixels after which the back to top button shows. Only applies with `backTop`. |
591
- | `duration` | number | `450` | Time in milliseconds to scroll back to the top. Only applies with `backTop`. Ignored when the user prefers reduced motion. |
592
- | `showProgress` | boolean | `false` | Show the scroll progress as a ring around the back to top button. Only applies with `backTop`. |
514
+ | `description` | string | - | Text and other. |
593
515
  | `tooltip` | string | - | The text shown in the tooltip. |
594
516
  | `icon` | string \| object | - | Icon for the button. |
595
- | `icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
596
- | `icon.color` | string | - | Icon color. |
597
- | `icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
598
- | `icon.rotate` | number | - | Number of degrees to rotate the icon. |
599
- | `icon.spin` | boolean | - | Continuously spin the icon with animation. |
600
- | `icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
601
- | `icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
602
- | `icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
603
- | `icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
604
- | `href` | string | - | The target of hyperlink. Not used with `backTop`. |
517
+ | `href` | string | - | The target of hyperlink. |
605
518
  | `htmlType` | string | `"button"` | HTML button type. Enum: `button`, `submit`, `reset`. |
606
519
  | `target` | string | - | Specifies where to display the linked URL. |
607
520
  | `badge` | object | - | Badge configuration for the button. |
@@ -621,7 +534,7 @@ Floating action button with tooltip, badge, and icon.
621
534
 
622
535
  | Event | Event Data | Description |
623
536
  | --- | --- | --- |
624
- | `onClick` | \- | Trigger action when button is clicked. With `backTop`, fires after the page starts scrolling to the top. |
537
+ | `onClick` | \- | Trigger action when button is clicked. |
625
538
 
626
539
  | Key | Target |
627
540
  | --- | --- |
@@ -295,69 +295,9 @@ Render raw HTML content safely.
295
295
  mode.</p>'
296
296
  ```
297
297
 
298
- ```yaml
299
- - id: html_icons
300
- type: Html
301
- properties:
302
- html: '<p><i data-icon="success" style="color: var(--ant-color-success)"></i>
303
- Saved <span data-tooltip="Saved to the cloud 2 minutes ago"
304
- style="text-decoration: underline dotted">just now</span></p><p><i
305
- data-icon="warning" style="color: var(--ant-color-warning)"></i> 3 fields
306
- need attention. <span data-popover="fields" style="color:
307
- var(--ant-color-primary); cursor: pointer">Which? <i
308
- data-icon="chevron-down"></i></span></p><div data-popover-content="fields"
309
- hidden><ul style="margin: 0; padding-left:
310
- 16px"><li>Email</li><li>Phone</li><li>Address</li></ul></div>'
311
- ```
312
-
313
- ```yaml
314
- - id: html_links_tags
315
- type: Html
316
- properties:
317
- html: <p><a data-page-id="Button">Button</a> moved to <span
318
- data-tag="success">Released</span> · <a data-page-id="theming"
319
- data-url-query="section=icons">Theming</a> is <span data-tag="warning">In
320
- review</span> · <a href="https://ant.design" data-new-tab>Ant Design</a>
321
- <i data-icon="external-link"></i></p><p><span
322
- data-status="success">Online</span> &nbsp; <span
323
- data-status="processing">Syncing</span> &nbsp; <span
324
- data-status="error">Offline</span></p><p><span data-tag>Design</span>
325
- <span data-tag>Engineering</span> <span data-tag>Support</span> <span
326
- data-tag="purple">Beta</span> <span data-tag="#0f766e">Custom
327
- colour</span></p>
328
- ```
329
-
330
- ```yaml
331
- - id: html_time_format
332
- type: Html
333
- properties:
334
- html: '<p><span data-avatar="Jane Doe"></span> Jane Doe updated the invoice
335
- <time datetime="2026-01-05T09:30:00Z" data-time="relative"></time> (<time
336
- datetime="2026-01-05T09:30:00Z" data-time="D MMM YYYY"></time>) · <span
337
- data-format="currency" data-currency="USD">1234.5</span> · <span
338
- data-format="percent" data-decimals="1">0.123</span> of target · <span
339
- data-format="bytes">1536000</span> attached</p><p>Invoice number <code
340
- data-copy>INV-2026-0042</code> · owner <img data-avatar="Sam Smith" src=""
341
- style="--lf-avatar-size: 32px"></p>'
342
- ```
343
-
344
- ```yaml
345
- - id: html_truncate_tone
346
- type: Html
347
- properties:
348
- html: '<div style="max-width: 320px"><div data-truncate><b>Quarterly report for
349
- the northern region, including every branch and its targets</b></div><div
350
- data-truncate="2" data-tone="secondary">The report covers revenue, costs
351
- and headcount for each branch, compares them with the same quarter last
352
- year, and lists the actions each branch manager agreed for the next
353
- quarter.</div><div><span data-tone="tertiary">Updated 3 days ago</span> ·
354
- <span data-tone="success">On track</span> · <span
355
- data-tone="quaternary">—</span></div></div>'
356
- ```
357
-
358
298
  | Property | Type | Default | Description |
359
299
  | --- | --- | --- | --- |
360
- | `html` | string | - | Content to be rendered as Html. It understands these attributes: data-icon="edit" renders an icon (a semantic name like edit, delete or warning, or a Lucide icon name like Pencil); data-tooltip="Text" shows a tooltip on hover and focus; data-popover="id" toggles a popover showing the element with data-popover-content="id" (mark it hidden); links to an app page without reloading (never hard-code href="/page"); data-link opts an existing app-relative into the same navigation; data-new-tab opens a link in a new tab (target is stripped by sanitising); data-tag="success" renders a tinted status tag and data-status="success" a status dot (tones success, processing, info, warning, error, default, an antd preset colour, a CSS colour, or any other value to seed a stable colour); renders a date as relative, date, datetime, time or a dayjs format; data-format="currency" data-currency="USD" formats the element's number as number, currency, percent, compact or bytes; data-avatar="Jane Doe" renders initials (on an , a fallback for a broken image; never use an avatar image service); data-copy adds a copy button for the element's text or the attribute's value; data-truncate="2" clamps block text to 1–6 lines with the full text in a tooltip when cut off; data-tone="secondary" colours text with a theme tone (secondary, tertiary, quaternary, success, warning, error, info). See the HTML attributes docs page. |
300
+ | `html` | string | - | Content to be rendered as Html. |
361
301
 
362
302
  | Event | Event Data | Description |
363
303
  | --- | --- | --- |