@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,765 @@
1
+ # CheckboxSelector
2
+
3
+ Checkbox group for selecting multiple options.
4
+
5
+ ```yaml
6
+ - id: basic_label_value
7
+ type: CheckboxSelector
8
+ properties:
9
+ title: Select Toppings
10
+ options:
11
+ - label: Cheese
12
+ value: cheese
13
+ - label: Pepperoni
14
+ value: pepperoni
15
+ - label: Mushrooms
16
+ value: mushrooms
17
+ - label: Onions
18
+ value: onions
19
+ - label: Peppers
20
+ value: peppers
21
+ - id: basic_string_options
22
+ type: CheckboxSelector
23
+ properties:
24
+ title: Hobbies
25
+ options:
26
+ - Reading
27
+ - Cooking
28
+ - Hiking
29
+ - Gaming
30
+ - Music
31
+ ```
32
+
33
+ ```yaml
34
+ - id: horizontal_default
35
+ type: CheckboxSelector
36
+ properties:
37
+ title: Horizontal (Default)
38
+ direction: horizontal
39
+ options:
40
+ - label: Frontend
41
+ value: frontend
42
+ - label: Backend
43
+ value: backend
44
+ - label: DevOps
45
+ value: devops
46
+ - label: Design
47
+ value: design
48
+ - label: QA
49
+ value: qa
50
+ - label: Product
51
+ value: product
52
+ ```
53
+
54
+ ```yaml
55
+ - id: vertical_checkbox
56
+ type: CheckboxSelector
57
+ properties:
58
+ title: Vertical Layout
59
+ direction: vertical
60
+ options:
61
+ - label: Email notifications
62
+ value: email
63
+ - label: SMS notifications
64
+ value: sms
65
+ - label: Push notifications
66
+ value: push
67
+ - label: In-app notifications
68
+ value: in_app
69
+ ```
70
+
71
+ ```yaml
72
+ - id: wrap_enabled
73
+ type: CheckboxSelector
74
+ properties:
75
+ title: Wrap Enabled (Default)
76
+ direction: horizontal
77
+ wrap: true
78
+ options:
79
+ - JavaScript
80
+ - TypeScript
81
+ - Python
82
+ - Go
83
+ - Rust
84
+ - Java
85
+ - C++
86
+ - Ruby
87
+ - Swift
88
+ - Kotlin
89
+ - PHP
90
+ - Scala
91
+ - id: wrap_disabled
92
+ type: CheckboxSelector
93
+ properties:
94
+ title: Wrap Disabled
95
+ direction: horizontal
96
+ wrap: false
97
+ options:
98
+ - JavaScript
99
+ - TypeScript
100
+ - Python
101
+ - Go
102
+ - Rust
103
+ - Java
104
+ - C++
105
+ - Ruby
106
+ ```
107
+
108
+ ```yaml
109
+ - id: align_start
110
+ type: CheckboxSelector
111
+ properties:
112
+ title: Start Alignment
113
+ align: start
114
+ options:
115
+ - Apple
116
+ - Banana
117
+ - Cherry
118
+ - id: align_center
119
+ type: CheckboxSelector
120
+ properties:
121
+ title: Center Alignment
122
+ align: center
123
+ options:
124
+ - Apple
125
+ - Banana
126
+ - Cherry
127
+ - id: align_end
128
+ type: CheckboxSelector
129
+ properties:
130
+ title: End Alignment
131
+ align: end
132
+ options:
133
+ - Apple
134
+ - Banana
135
+ - Cherry
136
+ - id: align_baseline
137
+ type: CheckboxSelector
138
+ properties:
139
+ title: Baseline Alignment
140
+ align: baseline
141
+ options:
142
+ - Apple
143
+ - Banana
144
+ - Cherry
145
+ ```
146
+
147
+ ```yaml
148
+ - id: color_green
149
+ type: CheckboxSelector
150
+ properties:
151
+ title: Green Checkboxes
152
+ color: "#52c41a"
153
+ options:
154
+ - label: Lettuce
155
+ value: lettuce
156
+ - label: Spinach
157
+ value: spinach
158
+ - label: Broccoli
159
+ value: broccoli
160
+ - id: color_orange
161
+ type: CheckboxSelector
162
+ properties:
163
+ title: Orange Checkboxes
164
+ color: "#fa8c16"
165
+ options:
166
+ - label: Carrot
167
+ value: carrot
168
+ - label: Pumpkin
169
+ value: pumpkin
170
+ - label: Sweet Potato
171
+ value: sweet_potato
172
+ - id: color_purple
173
+ type: CheckboxSelector
174
+ properties:
175
+ title: Purple Checkboxes
176
+ color: "#722ed1"
177
+ options:
178
+ - label: Eggplant
179
+ value: eggplant
180
+ - label: Grape
181
+ value: grape
182
+ - label: Plum
183
+ value: plum
184
+ - id: color_red
185
+ type: CheckboxSelector
186
+ properties:
187
+ title: Red Checkboxes
188
+ color: "#f5222d"
189
+ options:
190
+ - label: Tomato
191
+ value: tomato
192
+ - label: Strawberry
193
+ value: strawberry
194
+ - label: Cherry
195
+ value: cherry
196
+ - id: color_hex_custom
197
+ type: CheckboxSelector
198
+ properties:
199
+ title: Custom Hex Color
200
+ color: "#e64980"
201
+ options:
202
+ - label: Pink option A
203
+ value: a
204
+ - label: Pink option B
205
+ value: b
206
+ - label: Pink option C
207
+ value: c
208
+ ```
209
+
210
+ ```yaml
211
+ - id: disabled_all
212
+ type: CheckboxSelector
213
+ properties:
214
+ title: All Disabled
215
+ disabled: true
216
+ options:
217
+ - label: Option A
218
+ value: a
219
+ - label: Option B
220
+ value: b
221
+ - label: Option C
222
+ value: c
223
+ ```
224
+
225
+ ```yaml
226
+ - id: disabled_some
227
+ type: CheckboxSelector
228
+ properties:
229
+ title: Some Options Disabled
230
+ options:
231
+ - label: Available
232
+ value: available
233
+ - label: Sold Out
234
+ value: sold_out
235
+ disabled: true
236
+ - label: In Stock
237
+ value: in_stock
238
+ - label: Backordered
239
+ value: backordered
240
+ disabled: true
241
+ - label: Pre-order
242
+ value: pre_order
243
+ ```
244
+
245
+ ```yaml
246
+ - id: styled_options
247
+ type: CheckboxSelector
248
+ properties:
249
+ title: Options with Custom Styles
250
+ options:
251
+ - label: High Priority
252
+ value: high
253
+ style:
254
+ color: "#f5222d"
255
+ fontWeight: bold
256
+ - label: Medium Priority
257
+ value: medium
258
+ style:
259
+ color: "#fa8c16"
260
+ fontWeight: 500
261
+ - label: Low Priority
262
+ value: low
263
+ style:
264
+ color: "#52c41a"
265
+ - id: styled_background
266
+ type: CheckboxSelector
267
+ properties:
268
+ title: Options with Backgrounds
269
+ options:
270
+ - label: Success
271
+ value: success
272
+ style:
273
+ padding: 2px 8px
274
+ borderRadius: 4
275
+ - label: Warning
276
+ value: warning
277
+ style:
278
+ padding: 2px 8px
279
+ borderRadius: 4
280
+ - label: Error
281
+ value: error
282
+ style:
283
+ padding: 2px 8px
284
+ borderRadius: 4
285
+ ```
286
+
287
+ ```yaml
288
+ - id: html_labels
289
+ type: CheckboxSelector
290
+ properties:
291
+ title: HTML in Labels
292
+ options:
293
+ - label: <b>Bold</b> option
294
+ value: bold
295
+ - label: <i>Italic</i> option
296
+ value: italic
297
+ - label: '<span style="color: #1677ff">Blue</span> option'
298
+ value: blue
299
+ - label: Option with <code>code</code>
300
+ value: code
301
+ ```
302
+
303
+ ```yaml
304
+ - id: number_options
305
+ type: CheckboxSelector
306
+ properties:
307
+ title: Numeric Options
308
+ options:
309
+ - label: One
310
+ value: 1
311
+ - label: Two
312
+ value: 2
313
+ - label: Three
314
+ value: 3
315
+ - label: Four
316
+ value: 4
317
+ - id: boolean_options
318
+ type: CheckboxSelector
319
+ properties:
320
+ title: Boolean Options
321
+ options:
322
+ - label: Yes
323
+ value: true
324
+ - label: No
325
+ value: false
326
+ ```
327
+
328
+ ```yaml
329
+ - id: label_default
330
+ type: CheckboxSelector
331
+ properties:
332
+ title: Default Label
333
+ options:
334
+ - Red
335
+ - Green
336
+ - Blue
337
+ - id: label_with_colon
338
+ type: CheckboxSelector
339
+ properties:
340
+ title: Pick a Color
341
+ label:
342
+ colon: true
343
+ options:
344
+ - Red
345
+ - Green
346
+ - Blue
347
+ - id: label_no_colon
348
+ type: CheckboxSelector
349
+ properties:
350
+ title: Pick a Color
351
+ label:
352
+ colon: false
353
+ options:
354
+ - Red
355
+ - Green
356
+ - Blue
357
+ - id: label_with_extra
358
+ type: CheckboxSelector
359
+ properties:
360
+ title: Select Sizes
361
+ label:
362
+ extra: Select all sizes that apply.
363
+ options:
364
+ - Small
365
+ - Medium
366
+ - Large
367
+ - Extra Large
368
+ - id: label_right_aligned
369
+ type: CheckboxSelector
370
+ properties:
371
+ title: Right Aligned Label
372
+ label:
373
+ align: right
374
+ inline: true
375
+ span: 8
376
+ options:
377
+ - Option A
378
+ - Option B
379
+ - Option C
380
+ ```
381
+
382
+ ```yaml
383
+ - id: label_inline
384
+ type: CheckboxSelector
385
+ properties:
386
+ title: Inline Label
387
+ label:
388
+ inline: true
389
+ span: 6
390
+ options:
391
+ - Cat
392
+ - Dog
393
+ - Bird
394
+ - id: label_inline_wide
395
+ type: CheckboxSelector
396
+ properties:
397
+ title: Wide Inline Label
398
+ label:
399
+ inline: true
400
+ span: 10
401
+ options:
402
+ - Cat
403
+ - Dog
404
+ - Bird
405
+ ```
406
+
407
+ ```yaml
408
+ - id: no_label
409
+ type: CheckboxSelector
410
+ properties:
411
+ label:
412
+ disabled: true
413
+ options:
414
+ - label: I agree to the Terms of Service
415
+ value: tos
416
+ - label: I want to receive marketing emails
417
+ value: marketing
418
+ - label: I agree to the Privacy Policy
419
+ value: privacy
420
+ ```
421
+
422
+ ```yaml
423
+ - id: label_feedback_on
424
+ type: CheckboxSelector
425
+ properties:
426
+ title: Feedback Enabled (Default)
427
+ label:
428
+ hasFeedback: true
429
+ options:
430
+ - Option A
431
+ - Option B
432
+ - Option C
433
+ - id: label_feedback_off
434
+ type: CheckboxSelector
435
+ properties:
436
+ title: Feedback Disabled
437
+ label:
438
+ hasFeedback: false
439
+ options:
440
+ - Option A
441
+ - Option B
442
+ - Option C
443
+ ```
444
+
445
+ ```yaml
446
+ - id: vertical_mixed_disabled
447
+ type: CheckboxSelector
448
+ properties:
449
+ title: Feature Flags
450
+ direction: vertical
451
+ options:
452
+ - label: Dark Mode
453
+ value: dark_mode
454
+ - label: Beta Features
455
+ value: beta
456
+ - label: Analytics (Coming Soon)
457
+ value: analytics
458
+ disabled: true
459
+ - label: Custom Themes
460
+ value: custom_themes
461
+ - label: AI Assistant (Coming Soon)
462
+ value: ai_assistant
463
+ disabled: true
464
+ ```
465
+
466
+ ```yaml
467
+ - id: many_options_wrap
468
+ type: CheckboxSelector
469
+ properties:
470
+ title: Select Countries
471
+ direction: horizontal
472
+ wrap: true
473
+ options:
474
+ - USA
475
+ - Canada
476
+ - Mexico
477
+ - Brazil
478
+ - UK
479
+ - France
480
+ - Germany
481
+ - Italy
482
+ - Spain
483
+ - Japan
484
+ - China
485
+ - India
486
+ - Australia
487
+ - South Africa
488
+ - Egypt
489
+ ```
490
+
491
+ ```yaml
492
+ - id: custom_style
493
+ type: CheckboxSelector
494
+ properties:
495
+ title: Styled Container
496
+ options:
497
+ - Alpha
498
+ - Beta
499
+ - Gamma
500
+ style:
501
+ .element:
502
+ padding: 12
503
+ borderRadius: 8
504
+ border: "1px solid #d9d9d9"
505
+ - id: custom_class
506
+ type: CheckboxSelector
507
+ class: p-4 bg-bg-layout rounded-lg
508
+ properties:
509
+ title: Tailwind Styled
510
+ options:
511
+ - Alpha
512
+ - Beta
513
+ - Gamma
514
+ ```
515
+
516
+ ```yaml
517
+ - id: theme_large_checkbox
518
+ type: CheckboxSelector
519
+ properties:
520
+ title: Large Checkbox (controlInteractiveSize)
521
+ options:
522
+ - label: Option A
523
+ value: a
524
+ - label: Option B
525
+ value: b
526
+ - label: Option C
527
+ value: c
528
+ theme:
529
+ controlInteractiveSize: 24
530
+ - id: theme_custom_colors
531
+ type: CheckboxSelector
532
+ properties:
533
+ title: Custom Primary Color via Theme
534
+ options:
535
+ - label: Option A
536
+ value: a
537
+ - label: Option B
538
+ value: b
539
+ - label: Option C
540
+ value: c
541
+ theme:
542
+ colorPrimary: "#eb2f96"
543
+ - id: theme_custom_border
544
+ type: CheckboxSelector
545
+ properties:
546
+ title: Custom Border via Theme
547
+ options:
548
+ - label: Option A
549
+ value: a
550
+ - label: Option B
551
+ value: b
552
+ - label: Option C
553
+ value: c
554
+ theme:
555
+ colorBorder: "#d48806"
556
+ lineWidth: 2
557
+ borderRadiusSM: 6
558
+ - id: theme_combined
559
+ type: CheckboxSelector
560
+ properties:
561
+ title: Combined Token Overrides
562
+ options:
563
+ - label: Option A
564
+ value: a
565
+ - label: Option B
566
+ value: b
567
+ - label: Option C
568
+ value: c
569
+ theme:
570
+ colorPrimary: "#13c2c2"
571
+ colorPrimaryHover: "#36cfc9"
572
+ controlInteractiveSize: 20
573
+ borderRadiusSM: 4
574
+ fontSize: 16
575
+ - id: theme_font_size
576
+ type: CheckboxSelector
577
+ properties:
578
+ title: Large Font Size
579
+ options:
580
+ - Option A
581
+ - Option B
582
+ - Option C
583
+ theme:
584
+ fontSize: 18
585
+ ```
586
+
587
+ ```yaml
588
+ - id: combo_green_vertical
589
+ type: CheckboxSelector
590
+ properties:
591
+ title: Green Vertical
592
+ color: "#52c41a"
593
+ direction: vertical
594
+ options:
595
+ - label: Task 1
596
+ value: task_1
597
+ - label: Task 2
598
+ value: task_2
599
+ - label: Task 3
600
+ value: task_3
601
+ - id: combo_purple_horizontal
602
+ type: CheckboxSelector
603
+ properties:
604
+ title: Purple Horizontal
605
+ color: "#722ed1"
606
+ direction: horizontal
607
+ options:
608
+ - label: Tag A
609
+ value: tag_a
610
+ - label: Tag B
611
+ value: tag_b
612
+ - label: Tag C
613
+ value: tag_c
614
+ - label: Tag D
615
+ value: tag_d
616
+ ```
617
+
618
+ ```yaml
619
+ - id: example_permissions
620
+ type: CheckboxSelector
621
+ properties:
622
+ title: User Permissions
623
+ direction: vertical
624
+ label:
625
+ extra: Assign the appropriate permissions for this user role.
626
+ options:
627
+ - label: <b>Read</b> - View content
628
+ value: read
629
+ - label: <b>Write</b> - Create and edit content
630
+ value: write
631
+ - label: <b>Delete</b> - Remove content
632
+ value: delete
633
+ style:
634
+ color: "#f5222d"
635
+ - label: <b>Admin</b> - Full access
636
+ value: admin
637
+ style:
638
+ color: "#fa8c16"
639
+ fontWeight: bold
640
+ - id: example_newsletter
641
+ type: CheckboxSelector
642
+ properties:
643
+ title: Newsletter Preferences
644
+ direction: vertical
645
+ color: "#1677ff"
646
+ label:
647
+ extra: Choose which newsletters you would like to receive.
648
+ options:
649
+ - label: Product Updates
650
+ value: product
651
+ - label: Engineering Blog
652
+ value: engineering
653
+ - label: Community Events
654
+ value: community
655
+ - label: Partner Offers
656
+ value: partners
657
+ - id: example_survey
658
+ type: CheckboxSelector
659
+ properties:
660
+ title: How did you hear about us?
661
+ direction: vertical
662
+ label:
663
+ colon: false
664
+ options:
665
+ - Search Engine
666
+ - Social Media
667
+ - Friend or Colleague
668
+ - Blog Post
669
+ - Conference or Event
670
+ - Other
671
+ ```
672
+
673
+ ```yaml
674
+ - id: checkbox_per_option_color
675
+ type: CheckboxSelector
676
+ properties:
677
+ title: Each checked box in its option color
678
+ options:
679
+ - label: Low
680
+ value: low
681
+ color: "#16a34a"
682
+ - label: Medium
683
+ value: medium
684
+ color: "#d97706"
685
+ - label: High
686
+ value: high
687
+ color: "#dc2626"
688
+ ```
689
+
690
+ ```yaml
691
+ - id: data_checkbox_selector
692
+ type: CheckboxSelector
693
+ properties:
694
+ title: Permissions
695
+ data:
696
+ - id: 1
697
+ name: Read
698
+ - id: 2
699
+ name: Write
700
+ - id: 3
701
+ name: Admin
702
+ html: "{{ item.name }}"
703
+ valueKey: id
704
+ ```
705
+
706
+ | Property | Type | Default | Description |
707
+ | --- | --- | --- | --- |
708
+ | `align` | string | `"start"` | Align options. Enum: `start`, `end`, `center`, `baseline`. |
709
+ | `color` | string | - | Selected checkbox color. |
710
+ | `disabled` | boolean | `false` | Disable the block if true. |
711
+ | `direction` | string | `"horizontal"` | List options horizontally or vertical. Enum: `horizontal`, `vertical`. |
712
+ | `wrap` | boolean | `true` | Specifies wrapping of options. Applies when 'direction' is 'horizontal'. |
713
+ | `options` | array | `[]` | Options can either be an array of primitive values, on an array of label, value pairs - supports html. |
714
+ | `options.$.label` | string | - | Value label shown to user - supports html. |
715
+ | `options.$.value` | string \| number \| boolean | - | Option value. |
716
+ | `options.$.disabled` | boolean | `false` | Disable the option if true. |
717
+ | `options.$.style` | object | - | Css style to apply to the option. |
718
+ | `options.$.color` | string | - | Color applied to this option when it is selected. Falls back to the block-level color when not set. |
719
+ | `data` | array | - | Alternative to `options`: an array of raw rows. Each row is rendered to a label with the `html` template, and `valueKey` selects which field becomes the value. Use this to drive a selector directly from data without building label/value pairs in your request. |
720
+ | `html` | string | - | Nunjucks template that renders each option label when using `data`. The context exposes `item` (the current row) and `index` (the zero-based row index). Ignored when `options` is used. |
721
+ | `valueKey` | string | - | Field used as the selected value. With `options` it names the value field (defaults to "value"). With `data` it names the field stored when an option is selected; omit it to store the whole row. Supports dotted paths (e.g. "user.id"). |
722
+ | `primaryKey` | string | - | Field used to match the current value (e.g. set with SetState) back to an option for highlighting. Defaults to `valueKey`. Set this when the stored value is the whole row but a single field (e.g. "id") uniquely identifies it. In the tree selectors it also serves as each node’s id, referenced by `parentKey`. Supports dotted paths. |
723
+ | `label` | object | - | Label properties. |
724
+ | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
725
+ | `label.colon` | boolean | `true` | Append label with colon. |
726
+ | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
727
+ | `label.title` | string | - | Label title - supports html. |
728
+ | `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
729
+ | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
730
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
731
+ | `label.tooltip.color` | string | - | Color of the tooltip icon. |
732
+ | `label.span` | number | - | Label inline span. |
733
+ | `label.disabled` | boolean | `false` | Hide input label. |
734
+ | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
735
+ | `label.inline` | boolean | `false` | Render input and label inline. |
736
+ | `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
737
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design checkbox tokens](https://ant.design/components/checkbox#design-token). |
738
+ | `theme.colorPrimary` | string | - | Primary color for checked checkboxes. |
739
+ | `theme.colorPrimaryHover` | string | - | Hover color for checked checkboxes. |
740
+ | `theme.colorBgContainer` | string | - | Background color for unchecked checkboxes. |
741
+ | `theme.colorBgContainerDisabled` | string | - | Background color for disabled checkboxes. |
742
+ | `theme.colorBorder` | string | - | Border color for unchecked checkboxes. |
743
+ | `theme.colorTextDisabled` | string | - | Text and checkmark color for disabled checkboxes. |
744
+ | `theme.controlInteractiveSize` | number | `16` | Size of the checkbox (width and height in pixels). |
745
+ | `theme.borderRadiusSM` | number | `4` | Border radius of the checkbox. |
746
+ | `theme.lineWidth` | number | `1` | Border width of the checkbox. |
747
+ | `theme.lineType` | string | `"solid"` | Border style of the checkbox. |
748
+ | `theme.fontSize` | number | `14` | Font size for checkbox labels. |
749
+ | `theme.marginXS` | number | `8` | Horizontal gap between checkboxes in a group. |
750
+ | `theme.paddingXS` | number | `8` | Inline padding between the checkbox and its label text. |
751
+
752
+ | Event | Event Data | Description |
753
+ | --- | --- | --- |
754
+ | `onChange` | `{ value }` | Trigger actions when selection is changed. |
755
+ | `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
756
+
757
+ | Key | Target |
758
+ | --- | --- |
759
+ | `/block` | Outer block wrapper (always available). |
760
+ | `/element` | The CheckboxSelector element. |
761
+ | `/label` | The CheckboxSelector label. |
762
+ | `/extra` | The CheckboxSelector extra content. |
763
+ | `/feedback` | The CheckboxSelector validation feedback. |
764
+
765
+ No slots defined.