@lowdefy/docs-content 6.1.0 → 7.0.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 (285) hide show
  1. package/README.md +1 -0
  2. package/content/actions/downloadcsv.md +1 -1
  3. package/content/actions/emailotpsend.md +58 -0
  4. package/content/actions/emailotpverify.md +79 -0
  5. package/content/actions/getlocalstorage.md +43 -0
  6. package/content/actions/link.md +47 -1
  7. package/content/actions/login.md +25 -5
  8. package/content/actions/logout.md +7 -5
  9. package/content/actions/magiclinkverify.md +117 -0
  10. package/content/actions/pdfmake.md +2 -2
  11. package/content/actions/posthogalias.md +29 -0
  12. package/content/actions/posthogcapture.md +49 -0
  13. package/content/actions/posthogcapturepageleave.md +38 -0
  14. package/content/actions/posthogfeatureflag.md +50 -0
  15. package/content/actions/posthoggroup.md +37 -0
  16. package/content/actions/posthogidentify.md +54 -0
  17. package/content/actions/posthoginit.md +96 -0
  18. package/content/actions/posthogoptin.md +29 -0
  19. package/content/actions/posthogoptout.md +29 -0
  20. package/content/actions/posthogpageview.md +37 -0
  21. package/content/actions/posthogreloadfeatureflags.md +47 -0
  22. package/content/actions/posthogreset.md +28 -0
  23. package/content/actions/posthogsetpersonproperties.md +36 -0
  24. package/content/actions/removelocalstorage.md +28 -0
  25. package/content/actions/resetvalidation.md +5 -3
  26. package/content/actions/setdarkmode.md +3 -3
  27. package/content/actions/setglobal.md +2 -0
  28. package/content/actions/setlocale.md +1 -1
  29. package/content/actions/setlocalstorage.md +34 -0
  30. package/content/actions/setstate.md +2 -0
  31. package/content/actions/validate.md +7 -4
  32. package/content/adapter-reference/mongodbauthadapter.md +46 -0
  33. package/content/agents/agent-endpoint-tools.md +24 -0
  34. package/content/agents/agent-properties.md +13 -3
  35. package/content/agents/agent-server-hooks.md +1 -1
  36. package/content/agents/agentchat.md +43 -7
  37. package/content/agents/agentconversations.md +42 -8
  38. package/content/agents/agents-introduction.md +107 -0
  39. package/content/callback-reference/auth0logoutcallback.md +54 -0
  40. package/content/concepts/ai-agent-docs.md +455 -106
  41. package/content/concepts/blocks.md +150 -0
  42. package/content/concepts/connections-and-requests.md +402 -0
  43. package/content/concepts/custom-html.md +42 -0
  44. package/content/concepts/custom-styling.md +50 -5
  45. package/content/concepts/dynamic-page-content.md +309 -0
  46. package/content/concepts/events-and-actions.md +154 -2
  47. package/content/concepts/four-primitives.md +31 -0
  48. package/content/concepts/html-attributes.md +293 -0
  49. package/content/concepts/i18n.md +8 -3
  50. package/content/concepts/keyboard-shortcuts.md +2 -2
  51. package/content/concepts/layout-overview.md +1 -1
  52. package/content/concepts/logger.md +99 -0
  53. package/content/concepts/lowdefy-api.md +1319 -0
  54. package/content/concepts/lowdefy-schema.md +136 -3
  55. package/content/concepts/menus.md +8 -7
  56. package/content/concepts/module-authoring.md +76 -5
  57. package/content/concepts/modules.md +3 -1
  58. package/content/concepts/notifications.md +180 -0
  59. package/content/concepts/operators.md +7 -0
  60. package/content/concepts/page-and-app-state.md +252 -0
  61. package/content/concepts/page-paths.md +209 -0
  62. package/content/concepts/theming.md +582 -0
  63. package/content/connections/aigateway.md +375 -0
  64. package/content/connections/anthropic.md +169 -2
  65. package/content/connections/awss3.md +178 -2
  66. package/content/connections/axioshttp.md +181 -0
  67. package/content/connections/google.md +169 -2
  68. package/content/connections/mongodb.md +1014 -3
  69. package/content/connections/openai-connection.md +169 -2
  70. package/content/connections/sendgridmail.md +2 -0
  71. package/content/connections/smtp.md +3 -1
  72. package/content/connections/treg.md +329 -0
  73. package/content/container-blocks/affix.md +47 -7
  74. package/content/container-blocks/alert.md +76 -24
  75. package/content/container-blocks/badge.md +100 -24
  76. package/content/container-blocks/box.md +9 -9
  77. package/content/container-blocks/card.md +132 -27
  78. package/content/container-blocks/carousel.md +60 -7
  79. package/content/container-blocks/collapse.md +153 -9
  80. package/content/container-blocks/configprovider.md +35 -13
  81. package/content/container-blocks/confirmmodal.md +69 -23
  82. package/content/container-blocks/content.md +62 -98
  83. package/content/container-blocks/descriptions.md +45 -4
  84. package/content/container-blocks/drawer.md +139 -28
  85. package/content/container-blocks/dropdownmenu.md +119 -31
  86. package/content/container-blocks/flex.md +40 -62
  87. package/content/container-blocks/footer.md +15 -11
  88. package/content/container-blocks/googlemapsheatmap.md +1 -1
  89. package/content/container-blocks/googlemapsscript.md +2 -2
  90. package/content/container-blocks/header.md +71 -36
  91. package/content/container-blocks/label.md +34 -7
  92. package/content/container-blocks/layout.md +52 -34
  93. package/content/container-blocks/masonry.md +17 -71
  94. package/content/container-blocks/mobilemenu.md +131 -88
  95. package/content/container-blocks/modal.md +161 -26
  96. package/content/container-blocks/pageheadermenu.md +138 -31
  97. package/content/container-blocks/pagesidebarlayout.md +230 -27
  98. package/content/container-blocks/pagesidermenu.md +153 -43
  99. package/content/container-blocks/popover.md +34 -31
  100. package/content/container-blocks/result.md +32 -21
  101. package/content/container-blocks/sider.md +85 -122
  102. package/content/container-blocks/span.md +7 -7
  103. package/content/container-blocks/spinner.md +3 -3
  104. package/content/container-blocks/splitter.md +150 -68
  105. package/content/container-blocks/tabs.md +64 -12
  106. package/content/container-blocks/tooltip.md +22 -46
  107. package/content/container-blocks/watermark.md +22 -4
  108. package/content/controls/parallel_for.md +21 -2
  109. package/content/controls/reject.md +24 -3
  110. package/content/controls/return.md +17 -1
  111. package/content/controls/throw.md +1 -0
  112. package/content/controls/try.md +4 -2
  113. package/content/controls/while.md +46 -0
  114. package/content/deployment/deployment-environments.md +10 -7
  115. package/content/deployment/docker.md +22 -7
  116. package/content/deployment/node-server.md +4 -0
  117. package/content/deployment/vercel.md +17 -6
  118. package/content/display-blocks/aggrid.md +33 -16
  119. package/content/display-blocks/anchor.md +16 -15
  120. package/content/display-blocks/avatar.md +57 -37
  121. package/content/display-blocks/breadcrumb.md +70 -21
  122. package/content/display-blocks/button.md +93 -19
  123. package/content/display-blocks/calendar.md +12 -0
  124. package/content/display-blocks/clickablehtml.md +239 -0
  125. package/content/display-blocks/dangeroushtml.md +1 -1
  126. package/content/display-blocks/difflist.md +1 -1
  127. package/content/display-blocks/difftimeline.md +1 -1
  128. package/content/display-blocks/divider.md +64 -3
  129. package/content/display-blocks/dropdownbutton.md +81 -30
  130. package/content/display-blocks/echart.md +35 -1
  131. package/content/display-blocks/eventlog.md +363 -0
  132. package/content/display-blocks/floatbutton.md +129 -42
  133. package/content/display-blocks/html.md +61 -1
  134. package/content/display-blocks/icon.md +250 -67
  135. package/content/display-blocks/img.md +2 -2
  136. package/content/display-blocks/menu.md +146 -73
  137. package/content/display-blocks/message.md +38 -124
  138. package/content/display-blocks/notification.md +94 -222
  139. package/content/display-blocks/paragraph.md +59 -9
  140. package/content/display-blocks/pollingtimer.md +263 -0
  141. package/content/display-blocks/progress.md +96 -17
  142. package/content/display-blocks/qrcode.md +19 -4
  143. package/content/display-blocks/s3download.md +1 -1
  144. package/content/display-blocks/search.md +19 -9
  145. package/content/display-blocks/skeletonbutton.md +1 -0
  146. package/content/display-blocks/skeletoninput.md +1 -0
  147. package/content/display-blocks/statistic.md +75 -17
  148. package/content/display-blocks/steps.md +58 -25
  149. package/content/display-blocks/table.md +2527 -0
  150. package/content/display-blocks/tablelight.md +621 -0
  151. package/content/display-blocks/tag.md +102 -17
  152. package/content/display-blocks/title.md +50 -11
  153. package/content/display-blocks/tour.md +33 -23
  154. package/content/input-blocks/autocomplete.md +81 -9
  155. package/content/input-blocks/buttonselector.md +45 -8
  156. package/content/input-blocks/captcha.md +40 -0
  157. package/content/input-blocks/checkboxselector.md +97 -7
  158. package/content/input-blocks/checkboxswitch.md +33 -3
  159. package/content/input-blocks/colorselector.md +63 -14
  160. package/content/input-blocks/daterangeselector.md +165 -45
  161. package/content/input-blocks/dateselector.md +139 -41
  162. package/content/input-blocks/datetimeselector.md +158 -49
  163. package/content/input-blocks/inputgallery.md +3 -3
  164. package/content/input-blocks/intentinput.md +207 -0
  165. package/content/input-blocks/monthselector.md +120 -52
  166. package/content/input-blocks/multipleselector.md +150 -39
  167. package/content/input-blocks/numberinput.md +98 -12
  168. package/content/input-blocks/pagination.md +70 -14
  169. package/content/input-blocks/paragraphinput.md +51 -37
  170. package/content/input-blocks/passwordinput.md +60 -6
  171. package/content/input-blocks/phonenumberinput.md +59 -26
  172. package/content/input-blocks/placesautocomplete.md +319 -0
  173. package/content/input-blocks/radioselector.md +83 -7
  174. package/content/input-blocks/ratingslider.md +57 -26
  175. package/content/input-blocks/s3uploadbutton.md +24 -24
  176. package/content/input-blocks/s3uploaddragger.md +3 -3
  177. package/content/input-blocks/s3uploadphoto.md +5 -5
  178. package/content/input-blocks/segmentedselector.md +72 -32
  179. package/content/input-blocks/selector.md +109 -21
  180. package/content/input-blocks/switch.md +65 -17
  181. package/content/input-blocks/tableinput.md +445 -0
  182. package/content/input-blocks/tagmultipleselector.md +114 -0
  183. package/content/input-blocks/tagselector.md +114 -0
  184. package/content/input-blocks/textarea.md +32 -3
  185. package/content/input-blocks/textinput.md +70 -29
  186. package/content/input-blocks/tiptapinput.md +1 -1
  187. package/content/input-blocks/tiptapmentioninput.md +2 -2
  188. package/content/input-blocks/titleinput.md +39 -12
  189. package/content/input-blocks/treeinput.md +49 -25
  190. package/content/input-blocks/treemultipleselector.md +127 -10
  191. package/content/input-blocks/treeselector.md +97 -9
  192. package/content/input-blocks/upload.md +64 -15
  193. package/content/input-blocks/uploaddragger.md +17 -1
  194. package/content/input-blocks/uploadphoto.md +18 -1
  195. package/content/input-blocks/weekselector.md +120 -55
  196. package/content/learn/introduction.md +27 -0
  197. package/content/learn/quickstart.md +53 -0
  198. package/content/learn/showcase.md +8 -0
  199. package/content/list-blocks/controlledlist.md +24 -15
  200. package/content/list-blocks/list.md +11 -11
  201. package/content/list-blocks/masonrylist.md +7 -34
  202. package/content/migration/auth-upgrade.md +337 -0
  203. package/content/migration/upgrade-guide.md +1 -0
  204. package/content/migration/v3-to-v4.md +417 -0
  205. package/content/migration/v6-to-v7.md +620 -0
  206. package/content/operators/_agent.md +155 -0
  207. package/content/operators/_app.md +2 -1
  208. package/content/operators/_array.md +122 -1
  209. package/content/operators/_build.md +1 -0
  210. package/content/operators/_credential.md +57 -0
  211. package/content/operators/_cron.md +292 -0
  212. package/content/operators/_date.md +2 -0
  213. package/content/operators/_error.md +24 -1
  214. package/content/operators/_get.md +6 -6
  215. package/content/operators/_hmac.md +78 -0
  216. package/content/operators/_js.md +2 -1
  217. package/content/operators/_location.md +1 -1
  218. package/content/operators/_media.md +13 -0
  219. package/content/operators/_module.md +56 -2
  220. package/content/operators/_operator.md +17 -3
  221. package/content/operators/_path_params.md +82 -0
  222. package/content/operators/_ref.md +258 -0
  223. package/content/operators/_request.md +1 -1
  224. package/content/operators/_request_details.md +6 -0
  225. package/content/operators/_type.md +14 -3
  226. package/content/operators/_url_query.md +2 -0
  227. package/content/operators/_user.md +3 -3
  228. package/content/plugins/plugins-actions.md +10 -0
  229. package/content/plugins/plugins-connections.md +25 -0
  230. package/content/plugins/plugins-dev.md +66 -0
  231. package/content/plugins/plugins-icon-sets.md +267 -0
  232. package/content/plugins/plugins-introduction.md +27 -1
  233. package/content/plugins/plugins.md +19 -0
  234. package/content/plugins/posthog.md +359 -0
  235. package/content/provider-reference/auth-js-providers.md +107 -0
  236. package/content/provider-reference/openidconnectprovider.md +44 -0
  237. package/content/recipes/recipes.md +16 -0
  238. package/content/reference/actions-reference.md +31 -0
  239. package/content/reference/blocks-reference.md +35 -0
  240. package/content/reference/cli.md +403 -0
  241. package/content/reference/connections-reference.md +23 -0
  242. package/content/reference/operators-reference.md +47 -0
  243. package/content/reference/reference.md +16 -0
  244. package/content/reference/schema-reference.md +12 -0
  245. package/content/testing/config-tests.md +677 -0
  246. package/content/testing/e2e-configuration.md +31 -1
  247. package/content/testing/e2e-getting-started.md +1 -1
  248. package/content/testing/e2e-introduction.md +1 -1
  249. package/content/testing/e2e-writing-tests.md +12 -1
  250. package/content/testing/explore-pull-request.md +136 -0
  251. package/content/testing/journey-data-sets.md +326 -0
  252. package/content/tutorial/tutorial-actions-operators.md +2 -2
  253. package/content/tutorial/tutorial-add-blocks.md +2 -2
  254. package/content/tutorial/tutorial-create-page.md +48 -2
  255. package/content/tutorial/tutorial-display-data-page.md +3 -3
  256. package/content/tutorial/tutorial-requests-api.md +155 -0
  257. package/content/tutorial/tutorial-requests-sql.md +153 -0
  258. package/content/tutorial/tutorial-start.md +66 -1
  259. package/content/user-authentication/auth-configuration.md +267 -0
  260. package/content/user-authentication/auth-providers.md +24 -0
  261. package/content/user-authentication/auth-steps.md +141 -0
  262. package/content/user-authentication/login-and-logout.md +160 -8
  263. package/content/user-authentication/mcp-oauth.md +424 -0
  264. package/content/user-authentication/organizations.md +246 -0
  265. package/content/user-authentication/protected-pages-apis.md +97 -0
  266. package/content/user-authentication/roles.md +49 -0
  267. package/content/user-authentication/two-factor.md +229 -0
  268. package/content/user-authentication/user-object.md +58 -0
  269. package/content/user-authentication/users-introduction.md +8 -0
  270. package/content/websockets/websocket-publish.md +105 -0
  271. package/content/websockets/websocket-subscriptions.md +136 -0
  272. package/content/websockets/websockets-introduction.md +101 -0
  273. package/hazards.json +56 -0
  274. package/index.json +3458 -14
  275. package/package.json +10 -1
  276. package/scripts/extractAgentDocs.js +41 -30
  277. package/scripts/hashDocSources.js +38 -0
  278. package/scripts/isRedirectPage.js +26 -0
  279. package/scripts/recordSourceHashes.js +97 -0
  280. package/scripts/resolvePageSections.js +42 -0
  281. package/scripts/sectionKind.js +27 -0
  282. package/content/concepts/cli.md +0 -223
  283. package/content/other/introduction.md +0 -39
  284. package/content/other/next-auth-providers.md +0 -3
  285. /package/content/{other → actions}/updatesession.md +0 -0
