@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,651 @@
1
+ # PageSiderMenu
2
+
3
+ Page layout with a sidebar navigation menu.
4
+
5
+ Dashboard
6
+
7
+ ```yaml
8
+ - id: psm_basic
9
+ type: PageSiderMenu
10
+ properties:
11
+ sider:
12
+ width: 220
13
+ hideToggleButton: true
14
+ menu:
15
+ links:
16
+ - id: psm_basic_dash
17
+ type: MenuLink
18
+ properties:
19
+ title: Dashboard
20
+ icon: AiOutlineDashboard
21
+ - id: psm_basic_orders
22
+ type: MenuLink
23
+ properties:
24
+ title: Orders
25
+ icon: AiOutlineShoppingCart
26
+ - id: psm_basic_products
27
+ type: MenuLink
28
+ properties:
29
+ title: Products
30
+ icon: AiOutlineAppstore
31
+ - id: psm_basic_settings
32
+ type: MenuLink
33
+ properties:
34
+ title: Settings
35
+ icon: AiOutlineSetting
36
+ blocks:
37
+ - id: psm_basic_title
38
+ type: Title
39
+ properties:
40
+ content: Dashboard
41
+ level: 3
42
+ - id: psm_basic_stats
43
+ type: Box
44
+ layout:
45
+ gap: 16
46
+ blocks:
47
+ - id: psm_basic_stat_1
48
+ type: Card
49
+ layout:
50
+ flex: 1 1 0
51
+ properties:
52
+ size: small
53
+ blocks:
54
+ - id: psm_basic_stat_1_val
55
+ type: Statistic
56
+ properties:
57
+ title: Orders Today
58
+ value: 128
59
+ - id: psm_basic_stat_2
60
+ type: Card
61
+ layout:
62
+ flex: 1 1 0
63
+ properties:
64
+ size: small
65
+ blocks:
66
+ - id: psm_basic_stat_2_val
67
+ type: Statistic
68
+ properties:
69
+ title: Revenue
70
+ value: 4820
71
+ prefix: $
72
+ ```
73
+
74
+ Website Redesign
75
+
76
+ Breadcrumb items support both simple strings and objects with label, icon, pageId, and url properties. Toggle dark mode to see the layout adapt automatically.
77
+
78
+ > 3 tasks due this week
79
+
80
+ ```yaml
81
+ - id: psm_light
82
+ type: PageSiderMenu
83
+ properties:
84
+ darkModeToggle: true
85
+ sider:
86
+ width: 230
87
+ hideToggleButton: true
88
+ breadcrumb:
89
+ list:
90
+ - label: Home
91
+ icon: AiOutlineHome
92
+ - label: Projects
93
+ - label: Website Redesign
94
+ menu:
95
+ links:
96
+ - id: psm_light_overview
97
+ type: MenuLink
98
+ properties:
99
+ title: Overview
100
+ icon: AiOutlineProject
101
+ - id: psm_light_tasks
102
+ type: MenuLink
103
+ properties:
104
+ title: Tasks
105
+ icon: AiOutlineCheckSquare
106
+ - id: psm_light_files
107
+ type: MenuLink
108
+ properties:
109
+ title: Files
110
+ icon: AiOutlineFile
111
+ - id: psm_light_team
112
+ type: MenuLink
113
+ properties:
114
+ title: Team
115
+ icon: AiOutlineTeam
116
+ blocks:
117
+ - id: psm_light_title
118
+ type: Title
119
+ properties:
120
+ content: Website Redesign
121
+ level: 3
122
+ - id: psm_light_desc
123
+ type: Paragraph
124
+ properties:
125
+ content: Breadcrumb items support both simple strings and objects with label,
126
+ icon, pageId, and url properties. Toggle dark mode to see the layout
127
+ adapt automatically.
128
+ - id: psm_light_alert
129
+ type: Alert
130
+ properties:
131
+ message: 3 tasks due this week
132
+ type: warning
133
+ showIcon: true
134
+ ```
135
+
136
+ All Users
137
+
138
+ Jane Cooper
139
+
140
+ Tom Wilson
141
+
142
+ ```yaml
143
+ - id: psm_groups
144
+ type: PageSiderMenu
145
+ properties:
146
+ sider:
147
+ width: 240
148
+ hideToggleButton: false
149
+ menu:
150
+ links:
151
+ - id: psm_grp_dash
152
+ type: MenuLink
153
+ properties:
154
+ title: Dashboard
155
+ icon: AiOutlineDashboard
156
+ - id: psm_grp_users_group
157
+ type: MenuGroup
158
+ properties:
159
+ title: User Management
160
+ icon: AiOutlineTeam
161
+ links:
162
+ - id: psm_grp_all_users
163
+ type: MenuLink
164
+ properties:
165
+ title: All Users
166
+ - id: psm_grp_roles
167
+ type: MenuLink
168
+ properties:
169
+ title: Roles & Permissions
170
+ - id: psm_grp_content_group
171
+ type: MenuGroup
172
+ properties:
173
+ title: Content
174
+ icon: AiOutlineEdit
175
+ links:
176
+ - id: psm_grp_articles
177
+ type: MenuLink
178
+ properties:
179
+ title: Articles
180
+ - id: psm_grp_categories
181
+ type: MenuLink
182
+ properties:
183
+ title: Categories
184
+ - id: psm_grp_settings
185
+ type: MenuLink
186
+ properties:
187
+ title: Settings
188
+ icon: AiOutlineSetting
189
+ blocks:
190
+ - id: psm_grp_title
191
+ type: Title
192
+ properties:
193
+ content: All Users
194
+ level: 3
195
+ - id: psm_grp_card
196
+ type: Card
197
+ properties:
198
+ title: User List
199
+ blocks:
200
+ - id: psm_grp_user_1
201
+ type: Box
202
+ layout:
203
+ gap: 8
204
+ align: center
205
+ style:
206
+ padding: 8px 0
207
+ borderBottom: 1px solid var(--ant-color-border)
208
+ blocks:
209
+ - id: psm_grp_avatar_1
210
+ type: Avatar
211
+ layout:
212
+ flex: 0 0 auto
213
+ properties:
214
+ size: small
215
+ color: "#fff"
216
+ backgroundColor: "#1677ff"
217
+ icon: AiOutlineUser
218
+ - id: psm_grp_name_1
219
+ type: Paragraph
220
+ layout:
221
+ flex: 1 1 0
222
+ properties:
223
+ content: Jane Cooper
224
+ style:
225
+ margin: 0
226
+ - id: psm_grp_tag_1
227
+ type: Tag
228
+ layout:
229
+ flex: 0 0 auto
230
+ properties:
231
+ title: Admin
232
+ color: blue
233
+ - id: psm_grp_user_2
234
+ type: Box
235
+ layout:
236
+ gap: 8
237
+ align: center
238
+ style:
239
+ padding: 8px 0
240
+ blocks:
241
+ - id: psm_grp_avatar_2
242
+ type: Avatar
243
+ layout:
244
+ flex: 0 0 auto
245
+ properties:
246
+ size: small
247
+ color: "#fff"
248
+ backgroundColor: "#52c41a"
249
+ icon: AiOutlineUser
250
+ - id: psm_grp_name_2
251
+ type: Paragraph
252
+ layout:
253
+ flex: 1 1 0
254
+ properties:
255
+ content: Tom Wilson
256
+ style:
257
+ margin: 0
258
+ - id: psm_grp_tag_2
259
+ type: Tag
260
+ layout:
261
+ flex: 0 0 auto
262
+ properties:
263
+ title: Editor
264
+ color: green
265
+ ```
266
+
267
+ Admin Dashboard
268
+
269
+ ```yaml
270
+ - id: psm_profile
271
+ type: PageSiderMenu
272
+ properties:
273
+ darkModeToggle: true
274
+ sider:
275
+ width: 220
276
+ hideToggleButton: true
277
+ notifications:
278
+ count: 5
279
+ profile:
280
+ avatar:
281
+ content: JC
282
+ color: "#1677ff"
283
+ links:
284
+ - id: psm_prof_my_profile
285
+ type: MenuLink
286
+ properties:
287
+ title: My Profile
288
+ icon: AiOutlineUser
289
+ - id: psm_prof_settings
290
+ type: MenuLink
291
+ properties:
292
+ title: Account Settings
293
+ icon: AiOutlineSetting
294
+ - id: psm_prof_divider
295
+ type: MenuDivider
296
+ - id: psm_prof_logout
297
+ type: MenuLink
298
+ properties:
299
+ title: Sign Out
300
+ icon: AiOutlineLogout
301
+ danger: true
302
+ menu:
303
+ links:
304
+ - id: psm_prof_dash
305
+ type: MenuLink
306
+ properties:
307
+ title: Dashboard
308
+ icon: AiOutlineDashboard
309
+ - id: psm_prof_users
310
+ type: MenuLink
311
+ properties:
312
+ title: Users
313
+ icon: AiOutlineTeam
314
+ - id: psm_prof_reports
315
+ type: MenuLink
316
+ properties:
317
+ title: Reports
318
+ icon: AiOutlineBarChart
319
+ blocks:
320
+ - id: psm_prof_title
321
+ type: Title
322
+ properties:
323
+ content: Admin Dashboard
324
+ level: 3
325
+ - id: psm_prof_stats
326
+ type: Box
327
+ layout:
328
+ gap: 16
329
+ blocks:
330
+ - id: psm_prof_stat_1
331
+ type: Card
332
+ layout:
333
+ flex: 1 1 0
334
+ properties:
335
+ size: small
336
+ blocks:
337
+ - id: psm_prof_stat_1_val
338
+ type: Statistic
339
+ properties:
340
+ title: Active Users
341
+ value: 1284
342
+ - id: psm_prof_stat_2
343
+ type: Card
344
+ layout:
345
+ flex: 1 1 0
346
+ properties:
347
+ size: small
348
+ blocks:
349
+ - id: psm_prof_stat_2_val
350
+ type: Statistic
351
+ properties:
352
+ title: Pending Requests
353
+ value: 23
354
+ ```
355
+
356
+ Dashboard Overview
357
+
358
+ Sprint Progress
359
+
360
+ ```yaml
361
+ - id: psm_full
362
+ type: PageSiderMenu
363
+ properties:
364
+ darkModeToggle: true
365
+ sider:
366
+ width: 240
367
+ hideToggleButton: true
368
+ notifications:
369
+ dot: true
370
+ profile:
371
+ avatar:
372
+ icon: AiOutlineUser
373
+ color: "#1677ff"
374
+ breadcrumb:
375
+ separator: /
376
+ list:
377
+ - Admin
378
+ - Dashboard
379
+ menu:
380
+ links:
381
+ - id: psm_full_dash
382
+ type: MenuLink
383
+ properties:
384
+ title: Dashboard
385
+ icon: AiOutlineDashboard
386
+ - id: psm_full_analytics
387
+ type: MenuLink
388
+ properties:
389
+ title: Analytics
390
+ icon: AiOutlineBarChart
391
+ - id: psm_full_settings
392
+ type: MenuLink
393
+ properties:
394
+ title: Settings
395
+ icon: AiOutlineSetting
396
+ slots:
397
+ sider:
398
+ blocks:
399
+ - id: psm_full_sider_box
400
+ type: Box
401
+ style:
402
+ padding: 12px
403
+ blocks:
404
+ - id: psm_full_progress_label
405
+ type: Paragraph
406
+ properties:
407
+ content: Sprint Progress
408
+ style:
409
+ margin: 0 0 8px 0
410
+ fontSize: 12
411
+ color: "#999"
412
+ - id: psm_full_progress
413
+ type: Progress
414
+ properties:
415
+ percent: 68
416
+ size: small
417
+ footer:
418
+ blocks:
419
+ - id: psm_full_footer_text
420
+ type: Paragraph
421
+ properties:
422
+ content: Admin Panel v2.4.1
423
+ style:
424
+ textAlign: center
425
+ margin: 0
426
+ color: "#999"
427
+ fontSize: 12
428
+ blocks:
429
+ - id: psm_full_title
430
+ type: Title
431
+ properties:
432
+ content: Dashboard Overview
433
+ level: 3
434
+ - id: psm_full_stats_row
435
+ type: Box
436
+ layout:
437
+ gap: 16
438
+ blocks:
439
+ - id: psm_full_stat_users
440
+ type: Card
441
+ layout:
442
+ flex: 1 1 0
443
+ properties:
444
+ size: small
445
+ blocks:
446
+ - id: psm_full_stat_users_val
447
+ type: Statistic
448
+ properties:
449
+ title: Total Users
450
+ value: 2847
451
+ prefixIcon: AiOutlineUser
452
+ - id: psm_full_stat_revenue
453
+ type: Card
454
+ layout:
455
+ flex: 1 1 0
456
+ properties:
457
+ size: small
458
+ blocks:
459
+ - id: psm_full_stat_revenue_val
460
+ type: Statistic
461
+ properties:
462
+ title: Revenue
463
+ value: 58420
464
+ prefix: $
465
+ - id: psm_full_stat_orders
466
+ type: Card
467
+ layout:
468
+ flex: 1 1 0
469
+ properties:
470
+ size: small
471
+ blocks:
472
+ - id: psm_full_stat_orders_val
473
+ type: Statistic
474
+ properties:
475
+ title: Orders
476
+ value: 384
477
+ ```
478
+
479
+ Profile from _menu
480
+
481
+ > The profile dropdown links are populated using _menu operator, pulling from the menus defined in lowdefy.yaml. Click the avatar to see the dropdown.
482
+
483
+ ```yaml
484
+ - id: psm_menu_op
485
+ type: PageSiderMenu
486
+ properties:
487
+ darkModeToggle: true
488
+ sider:
489
+ width: 220
490
+ hideToggleButton: true
491
+ notifications:
492
+ count: 4
493
+ link:
494
+ pageId: home
495
+ profile:
496
+ avatar:
497
+ content: JC
498
+ color: "#6366f1"
499
+ links:
500
+ _menu: default
501
+ menu:
502
+ links:
503
+ - id: psm_mo_dash
504
+ type: MenuLink
505
+ properties:
506
+ title: Dashboard
507
+ icon: AiOutlineDashboard
508
+ - id: psm_mo_users
509
+ type: MenuLink
510
+ properties:
511
+ title: Users
512
+ icon: AiOutlineTeam
513
+ blocks:
514
+ - id: psm_mo_title
515
+ type: Title
516
+ properties:
517
+ content: Profile from _menu
518
+ level: 3
519
+ - id: psm_mo_info
520
+ type: Alert
521
+ properties:
522
+ message: The profile dropdown links are populated using _menu operator, pulling
523
+ from the menus defined in lowdefy.yaml. Click the avatar to see the
524
+ dropdown.
525
+ type: info
526
+ showIcon: true
527
+ ```
528
+
529
+ | Property | Type | Default | Description |
530
+ | --- | --- | --- | --- |
531
+ | `logo` | object | - | Header logo settings. By default, images are served from the app public folder and auto-swap between light and dark variants based on dark mode. See [Hosting Files](/hosting-files) for details. |
532
+ | `logo.src` | string | - | Logo image URL for desktop. Defaults to logo-light-theme.png or logo-dark-theme.png from the public folder (~250x72px), auto-selected based on dark mode. |
533
+ | `logo.srcMobile` | string | - | Logo image URL for mobile. Defaults to logo-square-light-theme.png or logo-square-dark-theme.png from the public folder (~125x125px), auto-selected based on dark mode. |
534
+ | `logo.breakpoint` | number | - | Viewport width breakpoint (in px) for switching between mobile and desktop logo. Default is 577. |
535
+ | `logo.alt` | string | `"Lowdefy"` | Logo image alt text. |
536
+ | `header` | object | - | Header properties. |
537
+ | `sider` | object | - | Sider properties. |
538
+ | `sider.breakpoint` | string | `"sm"` | Breakpoint of the responsive layout. Enum: `xs`, `sm`, `md`, `lg`, `xl`. |
539
+ | `sider.collapsedWidth` | integer | - | Width of the collapsed sidebar, by setting to 0 a special trigger will appear. |
540
+ | `sider.initialCollapsed` | boolean | `false` | Set the initial collapsed state. Used as the fallback when no persisted preference exists in localStorage. |
541
+ | `sider.reverseArrow` | boolean | `false` | Direction of arrow, for a sider that expands from the right. |
542
+ | `sider.width` | string \| number | - | Width of the sidebar. |
543
+ | `sider.hideToggleButton` | boolean | `false` | Hide toggle button in sider. |
544
+ | `siderStorageKey` | string | `"sider"` | localStorage key suffix for sider state persistence. Produces key 'lf-{siderStorageKey}-open'. |
545
+ | `toggleSiderButton` | object | - | Toggle sider button properties. |
546
+ | `footer` | object | - | Footer properties. |
547
+ | `content` | object | - | Content properties. |
548
+ | `breadcrumb` | object | - | Breadcrumb properties. |
549
+ | `breadcrumb.separator` | string | `"/"` | Use a custom separator string. |
550
+ | `breadcrumb.list` | array | - | List of breadcrumb links. |
551
+ | `breadcrumb.list.$.label` | string | - | Label of the breadcrumb link. |
552
+ | `breadcrumb.list.$.pageId` | string | - | Page id to link to when clicked. |
553
+ | `breadcrumb.list.$.url` | string | - | External url link. |
554
+ | `breadcrumb.list.$.style` | object | - | Css style to apply to link. |
555
+ | `breadcrumb.list.$.icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to use an icon in breadcrumb link. |
556
+ | `menu` | object | - | Menu properties. |
557
+ | `menu.links` | array | - | |
558
+ | `menu.links.$.id` | string | - | Menu item id. |
559
+ | `menu.links.$.pageId` | string | - | Page to link to. |
560
+ | `menu.links.$.properties` | object | - | properties from menu item. |
561
+ | `menu.links.$.properties.title` | string | - | Menu item title. |
562
+ | `menu.links.$.properties.icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon on menu item. |
563
+ | `menuLg` | object | - | Menu large screen properties. Overwrites menu properties on desktop screen sizes. |
564
+ | `menuMd` | object | - | Mobile menu properties. Overwrites menu properties on mobile screen sizes. |
565
+ | `notifications` | object | - | Notification bell icon with badge in the header. Renders when configured. Use the link property to navigate when clicked. |
566
+ | `notifications.link` | object | - | Link to navigate to when the notification bell is clicked. |
567
+ | `notifications.link.pageId` | string | - | Page to link to. |
568
+ | `notifications.link.url` | string | - | External URL to link to. |
569
+ | `notifications.link.newTab` | boolean | - | Open link in new tab. |
570
+ | `notifications.count` | number | - | Number to display on the badge. Set to 0 to hide the badge (unless showZero is true). |
571
+ | `notifications.dot` | boolean | `false` | Show a dot instead of a count number. |
572
+ | `notifications.showZero` | boolean | `false` | Show badge when count is zero. |
573
+ | `notifications.overflowCount` | number | `99` | Max count to show. Values above this display as "N+". |
574
+ | `notifications.color` | string | - | Badge color. |
575
+ | `notifications.icon` | string \| object | - | Icon for the notification button. Defaults to AiOutlineBell. |
576
+ | `notifications.size` | string | `"small"` | Size of the notification button. Enum: `small`, `default`, `large`. |
577
+ | `profile` | object | - | Profile avatar with optional dropdown menu in the header. Renders when configured. Use with the _user operator to populate from the authenticated user. |
578
+ | `profile.avatar` | object | - | Avatar display properties. |
579
+ | `profile.avatar.src` | string | - | Image URL for the avatar. Typically bound to _user: image. |
580
+ | `profile.avatar.content` | string | - | Text content inside the avatar (e.g. user initials). Shown when no src is provided. |
581
+ | `profile.avatar.icon` | string \| object | - | Icon to display in avatar when no src or content is set. Defaults to AiOutlineUser. |
582
+ | `profile.avatar.color` | string | - | Background color of the avatar when not using src. |
583
+ | `profile.avatar.size` | string \| number | `"small"` | Size of the avatar. Enum: `default`, `small`, `large`. |
584
+ | `profile.avatar.shape` | string | `"circle"` | Shape of the avatar. Enum: `circle`, `square`. |
585
+ | `profile.links` | array | - | Dropdown menu items. Uses the same MenuLink/MenuGroup/MenuDivider schema as Menu. Compatible with _menu operator output for access-filtered menus. |
586
+ | `profile.links.$.id` | string | - | Menu item id. |
587
+ | `profile.links.$.type` | string | `"MenuLink"` | Menu item type. Enum: `MenuDivider`, `MenuLink`, `MenuGroup`. |
588
+ | `profile.links.$.pageId` | string | - | Page to link to. |
589
+ | `profile.links.$.url` | string | - | External URL to link to. |
590
+ | `profile.links.$.newTab` | boolean | - | Open link in new tab. |
591
+ | `profile.links.$.style` | object | - | CSS style applied to the link. |
592
+ | `profile.links.$.properties` | object | - | Properties for the menu item. |
593
+ | `profile.links.$.properties.title` | string | - | Menu item title. |
594
+ | `profile.links.$.properties.icon` | string \| object | - | Icon for the menu item. |
595
+ | `profile.links.$.properties.danger` | boolean | `false` | Apply danger style to menu item. |
596
+ | `profile.links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
597
+ | `profile.links.$.properties.dashed` | boolean | `false` | Whether the divider line is dashed. |
598
+ | `profile.links.$.properties.shortcut` | string | - | Keyboard shortcut. Renders a kbd badge floated to the far right and wires the key handler. Use "mod" for Cmd/Ctrl. |
599
+ | `profile.links.$.links` | array | - | Nested menu items for MenuGroup. |
600
+ | `profile.trigger` | string | `"hover"` | How the profile dropdown opens. Enum: `click`, `hover`. |
601
+ | `profile.placement` | string | `"bottomRight"` | Dropdown placement relative to the avatar. Enum: `bottomLeft`, `bottom`, `bottomRight`, `topLeft`, `top`, `topRight`. |
602
+ | `profile.arrow` | boolean \| object | `false` | Show arrow on the dropdown. |
603
+ | `profile.arrow.pointAtCenter` | boolean | - | |
604
+ | `darkModeToggle` | boolean | `false` | Show a dark mode toggle button in the header. Toggles the Ant Design dark theme for the entire page. Preference is persisted to localStorage. |
605
+ | `localeSelector` | boolean | `false` | Show a locale picker dropdown in the header. Lists locales declared in `config.i18n.locales` and dispatches `SetLocale` on selection. Renders nothing when `config.i18n` is not configured. |
606
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
607
+
608
+ | Event | Event Data | Description |
609
+ | --- | --- | --- |
610
+ | `onBreadcrumbClick` | \- | Trigger action when a breadcrumb item is clicked. |
611
+ | `onChangeToggleSiderAffix` | \- | Trigger action when sider collapse button affix triggers a onChange event. |
612
+ | `onClose` | \- | Trigger action when menu is closed. |
613
+ | `onMenuItemSelect` | \- | Trigger action when menu item is selected. |
614
+ | `onMenuItemClick` | \- | Trigger action when menu item is clicked. |
615
+ | `onOpen` | \- | Trigger action when menu is open. |
616
+ | `onProfileMenuClick` | `{ key, keyPath, pageId, url }` | Trigger action when a profile dropdown menu item is clicked. |
617
+ | `onProfileMenuOpen` | `{ open }` | Trigger action when the profile dropdown opens or closes. |
618
+ | `onToggleDrawer` | \- | Trigger action when mobile menu drawer is toggled. |
619
+ | `onToggleMenuGroup` | \- | Trigger action when mobile menu group is opened. |
620
+
621
+ | Key | Target |
622
+ | --- | --- |
623
+ | `/block` | Outer block wrapper (always available). |
624
+ | `/element` | The PageSiderMenu element. |
625
+ | `/header` | The PageSiderMenu header. |
626
+ | `/headerActions` | The header actions container (notifications, profile, dark mode toggle). |
627
+ | `/headerContent` | The PageSiderMenu header content area. |
628
+ | `/logo` | The PageSiderMenu logo. |
629
+ | `/notifications` | The notification bell button. |
630
+ | `/notificationsBadge` | The notification badge wrapper. |
631
+ | `/notificationsIcon` | The notification bell icon. |
632
+ | `/profile` | The profile avatar and dropdown wrapper. |
633
+ | `/profileAvatar` | The profile avatar element. |
634
+ | `/profileMenu` | The profile dropdown menu popup. |
635
+ | `/darkModeToggle` | The PageSiderMenu dark mode toggle button. |
636
+ | `/localeSelector` | The PageSiderMenu locale selector trigger. |
637
+ | `/localeSelectorMenu` | The PageSiderMenu locale selector dropdown popup. |
638
+ | `/mobileMenu` | The PageSiderMenu mobile menu. |
639
+ | `/layout` | The PageSiderMenu inner layout. |
640
+ | `/sider` | The PageSiderMenu sider. |
641
+ | `/menu` | The PageSiderMenu menu. |
642
+ | `/content` | The PageSiderMenu content. |
643
+ | `/breadcrumb` | The PageSiderMenu breadcrumb. |
644
+ | `/footer` | The PageSiderMenu footer. |
645
+
646
+ | Slot | Description |
647
+ | --- | --- |
648
+ | `content` | Main page content. |
649
+ | `footer` | Page footer. |
650
+ | `header` | Additional header content. |
651
+ | `sider` | Sider content below the menu. |