x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<div class="min-h-screen bg-gray-1 dark:bg-gray-12 flex flex-col"> <header class="bg-white dark:bg-gray-11 border-b border-gray-2 dark:border-gray-9 px-6 py-3 flex items-center justify-between"> <div class="flex items-center gap-2"> <div class="midwest-icon text-theme-7 text-2xl"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" role="img" aria-label="Aperture"><title>Aperture</title> <path d="M250.54 129.17l-67.8-67.8A209.65 209.65 0 0086.32 136h161.4a4 4 0 002.82-6.83zM167.72 168H67.63a207.34 207.34 0 00-16.15 125.9l119.06-119.07a4 4 0 00-2.82-6.83zM344 167.72V67.56a207.82 207.82 0 00-125.89-16.08l119.06 119.06a4 4 0 006.83-2.82zM460.52 218.1L341.46 337.17a4 4 0 002.82 6.83h100.09a207.34 207.34 0 0016.15-125.9zM382.83 250.54l67.83-67.82A209.08 209.08 0 00376 86.2v161.52a4 4 0 006.83 2.82zM221.68 341.77a8 8 0 005.54 2.23h59.66a8 8 0 005.7-2.39l49.18-50a8 8 0 002.3-5.62l-.06-60.81a8 8 0 00-2.38-5.69l-50-49.25a8 8 0 00-5.63-2.3l-60.84.06a8 8 0 00-5.69 2.38l-49.25 50a8 8 0 00-2.3 5.63l.06 60.78a8 8 0 002.45 5.76zM261.46 382.83l67.8 67.8A209.65 209.65 0 00425.68 376h-161.4a4 4 0 00-2.82 6.83zM168 344.28v100.16a207.82 207.82 0 00125.89 16.08L174.83 341.46a4 4 0 00-6.83 2.82zM129.17 261.46l-67.83 67.83A209.1 209.1 0 00136 425.8V264.28a4 4 0 00-6.83-2.82z"></path></svg> </div> </div> <span class="font-bold text-theme-11 text-lg">Orbit Setup</span> </div> <a class="midwest-button variant-ghost size-small theme-primary" name="button" href="/"> <span class="midwest-button-content"> <div class="midwest-icon " aria-hidden="true"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path d="M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"></path></svg> </div> </div> Save & exit</span> <div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none"> <div class="midwest-loading-icon-inner"> <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --> <svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true"> <circle cx="15" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="105" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> </svg> </div> </div> </a> </header> <div class="bg-white dark:bg-gray-11 border-b border-gray-2 dark:border-gray-9 px-6 py-3"> <div class="midwest-progress-bar size-default variant-default theme-primary"> <div class="progress-bar-header"> <span class="progress-bar-label">Setup progress</span> <span class="progress-bar-value">50%</span> </div> <div class="progress-track" role="progressbar" aria-label="Setup progress" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50"> <div class="progress-fill" style="width: 50.0%"></div> </div> </div> </div> <div class="bg-white dark:bg-gray-11 px-6 py-4"> <div class="midwest-steps" role="tablist" aria-label="Progress steps"> <div class="midwest-step complete"> <a class="step-button" role="tab" aria-selected="false" href="#"> <div class="midwest-icon " aria-hidden="true"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" role="img" aria-label="Checkmark"><title>Checkmark</title> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"></path></svg> </div> </div> <span class="copy">Account</span> </a></div> <div class="midwest-step complete"> <a class="step-button" role="tab" aria-selected="false" href="#"> <div class="midwest-icon " aria-hidden="true"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" role="img" aria-label="Checkmark"><title>Checkmark</title> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"></path></svg> </div> </div> <span class="copy">Workspace</span> </a></div> <div class="midwest-step current"> <button class="step-button" role="tab" aria-selected="true" aria-current="step" type="button"> <span class="copy">Invite team</span> </button></div> <div class="midwest-step disabled"> <button class="step-button" role="tab" aria-selected="false" aria-disabled="true" type="button" disabled="disabled"> <span class="copy">Connect tools</span> </button></div> <div class="midwest-step disabled"> <button class="step-button" role="tab" aria-selected="false" aria-disabled="true" type="button" disabled="disabled"> <span class="copy">Review</span> </button></div> </div> </div> <main class="flex-1 flex items-start justify-center py-10 px-4"> <div class="midwest-layout size-sm padding-default type-half" style="--layout-grid-gap: 2rem; --layout-sidebar-width: 350px"> <div class="wrapper"> <section> <article data-controller="midwest-card" class="midwest-card"> <div class="wrap"> <section> <div class="mb-6"> <h2 class="text-xl font-bold text-theme-12">Invite your team</h2> <div data-controller="midwest-prose" class="midwest-prose prose"> <p>Add colleagues now or skip and do it later from the Team settings page.</p> </div> </div> <div class="space-y-4"> <div class="flex gap-2 items-end"> <div class="midwest-input midwest-form-group type-email" data-controller="midwest-input"> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_email_0-12b68"> </label> </div> <input type="email" name="invite_email_0" id="invite_email_0-12b68" placeholder="colleague@company.com" data-midwest-input-target="input" /> </div> <div class="midwest-select midwest-form-group "> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_role_0-12b70"> </label> </div> <select id="invite_role_0-12b70" class=""><option value=""></option> <option selected="selected" value="Member">Member</option> <option value="Admin">Admin</option> <option value="Viewer">Viewer</option></select> </div> </div> <div class="flex gap-2 items-end"> <div class="midwest-input midwest-form-group type-email" data-controller="midwest-input"> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_email_1-12b78"> </label> </div> <input type="email" name="invite_email_1" id="invite_email_1-12b78" placeholder="colleague@company.com" data-midwest-input-target="input" /> </div> <div class="midwest-select midwest-form-group "> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_role_1-12b80"> </label> </div> <select id="invite_role_1-12b80" class=""><option value=""></option> <option selected="selected" value="Member">Member</option> <option value="Admin">Admin</option> <option value="Viewer">Viewer</option></select> </div> </div> <div class="flex gap-2 items-end"> <div class="midwest-input midwest-form-group type-email" data-controller="midwest-input"> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_email_2-12b88"> </label> </div> <input type="email" name="invite_email_2" id="invite_email_2-12b88" placeholder="colleague@company.com" data-midwest-input-target="input" /> </div> <div class="midwest-select midwest-form-group "> <div class="midwest-form-group__top"> <label class="midwest-label " for="invite_role_2-12b90"> </label> </div> <select id="invite_role_2-12b90" class=""><option value=""></option> <option selected="selected" value="Member">Member</option> <option value="Admin">Admin</option> <option value="Viewer">Viewer</option></select> </div> </div> </div> <a class="midwest-button variant-ghost size-small theme-primary mt-2" name="button" href="/"> <span class="midwest-button-content">+ Add another</span> <div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none"> <div class="midwest-loading-icon-inner"> <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --> <svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true"> <circle cx="15" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="105" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> </svg> </div> </div> </a> <div class="flex justify-between items-center mt-6 pt-4 border-t border-theme-3"> <a class="midwest-button variant-outline size-default theme-primary" name="button" href="/"> <span class="midwest-button-content">← Back</span> <div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none"> <div class="midwest-loading-icon-inner"> <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --> <svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true"> <circle cx="15" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="105" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> </svg> </div> </div> </a> <div class="flex gap-2"> <a class="midwest-button variant-ghost size-default theme-primary" name="button" href="/"> <span class="midwest-button-content">Skip for now</span> <div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none"> <div class="midwest-loading-icon-inner"> <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --> <svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true"> <circle cx="15" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="105" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> </svg> </div> </div> </a> <a class="midwest-button variant-default size-default theme-primary" name="button" href="/"> <span class="midwest-button-content">Send invites →</span> <div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none"> <div class="midwest-loading-icon-inner"> <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --> <svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true"> <circle cx="15" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate> </circle> <circle cx="105" cy="15" r="15"> <animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate> <animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate> </circle> </svg> </div> </div> </a> </div> </div> </section> </div> </article> </section> <section class="space-y-4"> <div class="midwest-callout theme-cyan"> <div class="callout-wrap"> <div data-controller="midwest-prose" class="midwest-prose prose"> <p>Teams that invite colleagues during setup are 3× more likely to reach their first milestone within a week.</p> </div> </div> </div> <article data-controller="midwest-card" class="midwest-card padding-sm"> <div class="wrap"> <section> <h3 class="text-sm font-semibold text-theme-11 mb-3">Role permissions</h3> <dl class="space-y-2 text-sm"> <div> <dt class="font-medium text-theme-9">Admin</dt> <dd class="text-theme-7">Full access, manage billing & team</dd> </div> <div> <dt class="font-medium text-theme-9">Member</dt> <dd class="text-theme-7">Create and edit content</dd> </div> <div> <dt class="font-medium text-theme-9">Viewer</dt> <dd class="text-theme-7">Read-only access to all content</dd> </div> </dl> </section> </div> </article> </section> </div> </div> </main></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<div class="min-h-screen bg-gray-1 dark:bg-gray-12 flex flex-col"> <%# Top bar with logo and exit %> <header class="bg-white dark:bg-gray-11 border-b border-gray-2 dark:border-gray-9 px-6 py-3 flex items-center justify-between"> <div class="flex items-center gap-2"> <%= midwest_icon :aperture, class: "text-theme-7 text-2xl" %> <span class="font-bold text-theme-11 text-lg">Orbit Setup</span> </div> <%= midwest_button("Save & exit", variant: :ghost, size: :small, icon: :close) %> </header> <%# Overall progress %> <div class="bg-white dark:bg-gray-11 border-b border-gray-2 dark:border-gray-9 px-6 py-3"> <%= midwest_progress_bar(value: 50, label: "Setup progress", show_label: true, show_value: true) %> </div> <%# Step indicator %> <div class="bg-white dark:bg-gray-11 px-6 py-4"> <%= midwest_steps do |s| %> <% s.with_step("Account", complete: true, as: :link, href: "#") %> <% s.with_step("Workspace", complete: true, as: :link, href: "#") %> <% s.with_step("Invite team", current: true) %> <% s.with_step("Connect tools", disabled: true) %> <% s.with_step("Review", disabled: true) %> <% end %> </div> <%# Main wizard content %> <main class="flex-1 flex items-start justify-center py-10 px-4"> <%= midwest_layout(type: :half, size: :sm, gap: 2) do %> <%# Form side %> <section> <%= midwest_card do %> <div class="mb-6"> <h2 class="text-xl font-bold text-theme-12">Invite your team</h2> <%= midwest_prose do %> <p>Add colleagues now or skip and do it later from the Team settings page.</p> <% end %> </div> <div class="space-y-4"> <% 3.times do |i| %> <div class="flex gap-2 items-end"> <%= midwest_form_input(name: "invite_email_#{i}", type: :email, placeholder: 'colleague@company.com') %> <%= midwest_form_select(name: "invite_role_#{i}", choices: ['Member', 'Admin', 'Viewer'], value: 'Member') %> </div> <% end %> </div> <%= midwest_button("+ Add another", variant: :ghost, size: :small, class: "mt-2") %> <div class="flex justify-between items-center mt-6 pt-4 border-t border-theme-3"> <%= midwest_button("← Back", variant: :outline) %> <div class="flex gap-2"> <%= midwest_button("Skip for now", variant: :ghost) %> <%= midwest_button("Send invites →") %> </div> </div> <% end %> </section> <%# Context / help side %> <section class="space-y-4"> <%= midwest_callout(state: :info, title: "Why invite early?") do %> <%= midwest_prose do %> <p>Teams that invite colleagues during setup are 3× more likely to reach their first milestone within a week.</p> <% end %> <% end %> <%= midwest_card(padding: :sm) do %> <h3 class="text-sm font-semibold text-theme-11 mb-3">Role permissions</h3> <dl class="space-y-2 text-sm"> <% [ { role: "Admin", desc: "Full access, manage billing & team" }, { role: "Member", desc: "Create and edit content" }, { role: "Viewer", desc: "Read-only access to all content" }, ].each do |r| %> <div> <dt class="font-medium text-theme-9"><%= r[:role] %></dt> <dd class="text-theme-7"><%= r[:desc] %></dd> </div> <% end %> </dl> <% end %> </section> <% end %> </main></div>Onboarding Wizard
Multi-step onboarding flow with a progress bar, step indicator, and contextual form content.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Layouts/onboarding_wizard
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."