@@ -24,6 +24,14 @@ 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
27
35
  theme:
28
36
  _state: float_props.theme
29
37
  events:
@@ -41,7 +49,7 @@ Floating action button with tooltip, badge, and icon.
41
49
  title: Default
42
50
  color: default
43
51
  variant: outlined
44
- icon: AiOutlineQuestionCircle
52
+ icon: help
45
53
  events:
46
54
  onClick:
47
55
  - id: set_type_default
@@ -50,7 +58,7 @@ Floating action button with tooltip, badge, and icon.
50
58
  float_active: true
51
59
  float_props:
52
60
  type: default
53
- icon: AiOutlineQuestionCircle
61
+ icon: help
54
62
  tooltip: Default type
55
63
  - id: btn_type_primary
56
64
  type: Button
@@ -60,7 +68,7 @@ Floating action button with tooltip, badge, and icon.
60
68
  title: Primary
61
69
  color: primary
62
70
  variant: outlined
63
- icon: AiOutlineQuestionCircle
71
+ icon: help
64
72
  events:
65
73
  onClick:
66
74
  - id: set_type_primary
@@ -69,7 +77,7 @@ Floating action button with tooltip, badge, and icon.
69
77
  float_active: true
70
78
  float_props:
71
79
  type: primary
72
- icon: AiOutlineQuestionCircle
80
+ icon: help
73
81
  tooltip: Primary type
