-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
1769 lines (1676 loc) · 96.7 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
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="utf-8">
<title>Silicon UI Kit | Forms</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Silicon - Multipurpose Technology Bootstrap Template">
<meta name="keywords" content="bootstrap, business, creative agency, mobile app showcase, saas, fintech, finance, online courses, software, medical, conference landing, services, e-commerce, shopping cart, multipurpose, shop, ui kit, marketing, seo, landing, blog, portfolio, html5, css3, javascript, gallery, slider, touch, creative">
<meta name="author" content="Createx Studio">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Theme switcher (color modes) -->
<script src="../assets/js/theme-switcher.js"></script>
<!-- Favicon and Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="../assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../assets/favicon/favicon-16x16.png">
<link rel="manifest" href="../assets/favicon/site.webmanifest">
<link rel="mask-icon" href="../assets/favicon/safari-pinned-tab.svg" color="#6366f1">
<link rel="shortcut icon" href="../assets/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#080032">
<meta name="msapplication-config" content="../assets/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Vendor Styles -->
<link rel="stylesheet" media="screen" href="../assets/vendor/boxicons/css/boxicons.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/swiper/swiper-bundle.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/nouislider/dist/nouislider.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/themes/prism.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/toolbar/prism-toolbar.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/line-numbers/prism-line-numbers.css">
<!-- Main Theme Styles + Bootstrap -->
<link rel="stylesheet" media="screen" href="../assets/css/theme.min.css">
</head>
<!-- Body -->
<body data-bs-spy="scroll" data-bs-target="#jumpToNav" tabindex="0">
<!-- Navbar -->
<header class="header navbar navbar-expand bg-light border-bottom border-light shadow fixed-top" data-scroll-header>
<div class="container-fluid pe-lg-4">
<div class="d-flex align-items-center">
<a href="typography.html" class="navbar-brand flex-shrink-0 py-1 py-lg-2">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning">UI Kit</span>
</div>
<div class="d-flex align-items-center w-100">
<ul class="navbar-nav d-none d-lg-flex" style="padding-left: 11.75rem;">
<li class="nav-item">
<a href="../index.html" class="nav-link">
<i class="bx bx-desktop opacity-70 fs-lg me-1"></i>
Live preview
</a>
</li>
<li class="nav-item">
<a href="../docs/getting-started.html" class="nav-link">
<i class="bx bx-file opacity-70 fs-lg me-1"></i>
Documentation
</a>
</li>
</ul>
<button type="button" class="navbar-toggler d-block d-lg-none ms-auto me-4" data-bs-toggle="offcanvas" data-bs-target="#componentsNav" aria-controls="componentsNav" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="form-check form-switch mode-switch pe-lg-1 ms-lg-auto" data-bs-toggle="mode">
<input type="checkbox" class="form-check-input" id="theme-mode">
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Light</label>
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Dark</label>
</div>
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary btn-sm fs-sm rounded ms-4 d-none d-lg-inline-flex" target="_blank" rel="noopener">
<i class="bx bx-cart fs-5 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</header>
<!-- Main sidebar navigation -->
<aside data-bs-theme="dark">
<div id="componentsNav" class="offcanvas-lg offcanvas-start d-flex flex-column position-fixed top-0 start-0 vh-100 bg-dark border-end-lg" style="width: 21rem; z-index: 1045;">
<div class="offcanvas-header d-none d-lg-flex justify-content-start">
<a href="typography.html" class="navbar-brand text-dark d-none d-lg-flex py-0">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning d-none d-lg-inline-block">UI Kit</span>
</div>
<div class="offcanvas-header d-block d-lg-none border-bottom">
<div class="d-flex align-items-center justify-content-between mb-3">
<h5 class="d-lg-none mb-0">Menu</h5>
<button type="button" class="btn-close d-lg-none" data-bs-dismiss="offcanvas" data-bs-target="#componentsNav" aria-label="Close"></button>
</div>
<div class="list-group list-group-flush mx-n4">
<a href="../index.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-desktop fs-lg opacity-80 me-2"></i>
Preview
</a>
<a href="../docs/getting-started.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-file fs-lg opacity-80 me-2"></i>
Documentation
</a>
</div>
</div>
<div class="offcanvas-body swiper scrollbar-hover overflow-hidden w-100 p-4" data-swiper-options='{
"direction": "vertical",
"slidesPerView": "auto",
"freeMode": true,
"scrollbar": {
"el": ".swiper-scrollbar"
},
"mousewheel": true
}'>
<div class="swiper-wrapper">
<div class="swiper-slide h-auto">
<h3 class="fs-lg">Content</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="typography.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Typography</a>
<a href="https://boxicons.com/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Icon font</a>
<a href="code.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Code</a>
<a href="images.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Images & figures</a>
<a href="tables.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tables</a>
</div>
<h3 class="fs-lg">Components</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="accordion.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Accordion</a>
<a href="alerts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Alerts</a>
<a href="audio-player.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Audio player</a>
<a href="badges.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Badges</a>
<a href="blog-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Blog components</a>
<a href="breadcrumb.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Breadcrumb</a>
<a href="buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Buttons</a>
<a href="button-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Button group</a>
<a href="cards.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Cards</a>
<a href="carousel.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Carousel (Slider)</a>
<a href="collapse.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Collapse</a>
<a href="dropdowns.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Dropdowns</a>
<a href="forms.html" class="list-group-item list-group-item-action border-0 py-2 px-4 active">Forms</a>
<a href="gallery.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Gallery (Lightbox)</a>
<a href="image-comparison-slider.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Image comparison slider</a>
<a href="input-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Input group</a>
<a href="list-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">List group</a>
<a href="modal.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Modal</a>
<a href="navbar.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Navbar</a>
<a href="offcanvas.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Offcanvas</a>
<a href="pagination.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pagination</a>
<a href="parallax.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Parallax</a>
<a href="pills.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pills</a>
<a href="placeholders.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Placeholders</a>
<a href="popovers.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Popovers</a>
<a href="portfolio-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Portfolio components</a>
<a href="pricing.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pricing</a>
<a href="progress-bars.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Progress bars</a>
<a href="social-buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Social buttons</a>
<a href="spinners.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Spinners</a>
<a href="steps.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Steps</a>
<a href="tabs.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tabs</a>
<a href="team.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Team</a>
<a href="testimonials.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Testimonials / reviews</a>
<a href="toasts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Toasts</a>
<a href="tooltips.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tooltips</a>
<a href="video-popup.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Video popup</a>
</div>
<h3 class="fs-lg">Utilities</h3>
<div class="list-group list-group-flush mx-n4 pb-2">
<a href="https://getbootstrap.com/docs/5.3/utilities/background/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Bootstrap</a>
<a href="utilities.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Silicon</a>
</div>
</div>
</div>
<div class="swiper-scrollbar end-0"></div>
</div>
<div class="offcanvas-header border-top">
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary w-100" target="_blank" rel="noopener">
<i class="bx bx-cart fs-4 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</aside>
<!-- Page container -->
<main class="docs-container pt-5">
<div class="container-fluid px-xxl-5 px-lg-4 pt-4 pt-lg-5 pb-2 pb-lg-4">
<!-- Page title -->
<div class="d-sm-flex align-items-end justify-content-between ps-lg-2 ps-xxl-0 mt-2 mt-lg-0 pt-4 mb-n3">
<div class="me-4">
<h1 class="pb-1">Forms</h1>
<p class="text-muted fs-lg mb-2">Form control styles, layout options, and custom components.</p>
</div>
<a href="https://getbootstrap.com/docs/5.3/forms/overview/" class="btn btn-link px-0" target="_blank" rel="noopener">
Bootstrap docs
<i class="bx bx-link-external fs-lg ms-2"></i>
</a>
</div>
<!-- Info alert -->
<div class="alert alert-info mt-5 mb-n1 mb-lg-0" role="alert">
<div class="d-flex">
<i class="bx bx-info-circle lead me-2 me-sm-3"></i>
<div class="text-break">
<p class="mb-3"><strong>Range slider</strong> depends on <strong>noUISlider plugin</strong>. Make sure to link to <strong>noUISlider css and js</strong> files in your document: <strong>assets/vendor/nouislider/dist/nouislider.min.css</strong> and <strong>assets/vendor/nouislider/dist/nouislider.min.js</strong>. Use this page as a reference.</p>
<p class="mb-0">To enable input text content formatting please make sure to link to <strong>Cleave.js</strong> plugin in your document: <strong>assets/vendor/cleave.js/dist/cleave.min.js</strong>. Use this page as a reference.</p>
</div>
</div>
</div>
<!-- Supported input types -->
<section id="forms-types" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Supported input types</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview1" data-bs-toggle="tab" role="tab" aria-controls="preview1" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html1" data-bs-toggle="tab" role="tab" aria-controls="html1" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview1" role="tabpanel">
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="text-input">Text</label>
<div class="col-md-10">
<input class="form-control" type="text" id="text-input" value="Artisanal kale">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="search-input">Search</label>
<div class="col-md-10">
<input class="form-control" type="search" id="search-input" value="How do I shoot web">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="email-input">Email</label>
<div class="col-md-10">
<input class="form-control" type="email" id="email-input" value="email@example.com">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="url-input">URL</label>
<div class="col-md-10">
<input class="form-control" type="url" id="url-input" value="https://getbootstrap.com">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="tel-input">Phone</label>
<div class="col-md-10">
<input class="form-control" type="tel" id="tel-input" value="1-(770)-334-2518">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="pass-input">Password</label>
<div class="col-md-10">
<input class="form-control" type="password" id="pass-input" value="mypasswordexample">
</div>
</div>
<div class="mb-4 row">
<label class="col-md-2 col-form-label fs-sm" for="textarea-input">Textarea</label>
<div class="col-md-10">
<textarea class="form-control" id="textarea-input" rows="5">Hello World!</textarea>
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="select-input">Select</label>
<div class="col-md-10">
<select class="form-select" id="select-input">
<option>Choose option...</option>
<option>Option item 1</option>
<option>Option item 2</option>
<option>Option item 3</option>
</select>
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="multiselect-input">Multiselect</label>
<div class="col-md-10">
<select class="form-select" id="multiselect-input" size="3" multiple>
<option>Option item 1</option>
<option>Option item 2</option>
<option>Option item 3</option>
<option>Option item 4</option>
<option>Option item 5</option>
<option>Option item 6</option>
</select>
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="file-input">File</label>
<div class="col-md-10">
<input class="form-control" type="file" id="file-input">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="number-input">Number</label>
<div class="col-md-10">
<input class="form-control" type="number" id="number-input" value="37">
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="datalist-input">Datalist</label>
<div class="col-md-10">
<input type="text" class="form-control" list="datalist-options" id="datalist-input" placeholder="Type to search...">
<datalist id="datalist-options">
<option value="San Francisco"></option>
<option value="New York"></option>
<option value="Seattle"></option>
<option value="Los Angeles"></option>
<option value="Chicago"></option>
</datalist>
</div>
</div>
<div class="mb-4 row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="range-input">Range</label>
<div class="col-md-10">
<input class="form-range" type="range" id="range-input">
</div>
</div>
<div class="row align-items-center">
<label class="col-md-2 col-form-label fs-sm" for="color-input">Color</label>
<div class="col-md-10">
<input class="form-control form-control-color" type="color" id="color-input" value="#d946ef">
</div>
</div>
</div>
<div class="tab-pane fade" id="html1" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Text input -->
<div class="mb-4">
<label for="text-input" class="form-label">Text</label>
<input class="form-control" type="text" id="text-input" value="Artisanal kale">
</div>
<!-- Search input -->
<div class="mb-4">
<label for="search-input" class="form-label">Search</label>
<input class="form-control" type="search" id="search-input" value="How do I shoot web">
</div>
<!-- Email input -->
<div class="mb-4">
<label for="email-input" class="form-label">Email</label>
<input class="form-control" type="email" id="email-input" value="email@example.com">
</div>
<!-- URL Input -->
<div class="mb-4">
<label for="url-input" class="form-label">URL</label>
<input class="form-control" type="url" id="url-input" value="https://getbootstrap.com">
</div>
<!-- Phone Input -->
<div class="mb-4">
<label for="tel-input" class="form-label">Phone</label>
<input class="form-control" type="tel" id="tel-input" value="1-(770)-334-2518">
</div>
<!-- Password Input -->
<div class="mb-4">
<label for="pass-input" class="form-label">Password</label>
<input class="form-control" type="password" id="pass-input" value="mypasswordexample">
</div>
<!-- Textarea -->
<div class="mb-4">
<label for="textarea-input" class="form-label">Textarea</label>
<textarea class="form-control" id="textarea-input" rows="5">Hello World!</textarea>
</div>
<!-- Select -->
<div class="mb-4">
<label for="select-input" class="form-label">Select</label>
<select class="form-select" id="select-input">
<option>Choose option...</option>
<option>Option item 1</option>
<option>Option item 2</option>
<option>Option item 3</option>
</select>
</div>
<!-- Multiselect -->
<div class="mb-4">
<label for="multiselect-input" class="form-label">Multiselect</label>
<select class="form-select" id="multiselect-input" size="3" multiple>
<option>Option item 1</option>
<option>Option item 2</option>
<option>Option item 3</option>
<option>Option item 4</option>
<option>Option item 5</option>
<option>Option item 6</option>
</select>
</div>
<!-- File input -->
<div class="mb-4">
<label for="file-input" class="form-label">File</label>
<input class="form-control" type="file" id="file-input">
</div>
<!-- Number input -->
<div class="mb-4">
<label for="number-input" class="form-label">Number</label>
<input class="form-control" type="number" id="number-input" value="37">
</div>
<!-- Datalist -->
<div class="mb-4">
<label for="datalist-input" class="form-label">Datalist</label>
<input class="form-control" type="text" list="datalist-options" id="datalist-input" placeholder="Type to search...">
<datalist id="datalist-options">
<option value="San Francisco">
<option value="New York">
<option value="Seattle">
<option value="Los Angeles">
<option value="Chicago">
</datalist>
</div>
<!-- Range input -->
<div class="mb-4">
<label for="range-input" class="form-label">Range</label>
<input class="form-control" type="range" id="range-input">
</div>
<!-- Color input -->
<div class="mb-4">
<label for="color-input" class="form-label">Color</label>
<input class="form-control form-control-color" type="color" id="color-input" value="#d946ef">
</div></code></pre>
</div>
</div>
</section>
<!-- Floating labels -->
<section id="forms-floating-labels" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Floating labels</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview2" data-bs-toggle="tab" role="tab" aria-controls="preview2" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html2" data-bs-toggle="tab" role="tab" aria-controls="html2" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview2" role="tabpanel">
<div class="form-floating mb-4">
<input class="form-control" type="text" id="fl-text" placeholder="Your name">
<label for="fl-text">Your name</label>
</div>
<div class="form-floating mb-4">
<select class="form-select" id="fl-select">
<option selected>Argentina</option>
<option>Belgium</option>
<option>France</option>
<option>Germany</option>
<option>Japan</option>
<option>Spain</option>
<option>USA</option>
</select>
<label for="fl-select">Your country</label>
</div>
<div class="form-floating">
<textarea class="form-control" id="fl-textarea" style="height: 8rem;" placeholder="Your message"></textarea>
<label for="fl-textarea">Your message</label>
</div>
</div>
<div class="tab-pane fade" id="html2" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Floating label: Text input -->
<div class="form-floating mb-4">
<input class="form-control" type="text" id="fl-text" placeholder="Your name">
<label for="fl-text">Your name</label>
</div>
<!-- Floating label: Select -->
<div class="form-floating mb-4">
<select class="form-select" id="fl-select">
<option selected>Argentina</option>
<option>Belgium</option>
<option>France</option>
<option>Germany</option>
<option>Japan</option>
<option>Spain</option>
<option>USA</option>
</select>
<label for="fl-select">Your country</label>
</div>
<!-- Floating label: Textarea -->
<div class="form-floating">
<textarea class="form-control" id="fl-textarea" style="height: 8rem;" placeholder="Your message"></textarea>
<label for="fl-textarea">Your message</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Password visibility toggle -->
<section id="forms-password-toggle" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Password visibility toggle</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview3" data-bs-toggle="tab" role="tab" aria-controls="preview3" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html3" data-bs-toggle="tab" role="tab" aria-controls="html3" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview3" role="tabpanel">
<div style="max-width: 25rem;">
<label class="form-label" for="pass-visibility">Password</label>
<div class="password-toggle">
<input class="form-control" type="password" id="pass-visibility" value="hidden@password">
<label class="password-toggle-btn" aria-label="Show/hide password">
<input class="password-toggle-check" type="checkbox"><span class="password-toggle-indicator"></span>
</label>
</div>
</div>
</div>
<div class="tab-pane fade" id="html3" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Password visibility toggle -->
<div class="password-toggle">
<input class="form-control" type="password" value="hidden@password">
<label class="password-toggle-btn" aria-label="Show/hide password">
<input class="password-toggle-check" type="checkbox">
<span class="password-toggle-indicator"></span>
</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Checkboxes -->
<section id="forms-checkboxes" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Checkboxes</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview4" data-bs-toggle="tab" role="tab" aria-controls="preview4" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html4" data-bs-toggle="tab" role="tab" aria-controls="html4" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview4" role="tabpanel">
<div class="form-check mb-1">
<input class="form-check-input" type="checkbox" id="ex-check-1">
<label class="form-check-label" for="ex-check-1">Check this checkbox</label>
</div>
<div class="form-check mb-1">
<input class="form-check-input" type="checkbox" id="ex-check-2" checked>
<label class="form-check-label" for="ex-check-2">Uncheck this checkbox</label>
</div>
<div class="form-check mb-1">
<input class="form-check-input" type="checkbox" id="ex-check-3" disabled>
<label class="form-check-label" for="ex-check-3">Disabled checkbox</label>
</div>
<div class="pt-3">
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-4">
<label class="form-check-label" for="ex-check-4">Check this checkbox</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-5" checked>
<label class="form-check-label" for="ex-check-5">Uncheck this checkbox</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-6" disabled>
<label class="form-check-label" for="ex-check-6">Disabled checkbox</label>
</div>
</div>
</div>
<div class="tab-pane fade" id="html4" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Stacked checkboxes -->
<div class="form-check">
<input class="form-check-input" type="checkbox" id="ex-check-1">
<label class="form-check-label" for="ex-check-1">Check this checkbox</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="ex-check-2" checked>
<label class="form-check-label" for="ex-check-2">Uncheck this checkbox</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="ex-check-3" disabled>
<label class="form-check-label" for="ex-check-3">Disabled checkbox</label>
</div>
<!-- Inline checkboxes -->
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-4">
<label class="form-check-label" for="ex-check-4">Check this checkbox</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-5" checked>
<label class="form-check-label" for="ex-check-5">Uncheck this checkbox</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="ex-check-6" disabled>
<label class="form-check-label" for="ex-check-6">Disabled checkbox</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Radios -->
<section id="forms-radios" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Radios</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview5" data-bs-toggle="tab" role="tab" aria-controls="preview5" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html5" data-bs-toggle="tab" role="tab" aria-controls="html5" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview5" role="tabpanel">
<div class="form-check mb-1">
<input class="form-check-input" type="radio" id="ex-radio-1" name="radio">
<label class="form-check-label" for="ex-radio-1">Toggle this radio</label>
</div>
<div class="form-check mb-1">
<input class="form-check-input" type="radio" id="ex-radio-2" name="radio" checked>
<label class="form-check-label" for="ex-radio-2">Toggle this radio</label>
</div>
<div class="form-check mb-1">
<input class="form-check-input" type="radio" id="ex-radio-3" name="radio" disabled>
<label class="form-check-label" for="ex-radio-3">Disabled radio</label>
</div>
<div class="pt-3">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-4" name="radio2">
<label class="form-check-label" for="ex-radio-4">Toggle this radio</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-5" name="radio2" checked>
<label class="form-check-label" for="ex-radio-5">Toggle this radio</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-6" name="radio2" disabled>
<label class="form-check-label" for="ex-radio-6">Disabled radio</label>
</div>
</div>
</div>
<div class="tab-pane fade" id="html5" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Stacked radio buttons -->
<div class="form-check">
<input class="form-check-input" type="radio" id="ex-radio-1" name="radio">
<label class="form-check-label" for="ex-radio-1">Toggle this radio</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="ex-radio-2" name="radio" checked>
<label class="form-check-label" for="ex-radio-2">Toggle this radio</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="ex-radio-3" name="radio" disabled>
<label class="form-check-label" for="ex-radio-3">Disabled radio</label>
</div>
<!-- Inline radio buttons -->
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-4" name="radio2">
<label class="form-check-label" for="ex-radio-4">Toggle this radio</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-5" name="radio2" checked>
<label class="form-check-label" for="ex-radio-5">Toggle this radio</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" id="ex-radio-6" name="radio2" disabled>
<label class="form-check-label" for="ex-radio-6">Disabled radio</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Switches -->
<section id="forms-switches" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Switches</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview6" data-bs-toggle="tab" role="tab" aria-controls="preview6" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html6" data-bs-toggle="tab" role="tab" aria-controls="html6" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview6" role="tabpanel">
<div class="form-check form-switch mb-3">
<input class="form-check-input" type="checkbox" id="customSwitch1">
<label class="form-check-label" for="customSwitch1">Toggle this switch element</label>
</div>
<div class="form-check form-switch mb-3">
<input class="form-check-input" type="checkbox" id="customSwitch2" checked>
<label class="form-check-label" for="customSwitch2">Toggle this switch element</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="customSwitch3" disabled>
<label class="form-check-label" for="customSwitch3">Disabled switch element</label>
</div>
</div>
<div class="tab-pane fade" id="html6" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Switch -->
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="customSwitch1">
<label class="form-check-label" for="customSwitch1">Toggle this switch element</label>
</div>
<!-- Checked switch -->
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="customSwitch2" checked>
<label class="form-check-label" for="customSwitch2">Toggle this switch element</label>
</div>
<!-- Disabled switch -->
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="customSwitch3" disabled>
<label class="form-check-label" for="customSwitch3">Disabled switch element</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Theme mode switch -->
<section id="forms-theme-mode-switch" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Theme mode switch</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview7" data-bs-toggle="tab" role="tab" aria-controls="preview7" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html7" data-bs-toggle="tab" role="tab" aria-controls="html7" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview7" role="tabpanel">
<div class="form-check form-switch mode-switch mt-1">
<input type="checkbox" class="form-check-input" id="theme-mode-1">
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode-1">Light</label>
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode-1">Dark</label>
</div>
</div>
<div class="tab-pane fade" id="html7" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Theme mode switch. Can be used oly once on the page! -->
<div class="form-check form-switch mode-switch" data-bs-toggle="mode">
<input type="checkbox" class="form-check-input" id="theme-mode">
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Light</label>
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Dark</label>
</div></code></pre>
</div>
</div>
</section>
<!-- Range slider (noUISlider) -->
<section id="forms-range-slider" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Range slider (noUISlider)</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview8" data-bs-toggle="tab" role="tab" aria-controls="preview8" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html8" data-bs-toggle="tab" role="tab" aria-controls="html8" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview8" role="tabpanel">
<h6 class="fs-sm">Two handles + inputs</h6>
<div class="range-slider mb-4 pb-3" data-start-min="280" data-start-max="720" data-min="0" data-max="1000" data-step="1" data-tooltip-prefix="$" style="max-width: 20rem;">
<div class="range-slider-ui"></div>
<div class="d-flex align-items-center">
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-min" type="number">
</div>
</div>
<div class="mx-1 px-2 fs-xs">—</div>
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-max" type="number">
</div>
</div>
</div>
</div>
<h6 class="fs-sm">With value scale (pips)</h6>
<div class="range-slider mb-4 pb-3" data-start-min="250" data-start-max="680" data-min="0" data-max="1000" data-step="1" data-pips="true" data-tooltip-prefix="$" style="max-width: 20rem;">
<div class="range-slider-ui"></div>
<div class="d-flex align-items-center">
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-min" type="number">
</div>
</div>
<div class="mx-1 px-2 fs-xs">—</div>
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-max" type="number">
</div>
</div>
</div>
</div>
<h6 class="fs-sm">One handle + no inputs</h6>
<div class="range-slider" data-start-min="450" data-min="0" data-max="1000" data-step="1" data-tooltip-prefix="$" style="max-width: 20rem;">
<div class="range-slider-ui"></div>
<input class="form-control range-slider-value-min" type="hidden">
</div>
</div>
<div class="tab-pane fade" id="html8" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Range slider: Two handles + inputs -->
<div class="range-slider" data-start-min="280" data-start-max="720" data-min="0" data-max="1000" data-step="1" data-tooltip-prefix="$">
<div class="range-slider-ui"></div>
<div class="d-flex align-items-center">
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-min" type="number">
</div>
</div>
<div class="mx-1 px-2 fs-xs">—</div>
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-max" type="number">
</div>
</div>
</div>
</div>
<!-- Range slider: With value scale (pips) -->
<div class="range-slider" data-start-min="250" data-start-max="680" data-min="0" data-max="1000" data-step="1" data-pips="true" data-tooltip-prefix="$">
<div class="range-slider-ui"></div>
<div class="d-flex align-items-center">
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-min" type="number">
</div>
</div>
<div class="mx-1 px-2 fs-xs">—</div>
<div class="w-50">
<div class="input-group">
<span class="input-group-text px-2">
<i class="bx bx-dollar mx-1"></i>
</span>
<input class="form-control form-control-sm range-slider-value-max" type="number">
</div>
</div>
</div>
</div>
<!-- Range slider: One handle + no inputs -->
<div class="range-slider" data-start-min="450" data-min="0" data-max="1000" data-step="1" data-tooltip-prefix="$">
<div class="range-slider-ui"></div>
<input class="form-control range-slider-value-min" type="hidden">
</div>
</code></pre>
</div>
</div>
</section>
<!-- Sizing -->
<section id="forms-sizing" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Sizing</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview9" data-bs-toggle="tab" role="tab" aria-controls="preview9" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html9" data-bs-toggle="tab" role="tab" aria-controls="html9" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview9" role="tabpanel">
<div class="d-sm-flex">
<div class="w-100 me-4">
<div class="mb-3">
<label class="form-label fs-base" for="input-lg">Large input</label>
<input class="form-control form-control-lg" id="input-lg" type="text" placeholder="Large input placeholder">
</div>
<div class="mb-3">
<label class="form-label" for="input-normal">Normal input</label>
<input class="form-control" id="input-normal" type="text" placeholder="Normal input placeholder">
</div>
<div class="mb-3 mb-sm-0">
<label class="form-label fs-xs" for="input-sm">Small input</label>
<input class="form-control form-control-sm" id="input-sm" type="text" placeholder="Small input placeholder">
</div>
</div>
<div class="w-100">
<div class="mb-3">
<label class="form-label fs-base" for="select-lg">Large select</label>