@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.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,758 @@
|
|
|
1
|
+
# Button
|
|
2
|
+
|
|
3
|
+
Button with colors, variants, sizes, shapes, icons, ghost, and block modes.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: variant_solid
|
|
7
|
+
type: Button
|
|
8
|
+
layout:
|
|
9
|
+
flex: 0 0 auto
|
|
10
|
+
properties:
|
|
11
|
+
title: solid
|
|
12
|
+
color: primary
|
|
13
|
+
variant: solid
|
|
14
|
+
- id: variant_outlined
|
|
15
|
+
type: Button
|
|
16
|
+
layout:
|
|
17
|
+
flex: 0 0 auto
|
|
18
|
+
properties:
|
|
19
|
+
title: outlined
|
|
20
|
+
color: primary
|
|
21
|
+
variant: outlined
|
|
22
|
+
- id: variant_dashed
|
|
23
|
+
type: Button
|
|
24
|
+
layout:
|
|
25
|
+
flex: 0 0 auto
|
|
26
|
+
properties:
|
|
27
|
+
title: dashed
|
|
28
|
+
color: primary
|
|
29
|
+
variant: dashed
|
|
30
|
+
- id: variant_filled
|
|
31
|
+
type: Button
|
|
32
|
+
layout:
|
|
33
|
+
flex: 0 0 auto
|
|
34
|
+
properties:
|
|
35
|
+
title: filled
|
|
36
|
+
color: primary
|
|
37
|
+
variant: filled
|
|
38
|
+
- id: variant_text
|
|
39
|
+
type: Button
|
|
40
|
+
layout:
|
|
41
|
+
flex: 0 0 auto
|
|
42
|
+
properties:
|
|
43
|
+
title: text
|
|
44
|
+
color: primary
|
|
45
|
+
variant: text
|
|
46
|
+
- id: variant_link
|
|
47
|
+
type: Button
|
|
48
|
+
layout:
|
|
49
|
+
flex: 0 0 auto
|
|
50
|
+
properties:
|
|
51
|
+
title: link
|
|
52
|
+
color: primary
|
|
53
|
+
variant: link
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
- id: colors_preset_row
|
|
58
|
+
type: Box
|
|
59
|
+
layout:
|
|
60
|
+
gap: 6
|
|
61
|
+
justify: flex-start
|
|
62
|
+
blocks:
|
|
63
|
+
- id: color_primary
|
|
64
|
+
type: Button
|
|
65
|
+
layout:
|
|
66
|
+
flex: 0 0 auto
|
|
67
|
+
properties:
|
|
68
|
+
title: primary
|
|
69
|
+
color: primary
|
|
70
|
+
variant: solid
|
|
71
|
+
size: small
|
|
72
|
+
- id: color_danger
|
|
73
|
+
type: Button
|
|
74
|
+
layout:
|
|
75
|
+
flex: 0 0 auto
|
|
76
|
+
properties:
|
|
77
|
+
title: danger
|
|
78
|
+
color: danger
|
|
79
|
+
variant: solid
|
|
80
|
+
size: small
|
|
81
|
+
- id: color_blue
|
|
82
|
+
type: Button
|
|
83
|
+
layout:
|
|
84
|
+
flex: 0 0 auto
|
|
85
|
+
properties:
|
|
86
|
+
title: blue
|
|
87
|
+
color: blue
|
|
88
|
+
variant: solid
|
|
89
|
+
size: small
|
|
90
|
+
- id: color_green
|
|
91
|
+
type: Button
|
|
92
|
+
layout:
|
|
93
|
+
flex: 0 0 auto
|
|
94
|
+
properties:
|
|
95
|
+
title: green
|
|
96
|
+
color: green
|
|
97
|
+
variant: solid
|
|
98
|
+
size: small
|
|
99
|
+
- id: color_purple
|
|
100
|
+
type: Button
|
|
101
|
+
layout:
|
|
102
|
+
flex: 0 0 auto
|
|
103
|
+
properties:
|
|
104
|
+
title: purple
|
|
105
|
+
color: purple
|
|
106
|
+
variant: solid
|
|
107
|
+
size: small
|
|
108
|
+
- id: colors_hex_row
|
|
109
|
+
type: Box
|
|
110
|
+
layout:
|
|
111
|
+
gap: 6
|
|
112
|
+
justify: flex-start
|
|
113
|
+
blocks:
|
|
114
|
+
- id: hex_coral
|
|
115
|
+
type: Button
|
|
116
|
+
layout:
|
|
117
|
+
flex: 0 0 auto
|
|
118
|
+
properties:
|
|
119
|
+
title: "#ff6b6b"
|
|
120
|
+
color: "#ff6b6b"
|
|
121
|
+
variant: solid
|
|
122
|
+
size: small
|
|
123
|
+
- id: hex_teal
|
|
124
|
+
type: Button
|
|
125
|
+
layout:
|
|
126
|
+
flex: 0 0 auto
|
|
127
|
+
properties:
|
|
128
|
+
title: "#20c997"
|
|
129
|
+
color: "#20c997"
|
|
130
|
+
variant: solid
|
|
131
|
+
size: small
|
|
132
|
+
- id: hex_indigo
|
|
133
|
+
type: Button
|
|
134
|
+
layout:
|
|
135
|
+
flex: 0 0 auto
|
|
136
|
+
properties:
|
|
137
|
+
title: "#4c6ef5"
|
|
138
|
+
color: "#4c6ef5"
|
|
139
|
+
variant: solid
|
|
140
|
+
size: small
|
|
141
|
+
- id: colors_outlined_row
|
|
142
|
+
type: Box
|
|
143
|
+
layout:
|
|
144
|
+
gap: 6
|
|
145
|
+
justify: flex-start
|
|
146
|
+
blocks:
|
|
147
|
+
- id: co_primary
|
|
148
|
+
type: Button
|
|
149
|
+
layout:
|
|
150
|
+
flex: 0 0 auto
|
|
151
|
+
properties:
|
|
152
|
+
title: primary
|
|
153
|
+
color: primary
|
|
154
|
+
variant: outlined
|
|
155
|
+
size: small
|
|
156
|
+
- id: co_danger
|
|
157
|
+
type: Button
|
|
158
|
+
layout:
|
|
159
|
+
flex: 0 0 auto
|
|
160
|
+
properties:
|
|
161
|
+
title: danger
|
|
162
|
+
color: danger
|
|
163
|
+
variant: outlined
|
|
164
|
+
size: small
|
|
165
|
+
- id: co_hex_pink
|
|
166
|
+
type: Button
|
|
167
|
+
layout:
|
|
168
|
+
flex: 0 0 auto
|
|
169
|
+
properties:
|
|
170
|
+
title: "#e64980"
|
|
171
|
+
color: "#e64980"
|
|
172
|
+
variant: outlined
|
|
173
|
+
size: small
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
```yaml
|
|
177
|
+
- id: size_small
|
|
178
|
+
type: Button
|
|
179
|
+
layout:
|
|
180
|
+
flex: 0 0 auto
|
|
181
|
+
properties:
|
|
182
|
+
title: Small
|
|
183
|
+
size: small
|
|
184
|
+
color: primary
|
|
185
|
+
variant: solid
|
|
186
|
+
- id: size_default
|
|
187
|
+
type: Button
|
|
188
|
+
layout:
|
|
189
|
+
flex: 0 0 auto
|
|
190
|
+
properties:
|
|
191
|
+
title: Default
|
|
192
|
+
color: primary
|
|
193
|
+
variant: solid
|
|
194
|
+
- id: size_large
|
|
195
|
+
type: Button
|
|
196
|
+
layout:
|
|
197
|
+
flex: 0 0 auto
|
|
198
|
+
properties:
|
|
199
|
+
title: Large
|
|
200
|
+
size: large
|
|
201
|
+
color: primary
|
|
202
|
+
variant: solid
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
```yaml
|
|
206
|
+
- id: shape_square
|
|
207
|
+
type: Button
|
|
208
|
+
layout:
|
|
209
|
+
flex: 0 0 auto
|
|
210
|
+
properties:
|
|
211
|
+
title: Square (default)
|
|
212
|
+
color: primary
|
|
213
|
+
variant: solid
|
|
214
|
+
- id: shape_round
|
|
215
|
+
type: Button
|
|
216
|
+
layout:
|
|
217
|
+
flex: 0 0 auto
|
|
218
|
+
properties:
|
|
219
|
+
title: Round
|
|
220
|
+
shape: round
|
|
221
|
+
color: primary
|
|
222
|
+
variant: solid
|
|
223
|
+
- id: shape_circle
|
|
224
|
+
type: Button
|
|
225
|
+
layout:
|
|
226
|
+
flex: 0 0 auto
|
|
227
|
+
properties:
|
|
228
|
+
icon: AiOutlineSearch
|
|
229
|
+
shape: circle
|
|
230
|
+
color: primary
|
|
231
|
+
variant: solid
|
|
232
|
+
hideTitle: true
|
|
233
|
+
- id: shape_circle_outlined
|
|
234
|
+
type: Button
|
|
235
|
+
layout:
|
|
236
|
+
flex: 0 0 auto
|
|
237
|
+
properties:
|
|
238
|
+
icon: AiOutlinePlus
|
|
239
|
+
shape: circle
|
|
240
|
+
color: primary
|
|
241
|
+
variant: outlined
|
|
242
|
+
hideTitle: true
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
```yaml
|
|
246
|
+
- id: icon_download
|
|
247
|
+
type: Button
|
|
248
|
+
layout:
|
|
249
|
+
flex: 0 0 auto
|
|
250
|
+
properties:
|
|
251
|
+
title: Download
|
|
252
|
+
icon: AiOutlineDownload
|
|
253
|
+
color: primary
|
|
254
|
+
variant: solid
|
|
255
|
+
- id: icon_search
|
|
256
|
+
type: Button
|
|
257
|
+
layout:
|
|
258
|
+
flex: 0 0 auto
|
|
259
|
+
properties:
|
|
260
|
+
title: Search
|
|
261
|
+
icon: AiOutlineSearch
|
|
262
|
+
color: primary
|
|
263
|
+
variant: outlined
|
|
264
|
+
- id: icon_delete
|
|
265
|
+
type: Button
|
|
266
|
+
layout:
|
|
267
|
+
flex: 0 0 auto
|
|
268
|
+
properties:
|
|
269
|
+
title: Delete
|
|
270
|
+
icon: AiOutlineDelete
|
|
271
|
+
color: danger
|
|
272
|
+
variant: solid
|
|
273
|
+
- id: icon_only
|
|
274
|
+
type: Button
|
|
275
|
+
layout:
|
|
276
|
+
flex: 0 0 auto
|
|
277
|
+
properties:
|
|
278
|
+
icon: AiOutlineStar
|
|
279
|
+
color: gold
|
|
280
|
+
variant: filled
|
|
281
|
+
hideTitle: true
|
|
282
|
+
- id: icon_custom
|
|
283
|
+
type: Button
|
|
284
|
+
layout:
|
|
285
|
+
flex: 0 0 auto
|
|
286
|
+
properties:
|
|
287
|
+
title: Custom
|
|
288
|
+
icon:
|
|
289
|
+
name: AiOutlineThunderbolt
|
|
290
|
+
color: "#faad14"
|
|
291
|
+
color: primary
|
|
292
|
+
variant: outlined
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
```yaml
|
|
296
|
+
- id: ghost_bg
|
|
297
|
+
type: Box
|
|
298
|
+
class: bg-gradient-to-br from-teal-300 to-purple-400 p-4 rounded-lg
|
|
299
|
+
layout:
|
|
300
|
+
gap: 8
|
|
301
|
+
blocks:
|
|
302
|
+
- id: ghost_primary
|
|
303
|
+
type: Button
|
|
304
|
+
layout:
|
|
305
|
+
flex: 0 0 auto
|
|
306
|
+
properties:
|
|
307
|
+
title: Primary
|
|
308
|
+
ghost: true
|
|
309
|
+
color: primary
|
|
310
|
+
variant: solid
|
|
311
|
+
- id: ghost_default
|
|
312
|
+
type: Button
|
|
313
|
+
layout:
|
|
314
|
+
flex: 0 0 auto
|
|
315
|
+
properties:
|
|
316
|
+
title: Default
|
|
317
|
+
ghost: true
|
|
318
|
+
color: default
|
|
319
|
+
variant: solid
|
|
320
|
+
- id: ghost_danger
|
|
321
|
+
type: Button
|
|
322
|
+
layout:
|
|
323
|
+
flex: 0 0 auto
|
|
324
|
+
properties:
|
|
325
|
+
title: Danger
|
|
326
|
+
ghost: true
|
|
327
|
+
color: danger
|
|
328
|
+
variant: solid
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
```yaml
|
|
332
|
+
- id: block_primary
|
|
333
|
+
type: Button
|
|
334
|
+
properties:
|
|
335
|
+
title: Full Width Primary
|
|
336
|
+
block: true
|
|
337
|
+
color: primary
|
|
338
|
+
variant: solid
|
|
339
|
+
icon: AiOutlineArrowRight
|
|
340
|
+
- id: block_outlined
|
|
341
|
+
type: Button
|
|
342
|
+
properties:
|
|
343
|
+
title: Full Width Outlined
|
|
344
|
+
block: true
|
|
345
|
+
color: primary
|
|
346
|
+
variant: outlined
|
|
347
|
+
- id: block_danger
|
|
348
|
+
type: Button
|
|
349
|
+
properties:
|
|
350
|
+
title: Full Width Danger
|
|
351
|
+
block: true
|
|
352
|
+
color: danger
|
|
353
|
+
variant: solid
|
|
354
|
+
icon: AiOutlineWarning
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
```yaml
|
|
358
|
+
- id: dis_solid
|
|
359
|
+
type: Button
|
|
360
|
+
layout:
|
|
361
|
+
flex: 0 0 auto
|
|
362
|
+
properties:
|
|
363
|
+
title: Solid
|
|
364
|
+
disabled: true
|
|
365
|
+
color: primary
|
|
366
|
+
variant: solid
|
|
367
|
+
- id: dis_outlined
|
|
368
|
+
type: Button
|
|
369
|
+
layout:
|
|
370
|
+
flex: 0 0 auto
|
|
371
|
+
properties:
|
|
372
|
+
title: Outlined
|
|
373
|
+
disabled: true
|
|
374
|
+
color: primary
|
|
375
|
+
variant: outlined
|
|
376
|
+
- id: dis_text
|
|
377
|
+
type: Button
|
|
378
|
+
layout:
|
|
379
|
+
flex: 0 0 auto
|
|
380
|
+
properties:
|
|
381
|
+
title: Text
|
|
382
|
+
disabled: true
|
|
383
|
+
color: primary
|
|
384
|
+
variant: text
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
```yaml
|
|
388
|
+
- id: href_link
|
|
389
|
+
type: Button
|
|
390
|
+
layout:
|
|
391
|
+
flex: 0 0 auto
|
|
392
|
+
properties:
|
|
393
|
+
title: Visit Lowdefy
|
|
394
|
+
href: https://lowdefy.com
|
|
395
|
+
color: primary
|
|
396
|
+
variant: link
|
|
397
|
+
- id: href_solid
|
|
398
|
+
type: Button
|
|
399
|
+
layout:
|
|
400
|
+
flex: 0 0 auto
|
|
401
|
+
properties:
|
|
402
|
+
title: Go to Docs
|
|
403
|
+
href: https://docs.lowdefy.com
|
|
404
|
+
color: primary
|
|
405
|
+
variant: solid
|
|
406
|
+
icon: AiOutlineLink
|
|
407
|
+
- id: href_text
|
|
408
|
+
type: Button
|
|
409
|
+
layout:
|
|
410
|
+
flex: 0 0 auto
|
|
411
|
+
properties:
|
|
412
|
+
title: Learn more
|
|
413
|
+
href: https://lowdefy.com
|
|
414
|
+
color: default
|
|
415
|
+
variant: text
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
```yaml
|
|
419
|
+
- id: html_bold
|
|
420
|
+
type: Button
|
|
421
|
+
layout:
|
|
422
|
+
flex: 0 0 auto
|
|
423
|
+
properties:
|
|
424
|
+
title: <b>Bold</b> text
|
|
425
|
+
color: primary
|
|
426
|
+
variant: solid
|
|
427
|
+
- id: html_emoji
|
|
428
|
+
type: Button
|
|
429
|
+
layout:
|
|
430
|
+
flex: 0 0 auto
|
|
431
|
+
properties:
|
|
432
|
+
title: Launch 🚀
|
|
433
|
+
color: purple
|
|
434
|
+
variant: solid
|
|
435
|
+
- id: html_styled
|
|
436
|
+
type: Button
|
|
437
|
+
layout:
|
|
438
|
+
flex: 0 0 auto
|
|
439
|
+
properties:
|
|
440
|
+
title: '<span style="letter-spacing: 2px">SUBMIT</span>'
|
|
441
|
+
color: green
|
|
442
|
+
variant: solid
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
```yaml
|
|
446
|
+
- id: shortcut_save
|
|
447
|
+
type: Button
|
|
448
|
+
layout:
|
|
449
|
+
flex: 0 0 auto
|
|
450
|
+
properties:
|
|
451
|
+
title: Save
|
|
452
|
+
icon: AiOutlineSave
|
|
453
|
+
color: primary
|
|
454
|
+
variant: solid
|
|
455
|
+
events:
|
|
456
|
+
onClick:
|
|
457
|
+
shortcut: mod+shift+s
|
|
458
|
+
try:
|
|
459
|
+
- id: save_msg
|
|
460
|
+
type: DisplayMessage
|
|
461
|
+
params:
|
|
462
|
+
content: Saved!
|
|
463
|
+
status: success
|
|
464
|
+
- id: shortcut_new
|
|
465
|
+
type: Button
|
|
466
|
+
layout:
|
|
467
|
+
flex: 0 0 auto
|
|
468
|
+
properties:
|
|
469
|
+
title: New Item
|
|
470
|
+
icon: AiOutlinePlus
|
|
471
|
+
color: primary
|
|
472
|
+
variant: outlined
|
|
473
|
+
events:
|
|
474
|
+
onClick:
|
|
475
|
+
shortcut: alt+n
|
|
476
|
+
try:
|
|
477
|
+
- id: new_msg
|
|
478
|
+
type: DisplayMessage
|
|
479
|
+
params:
|
|
480
|
+
content: Creating new item...
|
|
481
|
+
status: info
|
|
482
|
+
- id: shortcut_delete
|
|
483
|
+
type: Button
|
|
484
|
+
layout:
|
|
485
|
+
flex: 0 0 auto
|
|
486
|
+
properties:
|
|
487
|
+
title: Delete
|
|
488
|
+
icon: AiOutlineDelete
|
|
489
|
+
color: danger
|
|
490
|
+
variant: solid
|
|
491
|
+
events:
|
|
492
|
+
onClick:
|
|
493
|
+
shortcut: mod+shift+d
|
|
494
|
+
try:
|
|
495
|
+
- id: delete_msg
|
|
496
|
+
type: DisplayMessage
|
|
497
|
+
params:
|
|
498
|
+
content: Item deleted
|
|
499
|
+
status: warning
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
```yaml
|
|
503
|
+
- id: css_shadow
|
|
504
|
+
type: Button
|
|
505
|
+
layout:
|
|
506
|
+
flex: 0 0 auto
|
|
507
|
+
class: shadow-lg
|
|
508
|
+
properties:
|
|
509
|
+
title: Shadow
|
|
510
|
+
color: primary
|
|
511
|
+
variant: solid
|
|
512
|
+
- id: css_rounded
|
|
513
|
+
type: Button
|
|
514
|
+
layout:
|
|
515
|
+
flex: 0 0 auto
|
|
516
|
+
class: rounded-full
|
|
517
|
+
properties:
|
|
518
|
+
title: Rounded Full
|
|
519
|
+
color: purple
|
|
520
|
+
variant: solid
|
|
521
|
+
- id: css_gradient_bg
|
|
522
|
+
type: Box
|
|
523
|
+
class: bg-gradient-to-r from-slate-900 to-slate-700 p-4 rounded-lg
|
|
524
|
+
layout:
|
|
525
|
+
gap: 8
|
|
526
|
+
blocks:
|
|
527
|
+
- id: css_on_dark_solid
|
|
528
|
+
type: Button
|
|
529
|
+
layout:
|
|
530
|
+
flex: 0 0 auto
|
|
531
|
+
properties:
|
|
532
|
+
title: On Dark
|
|
533
|
+
color: primary
|
|
534
|
+
variant: solid
|
|
535
|
+
- id: css_on_dark_ghost
|
|
536
|
+
type: Button
|
|
537
|
+
layout:
|
|
538
|
+
flex: 0 0 auto
|
|
539
|
+
properties:
|
|
540
|
+
title: Ghost
|
|
541
|
+
ghost: true
|
|
542
|
+
color: primary
|
|
543
|
+
variant: outlined
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
```yaml
|
|
547
|
+
- id: theme_radius
|
|
548
|
+
type: Button
|
|
549
|
+
layout:
|
|
550
|
+
flex: 0 0 auto
|
|
551
|
+
properties:
|
|
552
|
+
title: Large Radius
|
|
553
|
+
color: primary
|
|
554
|
+
variant: solid
|
|
555
|
+
theme:
|
|
556
|
+
borderRadius: 20
|
|
557
|
+
- id: theme_font
|
|
558
|
+
type: Button
|
|
559
|
+
layout:
|
|
560
|
+
flex: 0 0 auto
|
|
561
|
+
properties:
|
|
562
|
+
title: Large Font
|
|
563
|
+
color: primary
|
|
564
|
+
variant: solid
|
|
565
|
+
theme:
|
|
566
|
+
fontSize: 18
|
|
567
|
+
- id: theme_pill
|
|
568
|
+
type: Button
|
|
569
|
+
layout:
|
|
570
|
+
flex: 0 0 auto
|
|
571
|
+
properties:
|
|
572
|
+
title: Pill Button
|
|
573
|
+
color: green
|
|
574
|
+
variant: solid
|
|
575
|
+
size: large
|
|
576
|
+
theme:
|
|
577
|
+
borderRadius: 40
|
|
578
|
+
controlHeight: 48
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
```yaml
|
|
582
|
+
- id: contact_card
|
|
583
|
+
type: Card
|
|
584
|
+
properties:
|
|
585
|
+
title: Contact Us
|
|
586
|
+
size: small
|
|
587
|
+
blocks:
|
|
588
|
+
- id: contact_name
|
|
589
|
+
type: TextInput
|
|
590
|
+
required: true
|
|
591
|
+
properties:
|
|
592
|
+
label:
|
|
593
|
+
title: Name
|
|
594
|
+
placeholder: Your full name
|
|
595
|
+
- id: contact_email
|
|
596
|
+
type: TextInput
|
|
597
|
+
required: true
|
|
598
|
+
properties:
|
|
599
|
+
label:
|
|
600
|
+
title: Email
|
|
601
|
+
placeholder: you@example.com
|
|
602
|
+
- id: contact_message
|
|
603
|
+
type: TextArea
|
|
604
|
+
required: true
|
|
605
|
+
properties:
|
|
606
|
+
label:
|
|
607
|
+
title: Message
|
|
608
|
+
placeholder: How can we help?
|
|
609
|
+
rows: 4
|
|
610
|
+
- id: contact_actions
|
|
611
|
+
type: Box
|
|
612
|
+
layout:
|
|
613
|
+
gap: 8
|
|
614
|
+
justify: flex-end
|
|
615
|
+
blocks:
|
|
616
|
+
- id: contact_cancel
|
|
617
|
+
type: Button
|
|
618
|
+
layout:
|
|
619
|
+
flex: 0 0 auto
|
|
620
|
+
properties:
|
|
621
|
+
title: Cancel
|
|
622
|
+
color: default
|
|
623
|
+
variant: outlined
|
|
624
|
+
events:
|
|
625
|
+
onClick:
|
|
626
|
+
- id: cancel_reset
|
|
627
|
+
type: ResetValidation
|
|
628
|
+
- id: cancel_msg
|
|
629
|
+
type: DisplayMessage
|
|
630
|
+
params:
|
|
631
|
+
content: Form cleared
|
|
632
|
+
status: info
|
|
633
|
+
- id: contact_submit
|
|
634
|
+
type: Button
|
|
635
|
+
layout:
|
|
636
|
+
flex: 0 0 auto
|
|
637
|
+
properties:
|
|
638
|
+
title: Send Message
|
|
639
|
+
color: primary
|
|
640
|
+
variant: solid
|
|
641
|
+
icon: AiOutlineSend
|
|
642
|
+
events:
|
|
643
|
+
onClick:
|
|
644
|
+
- id: submit_validate
|
|
645
|
+
type: Validate
|
|
646
|
+
params:
|
|
647
|
+
- contact_name
|
|
648
|
+
- contact_email
|
|
649
|
+
- contact_message
|
|
650
|
+
- id: submit_msg
|
|
651
|
+
type: DisplayMessage
|
|
652
|
+
params:
|
|
653
|
+
content: Message sent successfully!
|
|
654
|
+
status: success
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
```yaml
|
|
658
|
+
- id: confirm_card
|
|
659
|
+
type: Card
|
|
660
|
+
blocks:
|
|
661
|
+
- id: confirm_result
|
|
662
|
+
type: Result
|
|
663
|
+
properties:
|
|
664
|
+
status: warning
|
|
665
|
+
title: Delete Project?
|
|
666
|
+
subTitle: This action cannot be undone. All files, settings, and deployment
|
|
667
|
+
history will be permanently removed.
|
|
668
|
+
- id: confirm_actions
|
|
669
|
+
type: Box
|
|
670
|
+
layout:
|
|
671
|
+
gap: 8
|
|
672
|
+
justify: center
|
|
673
|
+
blocks:
|
|
674
|
+
- id: confirm_keep
|
|
675
|
+
type: Button
|
|
676
|
+
layout:
|
|
677
|
+
flex: 0 0 auto
|
|
678
|
+
properties:
|
|
679
|
+
title: Keep Project
|
|
680
|
+
color: default
|
|
681
|
+
variant: outlined
|
|
682
|
+
events:
|
|
683
|
+
onClick:
|
|
684
|
+
- id: keep_msg
|
|
685
|
+
type: DisplayMessage
|
|
686
|
+
params:
|
|
687
|
+
content: Project kept. No changes made.
|
|
688
|
+
status: info
|
|
689
|
+
- id: confirm_delete
|
|
690
|
+
type: Button
|
|
691
|
+
layout:
|
|
692
|
+
flex: 0 0 auto
|
|
693
|
+
properties:
|
|
694
|
+
title: Delete Permanently
|
|
695
|
+
color: danger
|
|
696
|
+
variant: solid
|
|
697
|
+
icon: AiOutlineDelete
|
|
698
|
+
events:
|
|
699
|
+
onClick:
|
|
700
|
+
- id: delete_msg
|
|
701
|
+
type: DisplayMessage
|
|
702
|
+
params:
|
|
703
|
+
content: Project deleted.
|
|
704
|
+
status: success
|
|
705
|
+
- id: delete_nav
|
|
706
|
+
type: Link
|
|
707
|
+
params:
|
|
708
|
+
pageId: introduction
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
| Property | Type | Default | Description |
|
|
712
|
+
| --- | --- | --- | --- |
|
|
713
|
+
| `block` | boolean | `false` | Fit the button's span to its parent container span. |
|
|
714
|
+
| `color` | string | - | Button color. Preset values: default, primary, danger, blue, purple, cyan, green, magenta, pink, red, orange, yellow, volcano, geekblue, lime, gold. Also accepts custom hex color strings. |
|
|
715
|
+
| `danger` | boolean | `false` | Set button style to danger. |
|
|
716
|
+
| `disabled` | boolean | `false` | Disable the button if true. |
|
|
717
|
+
| `ghost` | boolean | `false` | Make the button's background transparent when true. |
|
|
718
|
+
| `hideTitle` | boolean | `false` | Hide the button's title. |
|
|
719
|
+
| `href` | string | - | The URL to redirect to when the button is clicked. Useful when used with a type link button. |
|
|
720
|
+
| `icon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to use icon in button. |
|
|
721
|
+
| `shape` | string | `"square"` | Shape of the button. Enum: `circle`, `round`, `square`. |
|
|
722
|
+
| `size` | string | `"default"` | Size of the button. Enum: `small`, `default`, `large`. |
|
|
723
|
+
| `title` | string | - | Title text on the button - supports html. |
|
|
724
|
+
| `type` | string | `"primary"` | Deprecated - use color and variant instead. The button type. Enum: `primary`, `default`, `dashed`, `link`, `text`. |
|
|
725
|
+
| `variant` | string | - | Button visual variant. When set, takes precedence over type. Enum: `solid`, `outlined`, `dashed`, `filled`, `text`, `link`. |
|
|
726
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design button tokens](https://ant.design/components/button#design-token). |
|
|
727
|
+
| `theme.borderRadius` | number | `6` | Border radius of the button. |
|
|
728
|
+
| `theme.borderRadiusLG` | number | `8` | Border radius for large buttons. |
|
|
729
|
+
| `theme.borderRadiusSM` | number | `4` | Border radius for small buttons. |
|
|
730
|
+
| `theme.controlHeight` | number | `32` | Height of the button. |
|
|
731
|
+
| `theme.controlHeightLG` | number | `40` | Height for large buttons. |
|
|
732
|
+
| `theme.controlHeightSM` | number | `24` | Height for small buttons. |
|
|
733
|
+
| `theme.fontSize` | number | `14` | Font size. |
|
|
734
|
+
| `theme.fontSizeLG` | number | `16` | Font size for large buttons. |
|
|
735
|
+
| `theme.fontSizeSM` | number | `14` | Font size for small buttons. |
|
|
736
|
+
| `theme.lineWidth` | number | `1` | Border width. |
|
|
737
|
+
| `theme.paddingInline` | number | `15` | Horizontal padding. |
|
|
738
|
+
| `theme.paddingInlineLG` | number | `15` | Horizontal padding for large buttons. |
|
|
739
|
+
| `theme.paddingInlineSM` | number | `7` | Horizontal padding for small buttons. |
|
|
740
|
+
| `theme.paddingBlock` | number | `0` | Vertical padding. |
|
|
741
|
+
| `theme.colorPrimary` | string | - | Primary color override. |
|
|
742
|
+
| `theme.colorPrimaryHover` | string | - | Primary hover color. |
|
|
743
|
+
| `theme.colorPrimaryActive` | string | - | Primary active color. |
|
|
744
|
+
| `theme.colorBgContainer` | string | - | Background color for default buttons. |
|
|
745
|
+
| `theme.colorText` | string | - | Text color for default buttons. |
|
|
746
|
+
| `theme.colorBorder` | string | - | Border color for outlined and dashed buttons. |
|
|
747
|
+
|
|
748
|
+
| Event | Event Data | Description |
|
|
749
|
+
| --- | --- | --- |
|
|
750
|
+
| `onClick` | \- | Trigger action when button is clicked. Renders a shortcut badge when a shortcut is configured. |
|
|
751
|
+
|
|
752
|
+
| Key | Target |
|
|
753
|
+
| --- | --- |
|
|
754
|
+
| `/block` | Outer block wrapper (always available). |
|
|
755
|
+
| `/element` | The Button element. |
|
|
756
|
+
| `/icon` | The icon in the Button. |
|
|
757
|
+
|
|
758
|
+
No slots defined.
|