74
82
  - id: btn_type_support
75
83
  type: Button
@@ -79,7 +87,7 @@ Floating action button with tooltip, badge, and icon.
79
87
  title: Support
80
88
  color: primary
81
89
  variant: outlined
82
- icon: AiOutlineCustomerService
90
+ icon: Headset
83
91
  events:
84
92
  onClick:
85
93
  - id: set_type_support
@@ -88,7 +96,7 @@ Floating action button with tooltip, badge, and icon.
88
96
  float_active: true
89
97
  float_props:
90
98
  type: primary
91
- icon: AiOutlineCustomerService
99
+ icon: Headset
92
100
  tooltip: Contact support
93
101
  ```
94
102
 
@@ -109,7 +117,7 @@ Floating action button with tooltip, badge, and icon.
109
117
  float_active: true
110
118
  float_props:
111
119
  shape: circle
112
- icon: AiOutlinePlus
120
+ icon: add
113
121
  tooltip: Circle (default)
114
122
  - id: btn_shape_square
115
123
  type: Button
@@ -127,7 +135,7 @@ Floating action button with tooltip, badge, and icon.
127
135
  float_active: true
128
136
  float_props:
129
137
  shape: square
130
- icon: AiOutlineSetting
138
+ icon: settings
131
139
  tooltip: Square shape
132
140
  - id: btn_shape_square_primary
133
141
  type: Button
@@ -146,7 +154,7 @@ Floating action button with tooltip, badge, and icon.
146
154
  float_props:
147
155
  shape: square
148
156
  type: primary
149
- icon: AiOutlineEdit
157
+ icon: edit
150
158
  tooltip: Square primary
151
159
  ```
