-
Notifications
You must be signed in to change notification settings - Fork 4
/
forms.html
441 lines (392 loc) · 27.1 KB
/
forms.html
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
---
layout: default
title: Forms
subnav:
- Full Form
- Labels
- Inputs
- Helper
- Textareas
- Selects
- Radios
- Checkboxes
- Uploads
- Success
- Warning
- Error
- Themes
---
<section id="float">
<!-- Full Form -->
<h2 id="Full Form" class="m-b-1-xs">Full Form Example</h2>
<p class="m-b-2-xs">Here's an example of the full form, showing all the elements in context. Details about specific elements is stated below.</p>
<div class="border-mid-xs p-3-xs round m-b-3-xs">
<p class="text-3-xs m-b-2-xs">Default Form</p>
<form class="m-b-2-xs">
<label for="example-form-text-input-1" class="form-label">Text Input Label<span class="form-label-required">*</span></label>
<input type="text" class="form-text-input w-full-xs" id="example-form-text-input-1" placeholder="this is placeholder text">
<label class="form-helper m-b-2-xs">I'm helper text.</label>
<label for="example-form-textarea-1" class="form-label">Textarea Label<span class="form-label-required">*</span></label>
<textarea name="form-textarea-1" id="example-form-textarea-1" class="form-textarea col-50-xs m-b-2-xs w-full-xs"></textarea>
<label for="form-select-1" class="form-label">Select Label 1<span class="form-label-required">*</span></label>
<select id="form-select-1" class="form-select m-b-2-xs w-full-xs">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<input type="radio" id="example-form-radio-1" class="form-radio" name="radio" checked="checked">
<label for="example-form-radio-1" class="form-label m-b-2-xs">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="radio" id="example-form-radio-2" class="form-radio" name="radio">
<label for="example-form-radio-2" class="form-label m-b-2-xs">A short radio label.<span class="form-label-required">*</span></label>
<input type="checkbox" id="example-form-checkbox-1" class="form-checkbox">
<label for="example-form-checkbox-1" class="form-label m-b-2-xs">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<input type="file" class="form-upload m-b-2-xs" id="example-form-upload-1">
<label for="example-form-upload-1" class="form-label">Upload File...<span class="form-label-required">*</span></label>
</form>
</div>
<div class="border-mid-xs p-3-xs round m-b-3-xs">
<p class="text-3-xs m-b-2-xs">Default Form with Errors</p>
<form class="m-b-2-xs">
<fieldset class="form-feedback-error form-fieldset m-b-2-xs">
<label for="example-form-text-input-2" class="form-label">Text Input Label<span class="form-label-required">*</span></label>
<input type="text" class="form-text-input w-full-xs" id="example-form-text-input-2" placeholder="this is placeholder text">
<span class="form-feedback">I'm an error message.</span>
<label class="form-helper">I'm helper text.</label>
</fieldset>
<fieldset class="form-feedback-warning form-fieldset m-b-2-xs">
<label for="example-form-textarea-2" class="form-label">Textarea Label<span class="form-label-required">*</span></label>
<textarea name="form-textarea-1" id="example-form-textarea-2" class="form-textarea col-50-xs w-full-xs"></textarea>
<span class="form-feedback">I'm a warning message.</span>
</fieldset>
<fieldset class="form-feedback-success form-fieldset m-b-2-xs">
<label for="example-form-select-2" class="form-label">Select Label 1<span class="form-label-required">*</span></label>
<select id="example-form-select-2" class="form-select w-full-xs">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<span class="form-feedback">I'm a success message.</span>
</fieldset>
<fieldset class="form-feedback-error form-fieldset m-b-2-xs">
<input type="radio" id="exampleform-radio-2b" class="form-radio" name="radio" checked="checked">
<label for="example-form-radio-2b" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm an error message.</span>
</fieldset>
<fieldset class="form-feedback-warning form-fieldset m-b-2-xs">
<input type="radio" id="example-form-radio-3" class="form-radio" name="radio">
<label for="example-form-radio-3" class="form-label">A short radio label.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm a warning message.</span>
</fieldset>
<fieldset class="form-feedback-success form-fieldset m-b-2-xs">
<input type="checkbox" id="example-form-checkbox-2" class="form-checkbox">
<label for="example-form-checkbox-2" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm a success message.</span>
</fieldset>
<fieldset class="form-feedback-error form-fieldset">
<input type="file" class="form-upload m-b-2-xs" id="example-form-upload-2">
<label for="example-form-upload-2" class="form-label">Upload File...<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm an error message.</span>
</fieldset>
</form>
</div>
<!-- Labels -->
<h2 id="Labels" class="m-b-1-xs">Labels</h2>
<p class="m-b-2-xs">Use the <code>.form-label</code> class to set the default styles on a label.</p>
<form class="m-b-2-xs">
<label class="form-label">Form Label</label>
<label class="form-label">Required Form Label <span class="form-label-required">*</span></label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label class="form-label">Form Label</label>
<label class="form-label">Required Form Label <span class="form-label-required">*</span></label>
</form></code></pre></div>
<!-- Text Inputs -->
<h2 id="Inputs" class="m-b-1-xs">Text Inputs</h2>
<p class="m-b-2-xs">Use the <code>.text-input</code> class to apply the default styling for text inputs. Inputs should always be paired with a label to make them accessible. You can use placeholder text for additional context when necessary. <strong>NEVER</strong> use placeholder text in place of a label.</p>
<form class="m-b-2-xs">
<label for="form-text-input-1" class="form-label">Text Input Label</label>
<input type="text" class="form-text-input" id="form-text-input-1" placeholder="this is placeholder text">
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label for="form-text-input-1" class="form-label">Text Input Label</label>
<input type="text" class="form-text-input" id="form-text-input-1" placeholder="this is placeholder text">
</form></code></pre>
</div>
<!-- Helpers -->
<h2 id="Helper" class="m-b-1-xs">Helper Text</h2>
<p class="m-b-2-xs">When necessary, you can place additional text below the input in a <code>label</code> with a <code>.form-helper</code> to add helper text.</p>
<form class="m-b-2-xs">
<label for="form-text-input-2" class="form-label">Text Input Label</label>
<input type="text" class="form-text-input" id="form-text-input-2" placeholder="Enter the url">
<label class="form-helper">You don't need to include http://</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label for="form-text-input-1" class="form-label">Text Input Label</label>
<input type="text" class="form-text-input" id="form-text-input-1" placeholder="this is placeholder text">
</form>
<label class="form-helper">You don't need to include http://</label>
</form></code></pre>
</div>
<!-- Textareas -->
<h2 id="Textareas" class="m-b-1-xs">Textareas</h2>
<p class="m-b-2-xs">Use the <code>.form-textarea</code> class to get the default styling. When setting a typesize and width, we recommend aiming for a measure of 52-78 characters.</p>
<form class="m-b-2-xs">
<label for="form-textarea-1" class="form-label">Textarea Label</label>
<textarea name="form-textarea-1" id="form-textarea-1" class="form-textarea col-50-xs"></textarea>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label for="form-textarea-1" class="form-label">Textarea Label</label>
<textarea name="form-textarea-1" id="form-textarea-1" class="form-textarea col-50-xs"></textarea>
</form></code></pre>
</div>
<!-- Selects -->
<h2 id="Selects" class="m-b-1-xs">Selects</h2>
<p class="m-b-2-xs">Use the <code>.form-select</code> class to get the default styling.</p>
<form class="m-b-2-xs">
<label for="form-select-1" class="form-label">Select Label 1</label>
<select id="form-select-1" class="form-select">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label for="form-select-1" class="form-label">Select Label 1</label>
<select id="form-select-1" class="form-select">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
</form></code></pre>
</div>
<!-- Radios -->
<h2 id="Radios" class="m-b-1-xs">Radios</h2>
<p class="m-b-1-xs">Use <code>.form-radio</code> immediately following a <code>label</code> to get Leap's default radio button style.</p>
<form class="m-b-2-xs">
<input type="radio" id="form-radio-1" class="form-radio" name="radio" checked="checked">
<label for="form-radio-1" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="radio" id="form-radio-2" class="form-radio" name="radio">
<label for="form-radio-2" class="form-label">A short radio label.</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<input type="radio" id="form-radio-1" class="form-radio" name="radio" checked="checked">
<label for="form-radio-1" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="radio" id="form-radio-2" class="form-radio" name="radio">
<label for="form-radio-2" class="form-label">A short radio label.</label>
</form></code></pre>
</div>
<p class="m-b-1-xs"><span class="deprecated">Deprecated but Supported</span> Before there was a inverted form theme, forms with white text on dark backgrounds needed a lighter hover state. To enable this, the <code>.text-color-white</code> class was used alongside <code>.form-label</code>. Going forward, don't use this method; instead, use the <a href="#Themes">Inverse Form theme</a>.</p>
<form class="p-2-xs m-b-2-xs bg-gray-darker round">
<input type="radio" id="form-radio-3" class="form-radio" name="radio" checked="checked">
<label for="form-radio-3" class="form-label text-color-white">A radio label on a dark background.</label>
<input type="radio" id="form-radio-4" class="form-radio" name="radio">
<label for="form-radio-4" class="form-label text-color-white m-b-0-xs">Another radio label on a dark background.</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form class="p-2-xs m-b-2-xs bg-gray-darker round">
<input type="radio" id="form-radio-3" class="form-radio" name="radio" checked="checked">
<label for="form-radio-3" class="form-label text-color-white">A radio label on a dark background.</label>
<input type="radio" id="form-radio-4" class="form-radio" name="radio">
<label for="form-radio-4" class="form-label text-color-white m-b-0-xs">Another radio label on a dark background.</label>
</form></code></pre>
</div>
<!-- Checkboxes -->
<h2 id="Checkboxes" class="m-b-1-xs">Checkboxes</h2>
<p class="m-b-1-xs">Use <code>.form-checkbox</code> immediately following a <code>label</code> to get Leap's default checkbox style.</p>
<form class="m-b-2-xs">
<input type="checkbox" id="form-checkbox-1" class="form-checkbox">
<label for="form-checkbox-1" class="form-label">A really long checkbox label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="checkbox" id="form-checkbox-2" class="form-checkbox">
<label for="form-checkbox-2" class="form-label">A short checkbox label.</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<input type="checkbox" id="form-checkbox-1" class="form-checkbox">
<label for="form-checkbox-1" class="form-label">A really long checkbox label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="checkbox" id="form-checkbox-2" class="form-checkbox">
<label for="form-checkbox-2" class="form-label">A short checkbox label.</label>
</form></code></pre>
</div>
<p class="m-b-1-xs"><span class="deprecated">Deprecated but Supported</span> Before there was a inverted form theme, forms with white text on dark backgrounds needed a lighter hover state. To enable this, the <code>.text-color-white</code> class was used alongside <code>.form-label</code>. Going forward, don't use this method; instead, use the <a href="#Themes">Inverse Form theme</a>.</p>
<form class="p-2-xs m-b-2-xs bg-gray-darker round">
<input type="checkbox" id="form-checkbox-3" class="form-checkbox">
<label for="form-checkbox-3" class="form-label text-color-white">A checkbox label on a dark background.</label>
<input type="checkbox" id="form-checkbox-4" class="form-checkbox">
<label for="form-checkbox-4" class="form-label text-color-white m-b-0-xs">Another checkbox label on a dark background.</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form class="p-2-xs m-b-2-xs bg-gray-darker round">
<input type="checkbox" id="form-checkbox-3" class="form-checkbox">
<label for="form-checkbox-3" class="form-label text-color-white">A checkbox label on a dark background.</label>
<input type="checkbox" id="form-checkbox-4" class="form-checkbox">
<label for="form-checkbox-4" class="form-label text-color-white m-b-0-xs">Another checkbox label on a dark background.</label>
</form></code></pre>
</div>
<!-- Uploads -->
<h2 id="Uploads" class="m-b-1-xs">Uploads</h2>
<p class="m-b-1-xs">Use <code>.form-upload</code> immediately following a <code>label</code> to get Leap's default file upload style.</p>
<form>
<input type="file" class="form-upload" id="form-upload-1">
<label for="form-upload-1" class="form-label">Upload File...</label>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<input type="file" class="form-upload" id="form-upload-1">
<label for="form-upload-1" class="form-label">Upload File...</label>
</form></code></pre>
</div>
<!-- Form Feedback -->
<h2 id="Success" class="m-b-1-xs">Form Success</h2>
<p class="m-b-1-xs">Wrap each field in a <code>fieldset</code> and add the <code>.fieldset</code> and <code>.form-feedback-success</code> to apply Leap's default for feedback styling. Additionally, add a <code>span</code> with the class of <code>form-feedback</code> to inform the user what the feedback is.</p>
<form class="m-b-2-xs">
<fieldset class="form-feedback-success form-fieldset">
<label for="" class="form-label">Input Label</label>
<input type="text" class="form-text-input">
<span class="form-feedback">Hasta La Vista, Baby!</span>
</fieldset>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<fieldset class="form-feedback-success form-fieldset">
<label for="" class="form-label">Input Label</label>
<input type="text" class="form-text-input">
<span class="form-feedback">Hasta La Vista, Baby!</span>
</fieldset>
</form></code></pre>
</div>
<h2 id="Warning" class="m-b-1-xs">Form Warnings</h2>
<p class="m-b-1-xs">Wrap each field in a <code>fieldset</code> and add the <code>.fieldset</code> and <code>.form-feedback-warning</code> to apply Leap's default for feedback styling. Additionally, add a <code>span</code> with the class of <code>form-feedback</code> to inform the user what the feedback is.</p>
<form class="m-b-2-xs">
<fieldset class="form-feedback-warning form-fieldset">
<label class="form-label">Radio Label</label>
<input type="radio" id="form-radio-5" class="form-radio" name="radio">
<label for="form-radio-5" class="form-label">Radio Label 1</label>
<input type="radio" id="form-radio-6" class="form-radio" name="radio">
<label for="form-radio-6" class="form-label">Radio Label 2</label>
<span class="form-feedback">It's not a tumor</span>
</fieldset>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<label class="form-label">Radio Label</label>
<input type="radio" id="form-radio-5" class="form-radio" name="radio">
<label for="form-radio-5" class="form-label">Radio Label 1</label>
<input type="radio" id="form-radio-6" class="form-radio" name="radio">
<label for="form-radio-6" class="form-label">Radio Label 2</label>
<span class="form-feedback">It's not a tumor</span>
</form></code></pre>
</div>
<h2 id="Error" class="m-b-1-xs">Form Error</h2>
<p class="m-b-1-xs">Wrap each field in a <code>fieldset</code> and add the <code>.fieldset</code> and <code>.form-feedback-error</code> to apply Leap's default for feedback styling. Additionally, add a <code>span</code> with the class of <code>form-feedback</code> to inform the user what the feedback is.</p>
<form class="m-b-2-xs">
<fieldset class="form-feedback-error form-fieldset">
<label class="form-label">Input Label</label>
<select id="form-select-1" class="form-select">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<span class="form-feedback">Get to the chopper!</span>
</fieldset>
</form>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><form>
<fieldset class="form-feedback-error form-fieldset">
<label class="form-label">Input Label</label>
<select id="form-select-1" class="form-select">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<span class="form-feedback">Get to the chopper!</span>
</fieldset>
</form></code></pre>
</div>
<!-- Themes -->
<h2 id="Themes" class="m-b-1-xs">Themes</h2>
<p class="m-b-2-xs">The default theme is for forms that appear on a white background. To use a form on a dark background, add the <code>.form-inverse</code> class to the <code><form></code> element.</p>
<p class="m-b-2-xs">For any required <code>text input</code>, <code>text area</code>, or <code>select</code> inputs, add the <code>.form-label-required-inset</code> (in place of the usual <code>.form-label-required</code>) to the <code>*</code> span. This positions the required star on the input.</p>
<div class="text-bg-base p-3-xs round m-b-3-xs">
<p class="text-3-xs text-color-white m-b-2-xs">Inverse Form</p>
<form class="m-b-2-xs form-inverse">
<label for="inverse-form-text-input-1" class="form-label">Text Input Label<span class="form-label-required-inset">*</span></label>
<input type="text" class="form-text-input w-full-xs" id="inverse-form-text-input-1" placeholder="this is placeholder text">
<label class="form-helper m-b-2-xs">I'm helper text.</label>
<label for="inverse-form-textarea-1" class="form-label">Textarea Label<span class="form-label-required-inset">*</span></label>
<textarea name="form-textarea-1" id="inverse-form-textarea-1" class="form-textarea col-50-xs m-b-2-xs w-full-xs"></textarea>
<label for="form-select-1" class="form-label">Select Label 1<span class="form-label-required-inset">*</span></label>
<select id="form-select-1" class="form-select m-b-2-xs w-full-xs">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<input type="radio" id="inverse-form-radio-1" class="form-radio" name="radio" checked="checked">
<label for="inverse-form-radio-1" class="form-label m-b-2-xs">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.</label>
<input type="radio" id="inverse-form-radio-2" class="form-radio" name="radio">
<label for="inverse-form-radio-2" class="form-label m-b-2-xs">A short radio label.<span class="form-label-required">*</span></label>
<input type="checkbox" id="inverse-form-checkbox-1" class="form-checkbox">
<label for="inverse-form-checkbox-1" class="form-label m-b-2-xs">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<input type="file" class="form-upload m-b-2-xs" id="inverse-form-upload-1">
<label for="inverse-form-upload-1" class="form-label">Upload File...<span class="form-label-required">*</span></label>
</form>
</div>
<div class="text-bg-base p-3-xs round">
<p class="text-3-xs text-color-white m-b-2-xs">Inverse Form with Feedback</p>
<form class="m-b-2-xs form-inverse">
<fieldset class="form-feedback-error form-fieldset m-b-2-xs">
<label for="inverse-form-text-input-2" class="form-label">Text Input Label<span class="form-label-required-inset">*</span></label>
<input type="text" class="form-text-input w-full-xs" id="inverse-form-text-input-2" placeholder="this is placeholder text">
<span class="form-feedback">I'm an error message.</span>
<label class="form-helper">I'm helper text.</label>
</fieldset>
<fieldset class="form-feedback-warning form-fieldset m-b-2-xs">
<label for="inverse-form-textarea-2" class="form-label">Textarea Label<span class="form-label-required-inset">*</span></label>
<textarea name="form-textarea-1" id="inverse-form-textarea-2" class="form-textarea col-50-xs w-full-xs"></textarea>
<span class="form-feedback">I'm an warning message.</span>
</fieldset>
<fieldset class="form-feedback-success form-fieldset m-b-2-xs">
<label for="inverse-form-select-2" class="form-label">Select Label 1<span class="form-label-required-inset">*</span></label>
<select id="inverse-form-select-2" class="form-select w-full-xs">
<option value="">Item 1</option>
<option value="">Item 2</option>
<option value="">Item 3</option>
<option value="">Item 4</option>
</select>
<span class="form-feedback">I'm an success message.</span>
</fieldset>
<fieldset class="form-feedback-error form-fieldset m-b-2-xs">
<input type="radio" id="inverse-form-radio-2b" class="form-radio" name="radio" checked="checked">
<label for="inverse-form-radio-2b" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm an error message.</span>
</fieldset>
<fieldset class="form-feedback-warning form-fieldset m-b-2-xs">
<input type="radio" id="inverse-form-radio-3" class="form-radio" name="radio">
<label for="inverse-form-radio-3" class="form-label">A short radio label.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm a warning message.</span>
</fieldset>
<fieldset class="form-feedback-success form-fieldset m-b-2-xs">
<input type="checkbox" id="inverse-form-checkbox-2" class="form-checkbox">
<label for="inverse-form-checkbox-2" class="form-label">A really long radio label that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on.<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm a success message.</span>
</fieldset>
<fieldset class="form-feedback-error form-fieldset">
<input type="file" class="form-upload m-b-2-xs" id="inverse-form-upload-2">
<label for="inverse-form-upload-2" class="form-label">Upload File...<span class="form-label-required">*</span></label>
<span class="form-feedback">I'm an error message.</span>
</fieldset>
</form>
</div>
</section>