@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,614 @@
1
+ # PageHeaderMenu
2
+
3
+ Page layout with a top header navigation menu.
4
+
5
+ Welcome
6
+
7
+ Follow the quick start guide to set up your first project in minutes.
8
+
9
+ Browse the full API reference and configuration guides.
10
+
11
+ ```yaml
12
+ - id: phm_basic
13
+ type: PageHeaderMenu
14
+ properties:
15
+ menu:
16
+ links:
17
+ - id: phm_basic_home
18
+ type: MenuLink
19
+ properties:
20
+ title: Home
21
+ icon: AiOutlineHome
22
+ - id: phm_basic_products
23
+ type: MenuLink
24
+ properties:
25
+ title: Products
26
+ icon: AiOutlineAppstore
27
+ - id: phm_basic_pricing
28
+ type: MenuLink
29
+ properties:
30
+ title: Pricing
31
+ - id: phm_basic_contact
32
+ type: MenuLink
33
+ properties:
34
+ title: Contact
35
+ blocks:
36
+ - id: phm_basic_title
37
+ type: Title
38
+ properties:
39
+ content: Welcome
40
+ level: 2
41
+ - id: phm_basic_cards
42
+ type: Box
43
+ layout:
44
+ gap: 16
45
+ blocks:
46
+ - id: phm_basic_card_1
47
+ type: Card
48
+ layout:
49
+ flex: 1 1 0
50
+ properties:
51
+ title: Getting Started
52
+ blocks:
53
+ - id: phm_basic_card_1_text
54
+ type: Paragraph
55
+ properties:
56
+ content: Follow the quick start guide to set up your first project in minutes.
57
+ - id: phm_basic_card_2
58
+ type: Card
59
+ layout:
60
+ flex: 1 1 0
61
+ properties:
62
+ title: Documentation
63
+ blocks:
64
+ - id: phm_basic_card_2_text
65
+ type: Paragraph
66
+ properties:
67
+ content: Browse the full API reference and configuration guides.
68
+ ```
69
+
70
+ Analytics Overview
71
+
72
+ ```yaml
73
+ - id: phm_grouped
74
+ type: PageHeaderMenu
75
+ properties:
76
+ darkModeToggle: true
77
+ breadcrumb:
78
+ separator: /
79
+ list:
80
+ - label: Home
81
+ icon: AiOutlineHome
82
+ - label: Analytics
83
+ - label: Overview
84
+ menu:
85
+ links:
86
+ - id: phm_g_dash
87
+ type: MenuLink
88
+ properties:
89
+ title: Dashboard
90
+ icon: AiOutlineDashboard
91
+ - id: phm_g_analytics
92
+ type: MenuGroup
93
+ properties:
94
+ title: Analytics
95
+ icon: AiOutlineBarChart
96
+ links:
97
+ - id: phm_g_overview
98
+ type: MenuLink
99
+ properties:
100
+ title: Overview
101
+ - id: phm_g_realtime
102
+ type: MenuLink
103
+ properties:
104
+ title: Real-time
105
+ - id: phm_g_funnel
106
+ type: MenuLink
107
+ properties:
108
+ title: Funnels
109
+ - id: phm_g_settings
110
+ type: MenuLink
111
+ properties:
112
+ title: Settings
113
+ icon: AiOutlineSetting
114
+ blocks:
115
+ - id: phm_g_title
116
+ type: Title
117
+ properties:
118
+ content: Analytics Overview
119
+ level: 3
120
+ - id: phm_g_cards
121
+ type: Box
122
+ layout:
123
+ gap: 16
124
+ blocks:
125
+ - id: phm_g_card_visits
126
+ type: Card
127
+ layout:
128
+ flex: 1 1 200px
129
+ properties:
130
+ size: small
131
+ blocks:
132
+ - id: phm_g_stat_visits
133
+ type: Statistic
134
+ properties:
135
+ title: Page Views
136
+ value: 12847
137
+ - id: phm_g_card_users
138
+ type: Card
139
+ layout:
140
+ flex: 1 1 200px
141
+ properties:
142
+ size: small
143
+ blocks:
144
+ - id: phm_g_stat_users
145
+ type: Statistic
146
+ properties:
147
+ title: Active Users
148
+ value: 1024
149
+ - id: phm_g_card_rate
150
+ type: Card
151
+ layout:
152
+ flex: 1 1 200px
153
+ properties:
154
+ size: small
155
+ blocks:
156
+ - id: phm_g_stat_rate
157
+ type: Statistic
158
+ properties:
159
+ title: Bounce Rate
160
+ value: 23.4
161
+ suffix: "%"
162
+ ```
163
+
164
+ Dashboard
165
+
166
+ ```yaml
167
+ - id: phm_profile
168
+ type: PageHeaderMenu
169
+ properties:
170
+ darkModeToggle: true
171
+ notifications:
172
+ count: 3
173
+ profile:
174
+ avatar:
175
+ content: JD
176
+ color: "#1677ff"
177
+ links:
178
+ - id: phm_prof_my_profile
179
+ type: MenuLink
180
+ properties:
181
+ title: My Profile
182
+ icon: AiOutlineUser
183
+ - id: phm_prof_settings
184
+ type: MenuLink
185
+ properties:
186
+ title: Settings
187
+ icon: AiOutlineSetting
188
+ - id: phm_prof_divider
189
+ type: MenuDivider
190
+ - id: phm_prof_logout
191
+ type: MenuLink
192
+ properties:
193
+ title: Logout
194
+ icon: AiOutlineLogout
195
+ danger: true
196
+ menu:
197
+ links:
198
+ - id: phm_prof_home
199
+ type: MenuLink
200
+ properties:
201
+ title: Home
202
+ icon: AiOutlineHome
203
+ - id: phm_prof_projects
204
+ type: MenuLink
205
+ properties:
206
+ title: Projects
207
+ icon: AiOutlineProject
208
+ - id: phm_prof_reports
209
+ type: MenuLink
210
+ properties:
211
+ title: Reports
212
+ icon: AiOutlineBarChart
213
+ blocks:
214
+ - id: phm_prof_title
215
+ type: Title
216
+ properties:
217
+ content: Dashboard
218
+ level: 3
219
+ - id: phm_prof_cards
220
+ type: Box
221
+ layout:
222
+ gap: 16
223
+ blocks:
224
+ - id: phm_prof_card_1
225
+ type: Card
226
+ layout:
227
+ flex: 1 1 0
228
+ properties:
229
+ size: small
230
+ blocks:
231
+ - id: phm_prof_stat_1
232
+ type: Statistic
233
+ properties:
234
+ title: Active Projects
235
+ value: 12
236
+ - id: phm_prof_card_2
237
+ type: Card
238
+ layout:
239
+ flex: 1 1 0
240
+ properties:
241
+ size: small
242
+ blocks:
243
+ - id: phm_prof_stat_2
244
+ type: Statistic
245
+ properties:
246
+ title: Pending Tasks
247
+ value: 8
248
+ ```
249
+
250
+ Welcome back, Jane
251
+
252
+ Office hours updated: Building opens at 7:00 AM starting next Monday.
253
+
254
+ Q1 All-Hands meeting scheduled for March 28 at 2:00 PM.
255
+
256
+ Submit a Time-Off Request
257
+
258
+ View Expense Reports
259
+
260
+ ```yaml
261
+ - id: phm_full
262
+ type: PageHeaderMenu
263
+ properties:
264
+ darkModeToggle: true
265
+ logo:
266
+ alt: Acme Corp
267
+ notifications:
268
+ dot: true
269
+ profile:
270
+ avatar:
271
+ icon: AiOutlineUser
272
+ breadcrumb:
273
+ list:
274
+ - Intranet
275
+ - Team Directory
276
+ menu:
277
+ links:
278
+ - id: phm_full_home
279
+ type: MenuLink
280
+ properties:
281
+ title: Home
282
+ icon: AiOutlineHome
283
+ - id: phm_full_directory
284
+ type: MenuLink
285
+ properties:
286
+ title: Directory
287
+ icon: AiOutlineTeam
288
+ - id: phm_full_resources
289
+ type: MenuGroup
290
+ properties:
291
+ title: Resources
292
+ icon: AiOutlineBook
293
+ links:
294
+ - id: phm_full_policies
295
+ type: MenuLink
296
+ properties:
297
+ title: Company Policies
298
+ - id: phm_full_benefits
299
+ type: MenuLink
300
+ properties:
301
+ title: Benefits Guide
302
+ - id: phm_full_help
303
+ type: MenuLink
304
+ properties:
305
+ title: IT Support
306
+ icon: AiOutlineQuestionCircle
307
+ slots:
308
+ footer:
309
+ blocks:
310
+ - id: phm_full_footer_text
311
+ type: Paragraph
312
+ properties:
313
+ content: Acme Corp Intranet - Internal Use Only
314
+ style:
315
+ margin: 0
316
+ color: "#888"
317
+ textAlign: center
318
+ blocks:
319
+ - id: phm_full_welcome
320
+ type: Title
321
+ properties:
322
+ content: Welcome back, Jane
323
+ level: 3
324
+ - id: phm_full_cards
325
+ type: Box
326
+ layout:
327
+ gap: 16
328
+ blocks:
329
+ - id: phm_full_card_announce
330
+ type: Card
331
+ layout:
332
+ flex: 1 1 300px
333
+ properties:
334
+ title: Announcements
335
+ blocks:
336
+ - id: phm_full_announce_1
337
+ type: Paragraph
338
+ properties:
339
+ content: "Office hours updated: Building opens at 7:00 AM starting next Monday."
340
+ - id: phm_full_announce_2
341
+ type: Paragraph
342
+ properties:
343
+ content: Q1 All-Hands meeting scheduled for March 28 at 2:00 PM.
344
+ - id: phm_full_card_links
345
+ type: Card
346
+ layout:
347
+ flex: 1 1 300px
348
+ properties:
349
+ title: Quick Links
350
+ blocks:
351
+ - id: phm_full_link_1
352
+ type: Paragraph
353
+ properties:
354
+ content: Submit a Time-Off Request
355
+ - id: phm_full_link_2
356
+ type: Paragraph
357
+ properties:
358
+ content: View Expense Reports
359
+ ```
360
+
361
+ Installation
362
+
363
+ Get started by installing the framework via npm or yarn. Follow the steps below to set up your development environment.
364
+
365
+ > Prerequisites
366
+
367
+ 1. Initialize a new project directory and run the setup command.
368
+
369
+ 2. Configure your lowdefy.yaml file with pages and connections.
370
+
371
+ 3. Start the development server to preview your application.
372
+
373
+ ```yaml
374
+ - id: phm_light
375
+ type: PageHeaderMenu
376
+ properties:
377
+ darkModeToggle: true
378
+ menu:
379
+ links:
380
+ - id: phm_light_guide
381
+ type: MenuLink
382
+ properties:
383
+ title: Guide
384
+ icon: AiOutlineBook
385
+ - id: phm_light_api
386
+ type: MenuLink
387
+ properties:
388
+ title: API Reference
389
+ icon: AiOutlineApi
390
+ - id: phm_light_examples
391
+ type: MenuLink
392
+ properties:
393
+ title: Examples
394
+ icon: AiOutlineCode
395
+ - id: phm_light_community
396
+ type: MenuLink
397
+ properties:
398
+ title: Community
399
+ icon: AiOutlineGlobal
400
+ breadcrumb:
401
+ separator: /
402
+ list:
403
+ - Docs
404
+ - Getting Started
405
+ - Installation
406
+ slots:
407
+ header:
408
+ blocks:
409
+ - id: phm_light_search_btn
410
+ type: Button
411
+ layout:
412
+ flex: 0 0 auto
413
+ properties:
414
+ title: Search
415
+ icon: AiOutlineSearch
416
+ color: default
417
+ variant: outlined
418
+ size: small
419
+ blocks:
420
+ - id: phm_light_title
421
+ type: Title
422
+ properties:
423
+ content: Installation
424
+ level: 2
425
+ - id: phm_light_intro
426
+ type: Paragraph
427
+ properties:
428
+ content: Get started by installing the framework via npm or yarn. Follow the
429
+ steps below to set up your development environment.
430
+ - id: phm_light_alert
431
+ type: Alert
432
+ properties:
433
+ message: Prerequisites
434
+ description: Make sure you have Node.js version 18 or higher installed before
435
+ proceeding.
436
+ type: info
437
+ showIcon: true
438
+ - id: phm_light_steps
439
+ type: Card
440
+ properties:
441
+ title: Setup Steps
442
+ size: small
443
+ blocks:
444
+ - id: phm_light_step_1
445
+ type: Paragraph
446
+ properties:
447
+ content: 1. Initialize a new project directory and run the setup command.
448
+ - id: phm_light_step_2
449
+ type: Paragraph
450
+ properties:
451
+ content: 2. Configure your lowdefy.yaml file with pages and connections.
452
+ - id: phm_light_step_3
453
+ type: Paragraph
454
+ properties:
455
+ content: 3. Start the development server to preview your application.
456
+ ```
457
+
458
+ Profile from _menu
459
+
460
+ > The profile dropdown links are populated using _menu operator, pulling from the menus defined in lowdefy.yaml. Click the avatar to see the dropdown.
461
+
462
+ ```yaml
463
+ - id: phm_menu_op
464
+ type: PageHeaderMenu
465
+ properties:
466
+ darkModeToggle: true
467
+ notifications:
468
+ count: 2
469
+ link:
470
+ pageId: home
471
+ profile:
472
+ avatar:
473
+ content: JD
474
+ color: "#6366f1"
475
+ links:
476
+ _menu: default
477
+ menu:
478
+ links:
479
+ - id: phm_mo_home
480
+ type: MenuLink
481
+ properties:
482
+ title: Home
483
+ icon: AiOutlineHome
484
+ - id: phm_mo_settings
485
+ type: MenuLink
486
+ properties:
487
+ title: Settings
488
+ icon: AiOutlineSetting
489
+ blocks:
490
+ - id: phm_mo_title
491
+ type: Title
492
+ properties:
493
+ content: Profile from _menu
494
+ level: 3
495
+ - id: phm_mo_info
496
+ type: Alert
497
+ properties:
498
+ message: The profile dropdown links are populated using _menu operator, pulling
499
+ from the menus defined in lowdefy.yaml. Click the avatar to see the
500
+ dropdown.
501
+ type: info
502
+ showIcon: true
503
+ ```
504
+
505
+ | Property | Type | Default | Description |
506
+ | --- | --- | --- | --- |
507
+ | `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. |
508
+ | `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. |
509
+ | `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. |
510
+ | `logo.breakpoint` | number | - | Viewport width breakpoint (in px) for switching between mobile and desktop logo. Default is 577. |
511
+ | `logo.alt` | string | `"Lowdefy"` | Logo image alt text. |
512
+ | `header` | object | - | Header properties. |
513
+ | `footer` | object | - | Footer properties. |
514
+ | `content` | object | - | Content properties. |
515
+ | `breadcrumb` | object | - | Breadcrumb properties. |
516
+ | `breadcrumb.separator` | string | `"/"` | Use a custom separator string. |
517
+ | `breadcrumb.list` | array | - | List of breadcrumb links. |
518
+ | `breadcrumb.list.$.label` | string | - | Label of the breadcrumb link. |
519
+ | `breadcrumb.list.$.pageId` | string | - | Page id to link to when clicked. |
520
+ | `breadcrumb.list.$.url` | string | - | External url link. |
521
+ | `breadcrumb.list.$.style` | object | - | Css style to apply to link. |
522
+ | `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. |
523
+ | `menu` | object | - | Menu properties. |
524
+ | `menu.links` | array | - | |
525
+ | `menu.links.$.id` | string | - | Menu item id. |
526
+ | `menu.links.$.pageId` | string | - | Page to link to. |
527
+ | `menu.links.$.properties` | object | - | properties from menu item. |
528
+ | `menu.links.$.properties.title` | string | - | Menu item title. |
529
+ | `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. |
530
+ | `menuLg` | object | - | Menu large screen properties. Overwrites menu properties on desktop screen sizes. |
531
+ | `menuMd` | object | - | Mobile menu properties. Overwrites menu properties on mobile screen sizes. |
532
+ | `notifications` | object | - | Notification bell icon with badge in the header. Renders when configured. Use the link property to navigate when clicked. |
533
+ | `notifications.link` | object | - | Link to navigate to when the notification bell is clicked. |
534
+ | `notifications.link.pageId` | string | - | Page to link to. |
535
+ | `notifications.link.url` | string | - | External URL to link to. |
536
+ | `notifications.link.newTab` | boolean | - | Open link in new tab. |
537
+ | `notifications.count` | number | - | Number to display on the badge. Set to 0 to hide the badge (unless showZero is true). |
538
+ | `notifications.dot` | boolean | `false` | Show a dot instead of a count number. |
539
+ | `notifications.showZero` | boolean | `false` | Show badge when count is zero. |
540
+ | `notifications.overflowCount` | number | `99` | Max count to show. Values above this display as "N+". |
541
+ | `notifications.color` | string | - | Badge color. |
542
+ | `notifications.icon` | string \| object | - | Icon for the notification button. Defaults to AiOutlineBell. |
543
+ | `notifications.size` | string | `"small"` | Size of the notification button. Enum: `small`, `default`, `large`. |
544
+ | `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. |
545
+ | `profile.avatar` | object | - | Avatar display properties. |
546
+ | `profile.avatar.src` | string | - | Image URL for the avatar. Typically bound to _user: image. |
547
+ | `profile.avatar.content` | string | - | Text content inside the avatar (e.g. user initials). Shown when no src is provided. |
548
+ | `profile.avatar.icon` | string \| object | - | Icon to display in avatar when no src or content is set. Defaults to AiOutlineUser. |
549
+ | `profile.avatar.color` | string | - | Background color of the avatar when not using src. |
550
+ | `profile.avatar.size` | string \| number | `"small"` | Size of the avatar. Enum: `default`, `small`, `large`. |
551
+ | `profile.avatar.shape` | string | `"circle"` | Shape of the avatar. Enum: `circle`, `square`. |
552
+ | `profile.links` | array | - | Dropdown menu items. Uses the same MenuLink/MenuGroup/MenuDivider schema as Menu. Compatible with _menu operator output for access-filtered menus. |
553
+ | `profile.links.$.id` | string | - | Menu item id. |
554
+ | `profile.links.$.type` | string | `"MenuLink"` | Menu item type. Enum: `MenuDivider`, `MenuLink`, `MenuGroup`. |
555
+ | `profile.links.$.pageId` | string | - | Page to link to. |
556
+ | `profile.links.$.url` | string | - | External URL to link to. |
557
+ | `profile.links.$.newTab` | boolean | - | Open link in new tab. |
558
+ | `profile.links.$.style` | object | - | CSS style applied to the link. |
559
+ | `profile.links.$.properties` | object | - | Properties for the menu item. |
560
+ | `profile.links.$.properties.title` | string | - | Menu item title. |
561
+ | `profile.links.$.properties.icon` | string \| object | - | Icon for the menu item. |
562
+ | `profile.links.$.properties.danger` | boolean | `false` | Apply danger style to menu item. |
563
+ | `profile.links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
564
+ | `profile.links.$.properties.dashed` | boolean | `false` | Whether the divider line is dashed. |
565
+ | `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. |
566
+ | `profile.links.$.links` | array | - | Nested menu items for MenuGroup. |
567
+ | `profile.trigger` | string | `"hover"` | How the profile dropdown opens. Enum: `click`, `hover`. |
568
+ | `profile.placement` | string | `"bottomRight"` | Dropdown placement relative to the avatar. Enum: `bottomLeft`, `bottom`, `bottomRight`, `topLeft`, `top`, `topRight`. |
569
+ | `profile.arrow` | boolean \| object | `false` | Show arrow on the dropdown. |
570
+ | `profile.arrow.pointAtCenter` | boolean | - | |
571
+ | `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. |
572
+ | `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. |
573
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
574
+
575
+ | Event | Event Data | Description |
576
+ | --- | --- | --- |
577
+ | `onBreadcrumbClick` | \- | Trigger action when a breadcrumb item is clicked. |
578
+ | `onClose` | \- | Trigger action when mobile menu is closed. |
579
+ | `onMenuItemClick` | \- | Trigger action when menu item is clicked. |
580
+ | `onMenuItemSelect` | \- | Trigger action when menu item is selected. |
581
+ | `onOpen` | \- | Trigger action when mobile menu is open. |
582
+ | `onProfileMenuClick` | `{ key, keyPath, pageId, url }` | Trigger action when a profile dropdown menu item is clicked. |
583
+ | `onProfileMenuOpen` | `{ open }` | Trigger action when the profile dropdown opens or closes. |
584
+ | `onToggleDrawer` | \- | Trigger action when mobile menu drawer is toggled. |
585
+ | `onToggleMenuGroup` | \- | Trigger action when mobile menu group is opened. |
586
+
587
+ | Key | Target |
588
+ | --- | --- |
589
+ | `/block` | Outer block wrapper (always available). |
590
+ | `/element` | The PageHeaderMenu element. |
591
+ | `/header` | The PageHeaderMenu header. |
592
+ | `/headerActions` | The header actions container (notifications, profile, dark mode toggle). |
593
+ | `/headerContent` | The PageHeaderMenu header content area. |
594
+ | `/logo` | The PageHeaderMenu logo. |
595
+ | `/notifications` | The notification bell button. |
596
+ | `/notificationsBadge` | The notification badge wrapper. |
597
+ | `/notificationsIcon` | The notification bell icon. |
598
+ | `/profile` | The profile avatar and dropdown wrapper. |
599
+ | `/profileAvatar` | The profile avatar element. |
600
+ | `/profileMenu` | The profile dropdown menu popup. |
601
+ | `/darkModeToggle` | The PageHeaderMenu dark mode toggle button. |
602
+ | `/localeSelector` | The PageHeaderMenu locale selector trigger. |
603
+ | `/localeSelectorMenu` | The PageHeaderMenu locale selector dropdown popup. |
604
+ | `/mobileMenu` | The PageHeaderMenu mobile menu. |
605
+ | `/menu` | The PageHeaderMenu menu. |
606
+ | `/content` | The PageHeaderMenu content. |
607
+ | `/breadcrumb` | The PageHeaderMenu breadcrumb. |
608
+ | `/footer` | The PageHeaderMenu footer. |
609
+
610
+ | Slot | Description |
611
+ | --- | --- |
612
+ | `content` | Main page content. |
613
+ | `footer` | Page footer. |
614
+ | `header` | Additional header content. |