152
160
 
@@ -159,7 +167,7 @@ Floating action button with tooltip, badge, and icon.
159
167
  title: String
160
168
  color: default
161
169
  variant: outlined
162
- icon: AiOutlineQuestionCircle
170
+ icon: help
163
171
  events:
164
172
  onClick:
165
173
  - id: set_icon_string
@@ -167,7 +175,7 @@ Floating action button with tooltip, badge, and icon.
167
175
  params:
168
176
  float_active: true
169
177
  float_props:
170
- icon: AiOutlineQuestionCircle
178
+ icon: help
171
179
  tooltip: String icon
172
180
  - id: btn_icon_object
173
181
  type: Button
@@ -177,7 +185,7 @@ Floating action button with tooltip, badge, and icon.
177
185
  title: Object
178
186
  color: default
179
187
  variant: outlined
180
- icon: AiOutlineRocket
188
+ icon: Rocket
181
189
  events:
182
190
  onClick:
183
191
  - id: set_icon_object
@@ -186,7 +194,7 @@ Floating action button with tooltip, badge, and icon.
186
194
  float_active: true
187
195
  float_props:
188
196
  icon:
189
- name: AiOutlineRocket
197
+ name: Rocket
190
198
  tooltip: Object icon
191
199
  - id: btn_icon_colored
