@adia-ai/a2ui-corpus 0.7.19 → 0.7.21
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/CHANGELOG.md +17 -0
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +8208 -4773
- package/chunks/admin-shell-rounded-borderless.json +280 -0
- package/chunks/admin-shell-standard.json +303 -0
- package/chunks/agent-artifact-stub-card.json +115 -0
- package/chunks/agent-citations-source-chips.json +78 -0
- package/chunks/agent-pipeline-status-stages.json +69 -0
- package/chunks/agent-tool-call-accordion.json +109 -0
- package/chunks/avatar-stack-overflow.json +124 -0
- package/chunks/billing-cancel-subscription-danger.json +61 -0
- package/chunks/billing-invoice-history-table.json +75 -0
- package/chunks/billing-payment-method-card-on-file.json +157 -0
- package/chunks/bulk-selection-actions-bar.json +161 -0
- package/chunks/business-address-form.json +950 -0
- package/chunks/card-with-empty-state.json +96 -0
- package/chunks/card-with-form.json +143 -0
- package/chunks/card-with-sparkline.json +90 -0
- package/chunks/card-with-stat-kpi.json +95 -0
- package/chunks/chat-empty-state-hero.json +102 -0
- package/chunks/chat-message-assistant-byline.json +85 -0
- package/chunks/chat-message-user-byline.json +84 -0
- package/chunks/checkout-order-summary-card.json +140 -0
- package/chunks/col-form-stack.json +93 -0
- package/chunks/col-heading-body-action.json +79 -0
- package/chunks/col-stat-label.json +72 -0
- package/chunks/contact-form-card.json +197 -0
- package/chunks/contact-support-form.json +699 -0
- package/chunks/cta-banner-centered.json +102 -0
- package/chunks/data-import-wizard.json +12 -3
- package/chunks/departments-checkbox-form.json +387 -0
- package/chunks/drawer-record-detail.json +44 -0
- package/chunks/drawer-with-create-form.json +43 -0
- package/chunks/editor-statusbar-ready.json +99 -0
- package/chunks/editor-toolbar-import-export.json +195 -0
- package/chunks/extended-profile-form.json +509 -0
- package/chunks/feature-grid-three-cards.json +187 -0
- package/chunks/feature-toggle-switch-grid.json +213 -0
- package/chunks/file-upload-field.json +97 -0
- package/chunks/file-upload-form.json +248 -0
- package/chunks/form-field-with-error.json +151 -0
- package/chunks/grid-2col-entry-cards.json +158 -0
- package/chunks/grid-kpi-4col.json +164 -0
- package/chunks/grid-responsive-kpi.json +165 -0
- package/chunks/image-thumbnail-grid.json +77 -0
- package/chunks/integrations-api-keys-card-list.json +475 -0
- package/chunks/integrations-connect-form.json +547 -0
- package/chunks/integrations-webhooks-empty-state.json +66 -0
- package/chunks/key-value-detail-list.json +172 -0
- package/chunks/library-browser-search-filter.json +109 -0
- package/chunks/login-form-card.json +207 -0
- package/chunks/logo-cloud-trusted-by.json +235 -0
- package/chunks/map-with-location-list.json +291 -0
- package/chunks/marketing-page-shell.json +45 -11
- package/chunks/members-active-table-search-filter.json +184 -0
- package/chunks/members-pending-invites-cards.json +251 -0
- package/chunks/members-roles-permissions-list.json +104 -0
- package/chunks/multi-field-form-validation.json +391 -0
- package/chunks/order-confirmation-success-card.json +177 -0
- package/chunks/payment-checkout-form.json +338 -0
- package/chunks/plan-selection-form.json +526 -0
- package/chunks/rating-stars-review-summary.json +258 -0
- package/chunks/reg-step-shell.json +12 -3
- package/chunks/responsive-shell-sidebar.json +79 -0
- package/chunks/row-action-cluster.json +54 -0
- package/chunks/row-avatar-name-role.json +71 -0
- package/chunks/row-icon-label.json +52 -0
- package/chunks/row-spread-label-value.json +54 -0
- package/chunks/row-wrap-tags.json +112 -0
- package/chunks/schedule-meeting-form-card.json +229 -0
- package/chunks/searchable-picker-modal.json +164 -0
- package/chunks/security-active-sessions-devices.json +287 -0
- package/chunks/security-change-password-form.json +102 -0
- package/chunks/security-delete-account-danger.json +79 -0
- package/chunks/settings-admin-page.json +61 -34
- package/chunks/settings-danger-zone-delete-workspace.json +93 -0
- package/chunks/settings-notification-activity-checkboxes.json +108 -0
- package/chunks/settings-notification-channels-switches.json +101 -0
- package/chunks/signup-form-card.json +218 -0
- package/chunks/signup-team-size-form.json +256 -0
- package/chunks/single-select-card-form.json +228 -0
- package/chunks/stack-avatar-badge-overlay.json +53 -0
- package/chunks/stack-image-shimmer.json +51 -0
- package/chunks/stats-band-big-numbers.json +175 -0
- package/chunks/subscription-status-renewal-card.json +229 -0
- package/chunks/table-empty-state.json +116 -0
- package/chunks/table-toolbar-no-search.json +38 -0
- package/chunks/table-toolbar-with-table.json +231 -0
- package/chunks/table-with-toolbar-card.json +76 -0
- package/chunks/team-invite-form.json +377 -0
- package/chunks/testimonial-pull-quote.json +129 -0
- package/chunks/url-import-form.json +725 -0
- package/chunks/usage-quota-meter-card.json +217 -0
- package/package.json +1 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "checkout-order-summary-card",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "card-ui",
|
|
5
|
+
"page": "/playgrounds/composed-flow/app/composed-flow.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {},
|
|
9
|
+
"html": "<card-ui\n id=\"summary-card\">\n <header slot=\"heading\">Order summary</header>\n <section>\n <col-ui gap=\"3\">\n <list-ui spacing=\"sm\" divider>\n <list-item-ui icon=\"package\" text=\"Aurora cardholder\" description=\"Slim wallet, vegetable-tanned\"></list-item-ui>\n <list-item-ui icon=\"package\" text=\"Engraving — KG\" description=\"Hand-stamped\"></list-item-ui>\n <list-item-ui icon=\"truck\" text=\"Standard shipping\" description=\"3–5 business days\"></list-item-ui>\n </list-ui>\n <row-ui gap=\"3\" align=\"center\" justify=\"between\">\n <text-ui variant=\"caption\">Total (USD)</text-ui>\n <text-ui id=\"summary-total\" variant=\"display\" size=\"md\">$96.12</text-ui>\n </row-ui>\n </col-ui>\n </section>\n </card-ui>",
|
|
10
|
+
"source": "playgrounds/composed-flow/app/composed-flow.contents.html",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "billing",
|
|
13
|
+
"description": "Checkout order-summary card — a card listing the line items being purchased (each an icon, product name, and detail) above a divider and a right-aligned grand total. The 'what you're paying for' panel beside a payment form at checkout.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"checkout",
|
|
16
|
+
"order",
|
|
17
|
+
"summary",
|
|
18
|
+
"cart",
|
|
19
|
+
"line",
|
|
20
|
+
"items",
|
|
21
|
+
"products",
|
|
22
|
+
"purchase",
|
|
23
|
+
"total",
|
|
24
|
+
"cost",
|
|
25
|
+
"price",
|
|
26
|
+
"subtotal",
|
|
27
|
+
"review",
|
|
28
|
+
"basket",
|
|
29
|
+
"bag",
|
|
30
|
+
"receipt",
|
|
31
|
+
"order",
|
|
32
|
+
"details",
|
|
33
|
+
"billing",
|
|
34
|
+
"list",
|
|
35
|
+
"items",
|
|
36
|
+
"shipping",
|
|
37
|
+
"grand",
|
|
38
|
+
"total",
|
|
39
|
+
"ecommerce",
|
|
40
|
+
"buy"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"captured_at": "2026-06-10T16:56:21.616Z",
|
|
44
|
+
"template": [
|
|
45
|
+
{
|
|
46
|
+
"id": "text",
|
|
47
|
+
"component": "Text",
|
|
48
|
+
"textContent": "Order summary",
|
|
49
|
+
"variant": "body"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "header",
|
|
53
|
+
"component": "Header",
|
|
54
|
+
"slot": "heading",
|
|
55
|
+
"children": [
|
|
56
|
+
"text"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "list-item",
|
|
61
|
+
"component": "ListItem",
|
|
62
|
+
"description": "Slim wallet, vegetable-tanned",
|
|
63
|
+
"icon": "package",
|
|
64
|
+
"text": "Aurora cardholder"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "list-item-2",
|
|
68
|
+
"component": "ListItem",
|
|
69
|
+
"description": "Hand-stamped",
|
|
70
|
+
"icon": "package",
|
|
71
|
+
"text": "Engraving — KG"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "list-item-3",
|
|
75
|
+
"component": "ListItem",
|
|
76
|
+
"description": "3–5 business days",
|
|
77
|
+
"icon": "truck",
|
|
78
|
+
"text": "Standard shipping"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "list",
|
|
82
|
+
"component": "List",
|
|
83
|
+
"divider": true,
|
|
84
|
+
"spacing": "sm",
|
|
85
|
+
"children": [
|
|
86
|
+
"list-item",
|
|
87
|
+
"list-item-2",
|
|
88
|
+
"list-item-3"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "text-2",
|
|
93
|
+
"component": "Text",
|
|
94
|
+
"variant": "caption",
|
|
95
|
+
"textContent": "Total (USD)"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "summary-total",
|
|
99
|
+
"component": "Text",
|
|
100
|
+
"size": "md",
|
|
101
|
+
"variant": "display",
|
|
102
|
+
"textContent": "$96.12"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "row",
|
|
106
|
+
"component": "Row",
|
|
107
|
+
"align": "center",
|
|
108
|
+
"gap": "3",
|
|
109
|
+
"justify": "between",
|
|
110
|
+
"children": [
|
|
111
|
+
"text-2",
|
|
112
|
+
"summary-total"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "column",
|
|
117
|
+
"component": "Column",
|
|
118
|
+
"gap": "3",
|
|
119
|
+
"children": [
|
|
120
|
+
"list",
|
|
121
|
+
"row"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "section",
|
|
126
|
+
"component": "Section",
|
|
127
|
+
"children": [
|
|
128
|
+
"column"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "root",
|
|
133
|
+
"component": "Card",
|
|
134
|
+
"children": [
|
|
135
|
+
"header",
|
|
136
|
+
"section"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "col-form-stack",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/col/col.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "form field stack"
|
|
11
|
+
},
|
|
12
|
+
"html": "<col-ui gap=\"3\">\n <field-ui label=\"Full name\">\n <input-ui placeholder=\"Maya Chen\"></input-ui>\n </field-ui>\n <field-ui label=\"Email\">\n <input-ui type=\"email\" placeholder=\"maya@example.com\"></input-ui>\n </field-ui>\n <field-ui label=\"Role\">\n <select-ui value=\"member\">\n <option value=\"admin\">Admin</option>\n <option value=\"member\">Member</option>\n </select-ui>\n </field-ui>\n </col-ui>",
|
|
13
|
+
"source": "packages/web-components/components/col/col.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "forms",
|
|
16
|
+
"description": "Vertical form field stack — col-ui wrapping labeled inputs with consistent gap. The canonical form layout.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"col",
|
|
19
|
+
"column",
|
|
20
|
+
"form",
|
|
21
|
+
"fields",
|
|
22
|
+
"stack",
|
|
23
|
+
"vertical",
|
|
24
|
+
"gap",
|
|
25
|
+
"input",
|
|
26
|
+
"layout",
|
|
27
|
+
"stacked"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
31
|
+
"template": [
|
|
32
|
+
{
|
|
33
|
+
"id": "input",
|
|
34
|
+
"component": "Input",
|
|
35
|
+
"placeholder": "Maya Chen"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "field",
|
|
39
|
+
"component": "Field",
|
|
40
|
+
"label": "Full name",
|
|
41
|
+
"children": [
|
|
42
|
+
"input"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "input-2",
|
|
47
|
+
"component": "Input",
|
|
48
|
+
"type": "email",
|
|
49
|
+
"placeholder": "maya@example.com"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "field-2",
|
|
53
|
+
"component": "Field",
|
|
54
|
+
"label": "Email",
|
|
55
|
+
"children": [
|
|
56
|
+
"input-2"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "choice-picker",
|
|
61
|
+
"component": "ChoicePicker",
|
|
62
|
+
"value": "member",
|
|
63
|
+
"options": [
|
|
64
|
+
{
|
|
65
|
+
"value": "admin",
|
|
66
|
+
"label": "Admin"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"value": "member",
|
|
70
|
+
"label": "Member"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "field-3",
|
|
76
|
+
"component": "Field",
|
|
77
|
+
"label": "Role",
|
|
78
|
+
"children": [
|
|
79
|
+
"choice-picker"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "root",
|
|
84
|
+
"component": "Column",
|
|
85
|
+
"gap": "3",
|
|
86
|
+
"children": [
|
|
87
|
+
"field",
|
|
88
|
+
"field-2",
|
|
89
|
+
"field-3"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "col-heading-body-action",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/col/col.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "heading + body + action stack"
|
|
11
|
+
},
|
|
12
|
+
"html": "<col-ui gap=\"3\">\n <text-ui variant=\"heading\">Confirm deletion</text-ui>\n <text-ui>This will permanently delete the record and all associated data. This action cannot be undone.</text-ui>\n <row-ui gap=\"2\" justify=\"end\">\n <button-ui text=\"Cancel\" variant=\"ghost\"></button-ui>\n <button-ui text=\"Delete\" variant=\"primary\" color=\"danger\"></button-ui>\n </row-ui>\n </col-ui>",
|
|
13
|
+
"source": "packages/web-components/components/col/col.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "layout",
|
|
16
|
+
"description": "Content stack — heading, body text, and CTA button stacked vertically. Common inside cards, modals, and empty states.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"col",
|
|
19
|
+
"column",
|
|
20
|
+
"heading",
|
|
21
|
+
"body",
|
|
22
|
+
"text",
|
|
23
|
+
"action",
|
|
24
|
+
"cta",
|
|
25
|
+
"button",
|
|
26
|
+
"content",
|
|
27
|
+
"stack",
|
|
28
|
+
"vertical",
|
|
29
|
+
"card"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
33
|
+
"template": [
|
|
34
|
+
{
|
|
35
|
+
"id": "text",
|
|
36
|
+
"component": "Text",
|
|
37
|
+
"variant": "heading",
|
|
38
|
+
"textContent": "Confirm deletion"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "text-2",
|
|
42
|
+
"component": "Text",
|
|
43
|
+
"textContent": "This will permanently delete the record and all associated data. This action cannot be undone."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "button",
|
|
47
|
+
"component": "Button",
|
|
48
|
+
"text": "Cancel",
|
|
49
|
+
"variant": "ghost"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "button-2",
|
|
53
|
+
"component": "Button",
|
|
54
|
+
"color": "danger",
|
|
55
|
+
"text": "Delete",
|
|
56
|
+
"variant": "primary"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "row",
|
|
60
|
+
"component": "Row",
|
|
61
|
+
"gap": "2",
|
|
62
|
+
"justify": "end",
|
|
63
|
+
"children": [
|
|
64
|
+
"button",
|
|
65
|
+
"button-2"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "root",
|
|
70
|
+
"component": "Column",
|
|
71
|
+
"gap": "3",
|
|
72
|
+
"children": [
|
|
73
|
+
"text",
|
|
74
|
+
"text-2",
|
|
75
|
+
"row"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "col-stat-label",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "div",
|
|
5
|
+
"page": "/packages/web-components/components/col/col.examples.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {
|
|
9
|
+
"data-artifact-item": "",
|
|
10
|
+
"data-artifact-label": "stat + label stack"
|
|
11
|
+
},
|
|
12
|
+
"html": "<col-ui gap=\"1\" align=\"center\">\n <text-ui variant=\"display\">$12,400</text-ui>\n <text-ui variant=\"caption\">Monthly revenue</text-ui>\n <tag-ui size=\"sm\" variant=\"success\">↑ 8.4%</tag-ui>\n </col-ui>",
|
|
13
|
+
"source": "packages/web-components/components/col/col.examples.html",
|
|
14
|
+
"metadata": {
|
|
15
|
+
"domain": "data",
|
|
16
|
+
"description": "KPI stack — metric value above label. Used in stat cards, dashboard widgets, and analytics tiles.",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"col",
|
|
19
|
+
"column",
|
|
20
|
+
"stat",
|
|
21
|
+
"kpi",
|
|
22
|
+
"metric",
|
|
23
|
+
"value",
|
|
24
|
+
"label",
|
|
25
|
+
"number",
|
|
26
|
+
"analytics",
|
|
27
|
+
"dashboard",
|
|
28
|
+
"widget"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"captured_at": "2026-06-10T20:25:14.783Z",
|
|
32
|
+
"template": [
|
|
33
|
+
{
|
|
34
|
+
"id": "text",
|
|
35
|
+
"component": "Text",
|
|
36
|
+
"variant": "display",
|
|
37
|
+
"textContent": "$12,400"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "text-2",
|
|
41
|
+
"component": "Text",
|
|
42
|
+
"variant": "caption",
|
|
43
|
+
"textContent": "Monthly revenue"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "text-3",
|
|
47
|
+
"component": "Text",
|
|
48
|
+
"textContent": "↑ 8.4%",
|
|
49
|
+
"variant": "body"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "tag",
|
|
53
|
+
"component": "Tag",
|
|
54
|
+
"size": "sm",
|
|
55
|
+
"variant": "success",
|
|
56
|
+
"children": [
|
|
57
|
+
"text-3"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "root",
|
|
62
|
+
"component": "Column",
|
|
63
|
+
"align": "center",
|
|
64
|
+
"gap": "1",
|
|
65
|
+
"children": [
|
|
66
|
+
"text",
|
|
67
|
+
"text-2",
|
|
68
|
+
"tag"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "contact-form-card",
|
|
3
|
+
"kind": "block",
|
|
4
|
+
"primary": "card-ui",
|
|
5
|
+
"page": "/catalog/ui-patterns/v050-form-blocks/v050-form-blocks.contents.html",
|
|
6
|
+
"slots": [],
|
|
7
|
+
"nested": [],
|
|
8
|
+
"attrs": {},
|
|
9
|
+
"html": "<card-ui>\n <header>\n <h3>Get in touch</h3>\n <p slot=\"description\">Tell us what you need and we'll reply within one business day.</p>\n </header>\n <section>\n <col-ui gap=\"4\">\n <grid-ui columns=\"1 2@sm\" gap=\"3\">\n <field-ui label=\"Name\">\n <input-ui name=\"name\" autocomplete=\"name\" placeholder=\"Jane Doe\" required></input-ui>\n </field-ui>\n <field-ui label=\"Email\">\n <input-ui type=\"email\" name=\"email\" autocomplete=\"email\" placeholder=\"jane@acme.com\" required></input-ui>\n </field-ui>\n </grid-ui>\n <field-ui label=\"Subject\">\n <input-ui name=\"subject\" placeholder=\"How can we help?\" required></input-ui>\n </field-ui>\n <field-ui label=\"Message\" hint=\"The more detail you give, the faster we can help.\">\n <textarea-ui name=\"message\" rows=\"4\" placeholder=\"Tell us more…\" required></textarea-ui>\n </field-ui>\n </col-ui>\n </section>\n <footer>\n <row-ui gap=\"3\" justify=\"flex-end\">\n <button-ui text=\"Clear\" variant=\"outline\" type=\"reset\"></button-ui>\n <button-ui text=\"Send message\" variant=\"primary\" type=\"submit\" icon=\"paper-plane-tilt\"></button-ui>\n </row-ui>\n </footer>\n </card-ui>",
|
|
10
|
+
"source": "catalog/ui-patterns/v050-form-blocks/v050-form-blocks.contents.html",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"domain": "forms",
|
|
13
|
+
"description": "Canonical full contact form card with both submit and reset actions — heading and subheading, name and email fields in a responsive two-column grid, a subject field, a message textarea, and a footer with a Send message primary button and a Clear (reset) secondary button. The complete form composition (header + fields + dual-action footer). Use for 'contact form', 'contact us form', 'form with submit and reset', 'message form'.",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"contact",
|
|
16
|
+
"form",
|
|
17
|
+
"contact-us",
|
|
18
|
+
"message",
|
|
19
|
+
"name",
|
|
20
|
+
"email",
|
|
21
|
+
"subject",
|
|
22
|
+
"textarea",
|
|
23
|
+
"send",
|
|
24
|
+
"submit",
|
|
25
|
+
"reset",
|
|
26
|
+
"clear",
|
|
27
|
+
"two-column",
|
|
28
|
+
"grid",
|
|
29
|
+
"field",
|
|
30
|
+
"input",
|
|
31
|
+
"label",
|
|
32
|
+
"complete",
|
|
33
|
+
"card",
|
|
34
|
+
"heading",
|
|
35
|
+
"footer",
|
|
36
|
+
"dual-action",
|
|
37
|
+
"full-form"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"captured_at": "2026-06-10T14:28:57.979Z",
|
|
41
|
+
"template": [
|
|
42
|
+
{
|
|
43
|
+
"id": "text",
|
|
44
|
+
"component": "Text",
|
|
45
|
+
"variant": "heading",
|
|
46
|
+
"textContent": "Get in touch"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "text-2",
|
|
50
|
+
"component": "Text",
|
|
51
|
+
"variant": "body",
|
|
52
|
+
"slot": "description",
|
|
53
|
+
"textContent": "Tell us what you need and we'll reply within one business day."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "header",
|
|
57
|
+
"component": "Header",
|
|
58
|
+
"children": [
|
|
59
|
+
"text",
|
|
60
|
+
"text-2"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "name",
|
|
65
|
+
"component": "Input",
|
|
66
|
+
"required": true,
|
|
67
|
+
"autocomplete": "name",
|
|
68
|
+
"name": "name",
|
|
69
|
+
"placeholder": "Jane Doe"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "field",
|
|
73
|
+
"component": "Field",
|
|
74
|
+
"label": "Name",
|
|
75
|
+
"children": [
|
|
76
|
+
"name"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "email",
|
|
81
|
+
"component": "Input",
|
|
82
|
+
"type": "email",
|
|
83
|
+
"required": true,
|
|
84
|
+
"autocomplete": "email",
|
|
85
|
+
"name": "email",
|
|
86
|
+
"placeholder": "jane@acme.com"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "field-2",
|
|
90
|
+
"component": "Field",
|
|
91
|
+
"label": "Email",
|
|
92
|
+
"children": [
|
|
93
|
+
"email"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "grid",
|
|
98
|
+
"component": "Grid",
|
|
99
|
+
"columns": "1 2@sm",
|
|
100
|
+
"gap": "3",
|
|
101
|
+
"children": [
|
|
102
|
+
"field",
|
|
103
|
+
"field-2"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "subject",
|
|
108
|
+
"component": "Input",
|
|
109
|
+
"required": true,
|
|
110
|
+
"name": "subject",
|
|
111
|
+
"placeholder": "How can we help?"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "field-3",
|
|
115
|
+
"component": "Field",
|
|
116
|
+
"label": "Subject",
|
|
117
|
+
"children": [
|
|
118
|
+
"subject"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "message",
|
|
123
|
+
"component": "TextArea",
|
|
124
|
+
"required": true,
|
|
125
|
+
"name": "message",
|
|
126
|
+
"placeholder": "Tell us more…",
|
|
127
|
+
"rows": "4"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "field-4",
|
|
131
|
+
"component": "Field",
|
|
132
|
+
"hint": "The more detail you give, the faster we can help.",
|
|
133
|
+
"label": "Message",
|
|
134
|
+
"children": [
|
|
135
|
+
"message"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "column",
|
|
140
|
+
"component": "Column",
|
|
141
|
+
"gap": "4",
|
|
142
|
+
"children": [
|
|
143
|
+
"grid",
|
|
144
|
+
"field-3",
|
|
145
|
+
"field-4"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "section",
|
|
150
|
+
"component": "Section",
|
|
151
|
+
"children": [
|
|
152
|
+
"column"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "button",
|
|
157
|
+
"component": "Button",
|
|
158
|
+
"type": "reset",
|
|
159
|
+
"text": "Clear",
|
|
160
|
+
"variant": "outline"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "button-2",
|
|
164
|
+
"component": "Button",
|
|
165
|
+
"type": "submit",
|
|
166
|
+
"icon": "paper-plane-tilt",
|
|
167
|
+
"text": "Send message",
|
|
168
|
+
"variant": "primary"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "row",
|
|
172
|
+
"component": "Row",
|
|
173
|
+
"gap": "3",
|
|
174
|
+
"justify": "flex-end",
|
|
175
|
+
"children": [
|
|
176
|
+
"button",
|
|
177
|
+
"button-2"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "footer",
|
|
182
|
+
"component": "Footer",
|
|
183
|
+
"children": [
|
|
184
|
+
"row"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "root",
|
|
189
|
+
"component": "Card",
|
|
190
|
+
"children": [
|
|
191
|
+
"header",
|
|
192
|
+
"section",
|
|
193
|
+
"footer"
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
}
|