192
200
  type: Button
@@ -196,7 +204,7 @@ Floating action button with tooltip, badge, and icon.
196
204
  title: Colored
197
205
  color: default
198
206
  variant: outlined
199
- icon: AiOutlineHeart
207
+ icon: heart
200
208
  events:
201
209
  onClick:
202
210
  - id: set_icon_colored
@@ -205,7 +213,7 @@ Floating action button with tooltip, badge, and icon.
205
213
  float_active: true
206
214
  float_props:
207
215
  icon:
208
- name: AiOutlineHeart
216
+ name: heart
209
217
  color: "#eb2f96"
210
218
  tooltip: Colored icon
211
219
  ```
@@ -226,7 +234,7 @@ Floating action button with tooltip, badge, and icon.
226
234
  params:
227
235
  float_active: true
228
236
  float_props:
229
- icon: AiOutlineQuestionCircle
237
+ icon: help
230
238
  tooltip: Help
231
239
  - id: btn_tooltip_long
232
240
  type: Button
@@ -243,7 +251,7 @@ Floating action button with tooltip, badge, and icon.
243
251
  params:
244
252
  float_active: true
245
253
  float_props:
246
- icon: AiOutlineCustomerService
254
+ icon: Headset
247
255
  tooltip: Click here to get help from our support team
248
256
  ```
249
257
 
@@ -256,7 +264,7 @@ Floating action button with tooltip, badge, and icon.
256
264
  title: With Icon
257
265
  color: primary
258
266
  variant: outlined
259
- icon: AiOutlineQuestionCircle
267
+ icon: help
260
268
  events:
261
269
  onClick:
262
270
  - id: set_desc_icon
@@ -266,7 +274,7 @@ Floating action button with tooltip, badge, and icon.
266
274
  float_props:
267
275
  shape: square
268
276
  type: primary
269
- icon: AiOutlineQuestionCircle
277
+ icon: help
270
278
  description: Help
271
279
  - id: btn_desc_docs
272
280
  type: Button
@@ -276,7 +284,7 @@ Floating action button with tooltip, badge, and icon.
276
284
  title: Docs
277
285
  color: primary
278
286
  variant: outlined
279
- icon: AiOutlineFileText
287
+ icon: document
280
288
  events:
281
289
  onClick:
282
290
  - id: set_desc_docs
@@ -286,7 +294,7 @@ Floating action button with tooltip, badge, and icon.
286
294
  float_props:
287
295
  shape: square
288
296
  type: primary
289
- icon: AiOutlineFileText
297
+ icon: document
290
298
  description: Docs
291
299
  - id: btn_desc_text
292
300
  type: Button
@@ -317,7 +325,7 @@ Floating action button with tooltip, badge, and icon.
317
325
  title: Count
318
326
  color: default
319
327
  variant: outlined
320
- icon: AiOutlineBell
328
+ icon: bell
321
329
  events:
322
330
  onClick:
323
331
  - id: set_badge_count
@@ -325,7 +333,7 @@ Floating action button with tooltip, badge, and icon.
325
333
  params:
326
334
  float_active: true
327
335
  float_props:
328
- icon: AiOutlineBell
336
+ icon: bell
329
337
  tooltip: Notifications
330
338
  badge:
331
339
  count: 5
@@ -337,7 +345,7 @@ Floating action button with tooltip, badge, and icon.
337
345
  title: Dot
338
346
  color: default
339
347
  variant: outlined
340
- icon: AiOutlineMail
348
+ icon: mail
341
349
  events:
342
350
  onClick:
343
351
  - id: set_badge_dot
@@ -345,7 +353,7 @@ Floating action button with tooltip, badge, and icon.
345
353
  params:
346
354
  float_active: true
347
355
  float_props:
348
- icon: AiOutlineMail
356
+ icon: mail
349
357
  tooltip: Messages
350
358
  badge:
351
359
  dot: true
@@ -357,7 +365,7 @@ Floating action button with tooltip, badge, and icon.
357
365
  title: Overflow
358
366
  color: default
359
367
  variant: outlined
360
- icon: AiOutlineInbox
368
+ icon: Inbox
361
369
  events:
362
370
  onClick:
363
371
  - id: set_badge_overflow
@@ -365,7 +373,7 @@ Floating action button with tooltip, badge, and icon.
365
373
  params:
366
374
  float_active: true
367
375
  float_props:
368
- icon: AiOutlineInbox
376
+ icon: Inbox
369
377
  tooltip: Inbox
370
378
  badge:
371
379
  count: 99
@@ -381,7 +389,7 @@ Floating action button with tooltip, badge, and icon.
381
389
  title: Link
382
390
  color: default
383
391
  variant: outlined
384
- icon: AiOutlineLink
392
+ icon: link
385
393
  events:
386
394
  onClick:
387
395
  - id: set_href_link
@@ -389,7 +397,7 @@ Floating action button with tooltip, badge, and icon.
389
397
  params:
390
398
  float_active: true
391
399
  float_props:
392
- icon: AiOutlineLink
400
+ icon: link
393
401
  tooltip: Open Lowdefy (new tab)
394
402
  href: https://lowdefy.com
395
403
  target: _blank
@@ -401,7 +409,7 @@ Floating action button with tooltip, badge, and icon.
401
409
  title: Docs Link
402
410
  color: primary
403
411
  variant: outlined
404
- icon: AiOutlineFileText
412
+ icon: document
405
413
  events:
406
414
  onClick:
407
415
  - id: set_href_docs
@@ -410,12 +418,77 @@ Floating action button with tooltip, badge, and icon.
410
418
  float_active: true
411
419
  float_props:
412
420
  type: primary
413
- icon: AiOutlineFileText
421
+ icon: document
414
422
  tooltip: View documentation (new tab)
415
423
  href: https://docs.lowdefy.com
416
424
  target: _blank
417
425
  ```
418
426
 
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
+
419
492
  ```yaml
420
493
  - id: btn_theme_green
421
494
  type: Button
@@ -425,7 +498,7 @@ Floating action button with tooltip, badge, and icon.
425
498
  title: Green
426
499
  color: primary
427
500
  variant: outlined
428
- icon: AiOutlineCheck
501
+ icon: check
429
502
  events:
430
503
  onClick:
431
504
  - id: set_theme_green
@@ -434,7 +507,7 @@ Floating action button with tooltip, badge, and icon.
434
507
  float_active: true
435
508
  float_props:
436
509
  type: primary
437
- icon: AiOutlineCheck
510
+ icon: check
438
511
  tooltip: Green primary
439
512
  theme:
440
513
  colorPrimary: "#52c41a"
@@ -447,7 +520,7 @@ Floating action button with tooltip, badge, and icon.
447
520
  title: Dark
448
521
  color: default
449
522
  variant: outlined
450
- icon: AiOutlineSetting
523
+ icon: settings
451
524
  events:
452
525
  onClick:
453
526
  - id: set_theme_dark
@@ -455,7 +528,7 @@ Floating action button with tooltip, badge, and icon.
455
528
  params:
456
529
  float_active: true
457
530
  float_props:
458
- icon: AiOutlineSetting
531
+ icon: settings
459
532
  tooltip: Dark background
460
533
  theme:
461
534
  colorBgElevated: "#1f1f1f"
@@ -468,7 +541,7 @@ Floating action button with tooltip, badge, and icon.
468
541
  title: Large
469
542
  color: primary
470
543
  variant: outlined
471
- icon: AiOutlinePlus
544
+ icon: add
472
545
  events:
473
546
  onClick:
474
547
  - id: set_theme_large
@@ -477,7 +550,7 @@ Floating action button with tooltip, badge, and icon.
477
550
  float_active: true
478
551
  float_props:
479
552
  type: primary
480
- icon: AiOutlinePlus
553
+ icon: add
481
554
  tooltip: Large button
482
555
  theme:
483
556
  controlHeightLG: 56
@@ -490,7 +563,7 @@ Floating action button with tooltip, badge, and icon.
490
563
  title: Custom Badge
491
564
  color: default
492
565
  variant: outlined
493
- icon: AiOutlineBell
566
+ icon: bell
494
567
  events:
495
568
  onClick:
496
569
  - id: set_theme_badge
@@ -498,7 +571,7 @@ Floating action button with tooltip, badge, and icon.
498
571
  params:
499
572
  float_active: true
500
573
  float_props:
501
- icon: AiOutlineBell
574
+ icon: bell
502
575
  tooltip: Custom badge color
503
576
  badge:
504
577
  count: 3
@@ -511,10 +584,24 @@ Floating action button with tooltip, badge, and icon.
511
584
  | --- | --- | --- | --- |
512
585
  | `type` | string | `"default"` | Setting button type. Enum: `default`, `primary`. |
513
586
  | `shape` | string | `"circle"` | Setting button shape. Enum: `circle`, `square`. |
514
- | `description` | string | - | Text and other. |
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`. |
515
593
  | `tooltip` | string | - | The text shown in the tooltip. |
516
594
  | `icon` | string \| object | - | Icon for the button. |
517
- | `href` | string | - | The target of hyperlink. |
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`. |
518
605
  | `htmlType` | string | `"button"` | HTML button type. Enum: `button`, `submit`, `reset`. |
519
606
  | `target` | string | - | Specifies where to display the linked URL. |
520
607
  | `badge` | object | - | Badge configuration for the button. |
@@ -534,7 +621,7 @@ Floating action button with tooltip, badge, and icon.
534
621
 
535
622
  | Event | Event Data | Description |
536
623
  | --- | --- | --- |
537
- | `onClick` | \- | Trigger action when button is clicked. |
624
+ | `onClick` | \- | Trigger action when button is clicked. With `backTop`, fires after the page starts scrolling to the top. |
538
625
 
539
626
  | Key | Target |
540
627
  | --- | --- |
@@ -295,9 +295,69 @@ 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
+
298
358
  | Property | Type | Default | Description |
299
359
  | --- | --- | --- | --- |
300
- | `html` | string | - | Content to be rendered as Html. |
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); &lt;a data-page-id="page-id" data-url-query="key=value"> links to an app page without reloading (never hard-code href="/page"), with data-path-params='{"name":"value"}' (a JSON object) for a page whose path has placeholders; data-link opts an existing app-relative &lt;a href="/path"> 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); &lt;time datetime="ISO" data-time="relative"> 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 &lt;img>, 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. |
301
361
 
302
362
  | Event | Event Data | Description |
303
363
  | --- | --- | --- |