-
Notifications
You must be signed in to change notification settings - Fork 7
/
docs.html
2023 lines (1822 loc) · 187 KB
/
docs.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">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>U&I | Docs</title>
<link rel="icon" href="./Components/images/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Recursive:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w=="
crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&display=swap" rel="stylesheet">
</head>
<body>
<div class="grid-container-pagelayout">
<nav class="nav-bar shadow-box" id="my-nav-bar">
<div class="nav-section">
<div id="my-burger-menu" class="burger nav-section-items">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
<div class="nav-logo nav-section-items" id="my-logo">
<a class="link-no-style" href="./">
<div class="primary-text-color logo-title">U<span
class="tertiary-text-color logo-and-symbol-style">&</span>I
</div>
<div class="tertiary-text-color logo-tagline">LET'S DESIGN TOGETHER</div>
</a>
</div>
<ul class="nav-bar-links list-style-none nav-section-items">
<li class="list-inline-item avatar-in-nav-links">
<div class="primary-text-color logo-title">U<span
class="tertiary-text-color logo-and-symbol-style">&</span>I</div>
<div class="tertiary-text-color logo-tagline">LET'S DESIGN TOGETHER</div>
</li>
<li class="list-inline-item">
<a href="./" class="link-no-style">Home</a>
</li>
<li class="list-inline-item">
<a href="./docs.html" class="link-no-style">Documentation</a>
</li>
</ul>
</div>
<div class="nav-section">
<ul class="nav-icons list-style-none nav-section-item-width50pc">
<li class="list-inline-item">
<a href="https://github.com/AnkitaBagale" class="nav-icon-link link-no-style">
<span class="nav-icon">
<i class="fab fa-github" aria-hidden="true"></i>
</span>
</a>
</li>
<li class="list-inline-item">
<a href="https://twitter.com/AnkitaB1108" class="nav-icon-link link-no-style">
<span class="nav-icon">
<i class="fab fa-twitter"></i>
</span>
</a>
</li>
<li class="list-inline-item">
<a href="https://www.linkedin.com/in/ankita-bagale1108/" class="nav-icon-link link-no-style">
<span class="nav-icon">
<i class="fab fa-linkedin-in"></i>
</span>
</a>
</li>
<li class="list-inline-item">
<span class="nav-icon-link link-no-style">
<span class="nav-icon">
<i class="fas fa-moon" id="toggle-theme"></i>
</span>
</span>
</li>
</ul>
</div>
</nav>
<div class="sidebar grid-item shadow-bottom" id="my-side-bar">
<div class="nav-bar-opening-button">
<h2 class="h5 nav-title">Components</h2>
<span class="sidebar-arrow"><i class="h5 fas fa-chevron-down"></i></span>
</div>
<ul class="nav-links">
<li class="nav-link-item"><a href="#Alerts">Alerts</a></li>
<li class="nav-link-item"><a href="#Avatar">Avatar</a></li>
<li class="nav-link-item"><a href="#Badge">Badge</a></li>
<li class="nav-link-item"><a href="#Button">Button</a></li>
<li class="nav-link-item"><a href="#Cards">Cards</a></li>
<li class="nav-link-item"><a href="#Form">Form</a></li>
<li class="nav-link-item"><a href="#Image">Image</a></li>
<li class="nav-link-item"><a href="#Lists">Lists</a></li>
<li class="nav-link-item"><a href="#Modal">Modal</a></li>
<li class="nav-link-item"><a href="#Navigation">Navigation</a></li>
<li class="nav-link-item"><a href="#Rating">Rating</a></li>
<li class="nav-link-item"><a href="#Slider">Slider</a></li>
<li class="nav-link-item"><a href="#Grid">Grid Simplified</a></li>
<li class="nav-link-item"><a href="#Typography">Typography</a></li>
<li class="nav-link-item"><a href="#Toast">Toast</a></li>
</ul>
<div style="height: 1.5rem;">
</div>
</div>
<section class="main grid-item">
<div id="Alerts">
<div class="component-intro">
<h1>Alerts</h1>
<p class="body-cp-lg text-light-weight">Alerts are used to attract user's attention for important
information without interrupting the user's flow.</p>
</div>
<h2 class="h4">Example of Alert Bar without close button</h2>
<p>Alerts are available in 5 types- success alert, error alert, warning alert, primary alert, secondary
alert.<br> To use this alert just use class name <span class="primary-text-color">alert-box</span>
and also add class according to alert type- <span class="primary-text-color">alert-primary,
alert-secondary, alert-danger, alert-success, alert-warning</span>. (e.g.<span
class="primary-text-color">class="alert-box alert-primary"</span>).<br>You can copy html part
from below code snippet.</p>
<div class="component-display-container display-flex-column">
<div class="alert-box alert-primary">A primary alert example with a text link <a
class="link-text link-text-primary">Check it out!</a>
</div>
<div class="alert-box alert-secondary">A secondary alert example!!!!
</div>
<div class="alert-box alert-success"><span class="alert-icon"><i
class="fas fa-check-circle"></i></span>A success alert example!!!!
</div>
<div class="alert-box alert-danger"><span class="alert-icon"><i
class="fas fa-exclamation-triangle"></i>
</span>A danger alert example!!!!
</div>
<div class="alert-box alert-warning"><span class="alert-icon"><i
class="fas fa-exclamation-triangle"></i></span> A warning alert example!!!
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cdiv%2520class%253D%2522alert-box%2520alert-primary%2522%253E%250A%2509A%2520primary%2520alert%2520example%2520with%2520a%2520text%2520link%2520%253Ca%2520class%253D%2522link-text%2520link-text-primary%2522%253EText%2520Link%253C%252Fa%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522alert-box%2520alert-secondary%2522%253E%250A%2509A%2520secondary%2520alert%2520example%21%21%21%21%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522alert-box%2520alert-success%2522%253E%250A%2509%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-check-circle%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%2520%250A%2509A%2520success%2520alert%2520example%253A%2520order%2520placed%2520%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522alert-box%2520alert-danger%2522%253E%250A%2509%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-exclamation-triangle%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%2520%250A%2509A%2520danger%2520alert%2520example%253A%2520Are%2520you%2520sure%2520you%2520want%2520to%2520delete%2520the%2520account%2520permanently%253F%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522alert-box%2520alert-warning%2522%253E%250A%2509%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-exclamation-triangle%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%250A%2509A%2520warning%2520alert%2520example%253A%2520Fill%2520all%2520the%2520fields%2520before%2520submitting%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<div class="component-intro">
<h2 class="h4">Example of Alert bar with close button</h2>
<p>Alert can have cross icon to close the alert. Check out html and vanilla JS code below.</p>
</div>
<div class="component-display-container display-flex-column">
<div class="alert-box alert-warning" id="alert-example-close"><span class="alert-icon"><i
class="fas fa-exclamation-triangle"></i></span> A warning alert example!!!
<button type="button" class="btn-close" id="alert-example-close-btn"></button>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cdiv%2520class%253D%2522alert-box%2520alert-warning%2522%2520id%253D%2522alert-example-close%2522%253E%250A%2509%253Cspan%253E%250A%2520%2520%2520%2520%2520%2520%253Ci%2520class%253D%2522fas%2520fa-exclamation-triangle%2522%253E%253C%252Fi%253E%250A%2520%2520%2509%253C%252Fspan%253E%2520%250A%2520%2520%2509A%2520warning%2520alert%2520example%21%21%21%250A%2520%2520%2520%2520%253Cbutton%2520type%253D%2522button%2522%2520class%253D%2522btn-close%2522%2520id%253D%2522alert-example-close-btn%2522%253E%253C%252Fbutton%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h3 class="h5">JavaScript</h3>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=javascript&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=const%2520alertExampleBox%2520%253D%2520document.querySelector%28%2522%2523alert-example-close%2522%29%253B%250Aconst%2520alertExampleCloseBtn%2520%253D%2520document.querySelector%28%2522%2523alert-example-close-btn%2522%29%253B%250A%250AalertExampleCloseBtn.addEventListener%28%2522click%2522%252C%28%29%253D%253E%257B%250A%2520%2520%2520%2520alertExampleBox.style.display%2520%253D%2520%2522none%2522%253B%250A%257D%29"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Avatar">
<div class="component-intro">
<h1>Avatar</h1>
<p class="body-cp-lg text-light-weight">Avatar can be used to show user's profile picture on profile
information page, on navigation bar, in blogs grid items.</p>
</div>
<h2 class="h4">Example of Image Avatar</h2>
<p>Avatar is available in 4 different sizes. You can use image in Avatar. You need to include class
<span class="primary-text-color">avatar</span> and for size add class according to size <span
class="primary-text-color">avatar-lg-size, avatar-md-size, avatar-sm-size, avatar-xs-size</span>
(e.g. <span class="primary-text-color">class="avatar avatar-lg-size"</span>)<br>
Don't forget to add Responsive Image class names for img element.
</p>
<div class="component-display-container">
<div class="avatar avatar-lg-size flex-items">
<img loading="lazy" class="img-responsive img-round" src="Components/images/avatar5-re.jpg"
alt="avatar">
</div>
<div class="avatar avatar-md-size flex-items">
<img loading="lazy" class="img-responsive img-round" src="Components/images/avatar2-re.jpg"
alt="avatar">
</div>
<div class="avatar avatar-sm-size flex-items">
<img loading="lazy" class="img-responsive img-round" src="Components/images/avatar3-re.jpg"
alt="avatar">
</div>
<div class="avatar avatar-xs-size flex-items">
<img loading="lazy" class="img-responsive img-round" src="Components/images/avatar1.png"
alt="avatar">
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cdiv%2520class%253D%2522avatar%2520avatar-lg-size%2522%253E%250A%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar5.jpg%2522%2520alt%253D%2522avatar%2522%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-md-size%2522%253E%250A%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar2.png%2522%2520alt%253D%2522avatar%2522%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-sm-size%2522%253E%250A%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar3.jpg%2522%2520alt%253D%2522avatar%2522%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-xs-size%2522%253E%250A%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar1.png%2522%2520alt%253D%2522avatar%2522%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Text Avatar</h2>
<p>You can use initial letters of user in Avatar as well. You need to include class <span
class="primary-text-color">avatar-text</span> along with <span
class="primary-text-color">avatar</span> and size class. (e.g. <span
class="primary-text-color">class="avatar avatar-lg-size avatar-text"</span>)</p>
<div class="component-display-container">
<div class="flex-items">
<div class="avatar avatar-lg-size avatar-text" role="img" alt="avatar">AB</div>
</div>
<div class="flex-items">
<div class="avatar avatar-md-size avatar-text" role="img" alt="avatar">AB</div>
</div>
<div class="flex-items">
<div class="avatar avatar-sm-size avatar-text" role="img" alt="avatar">AB</div>
</div>
<div class="flex-items">
<div class="avatar avatar-xs-size avatar-text" role="img" alt="avatar">AB</div>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cdiv%2520class%253D%2522avatar%2520avatar-lg-size%2520avatar-text%2522%2520role%253D%2522img%2522%2520alt%253D%2522avatar%2522%253EAB%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-md-size%2520avatar-text%2522%2520role%253D%2522img%2522%2520alt%253D%2522avatar%2522%253EAB%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-sm-size%2520avatar-text%2522%2520role%253D%2522img%2522%2520alt%253D%2522avatar%2522%253EAB%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522avatar%2520avatar-xs-size%2520avatar-text%2522%2520role%253D%2522img%2522%2520alt%253D%2522avatar%2522%253EAB%253C%252Fdiv%253E%250A"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Badge">
<div class="component-intro">
<h1>Badges</h1>
<p class="body-cp-lg text-light-weight">Badges are being used to display a notification count or
status information</p>
</div>
<h2 class="h4">Example of Status Badge</h2>
<p>We have 2 types of status badges that can be integrated with Avatars. You can show colors to show the
online status of user. And to show cart or notification count, you can use number badge. Check code
below to copy the html part as is.</p>
<div class="component-display-container">
<div class="flex-items">
<div class="badge-container">
<div class="avatar avatar-lg-size">
<img loading="lazy" class="img-responsive img-round"
src="Components/images/avatar3-re.jpg" alt="avatar">
</div>
<span class="status-badge status-badge-online"></span>
</div>
</div>
<div class="flex-items">
<div class="badge-container">
<div class="avatar avatar-md-size">
<img loading="lazy" class="img-responsive img-round"
src="Components/images/avatar2-re.jpg" alt="avatar">
</div>
<span class="status-badge status-badge-offline"></span>
</div>
</div>
<div class="flex-items">
<div class="badge-container">
<div class="avatar avatar-sm-size">
<img loading="lazy" class="img-responsive img-round"
src="Components/images/avatar4-re.jpg" alt="avatar">
</div>
<span class="status-badge status-badge-away"></span>
</div>
</div>
<div class="flex-items">
<div class="badge-container">
<div class="avatar avatar-xs-size">
<img loading="lazy" class="img-responsive img-round"
src="Components/images/avatar5-re.jpg" alt="avatar">
</div>
<span class="status-badge status-badge-online"></span>
</div>
</div>
<a class="btn flex-items">
<span class="btn-icon badge-container"><i class="fas fa-shopping-cart"></i>
<span class="status-badge status-badge-number">2</span>
</span>
</a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520This%2520is%2520status-badge%2520for%2520online%2520status%2520of%2520user.%2520Add%2520class%2520names%2520according%2520to%2520size%2520and%2520status%2520color%2520you%2520want.%2520--%253E%250A%253Cdiv%2520class%253D%2522badge-container%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522avatar%2520avatar-lg-size%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar3.jpg%2522%2520alt%253D%2522avatar%2522%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253Cspan%2520class%253D%2522status-badge%2520status-badge-online%2522%253E%253C%252Fspan%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522badge-container%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522avatar%2520avatar-md-size%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar2.png%2522%2520alt%253D%2522avatar%2522%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253Cspan%2520class%253D%2522status-badge%2520status-badge-offline%2522%253E%253C%252Fspan%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522badge-container%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522avatar%2520avatar-sm-size%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar4.jpg%2522%2520alt%253D%2522avatar%2522%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253Cspan%2520class%253D%2522status-badge%2520status-badge-away%2522%253E%253C%252Fspan%253E%250A%253C%252Fdiv%253E%250A%253Cdiv%2520class%253D%2522badge-container%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522avatar%2520avatar-xs-size%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520img-round%2522%2520src%253D%2522Components%252Fimages%252Favatar5.jpg%2522%2520alt%253D%2522avatar%2522%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253Cspan%2520class%253D%2522status-badge%2520status-badge-online%2522%253E%253C%252Fspan%253E%250A%253C%252Fdiv%253E%250A%253C%21--%2520This%2520is%2520number-badge%2520for%2520showing%2520count%2520of%2520Notifications%252FCart.%2520--%253E%250A%253Ca%253E%250A%2520%2520%253Cspan%2520class%253D%2522btn-icon%2520badge-container%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%250A%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522status-badge%2520status-badge-number%2522%253E2%253C%252Fspan%253E%250A%2520%2520%253C%252Fspan%253E%250A%253C%252Fa%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Text Badge</h2>
<p>We have 2 types of text badges that can be integrated with text. Badge with rounded edges and square
edges. Font size of badge text is in <span class="primary-text-color">em</span>. It will change as
per the parent element's font-size.</p>
<div class="component-display-container">
<div class="flex-items">
<h2 class="badge-container">Example of Heading with Badge <span
class="badge bg-secondary">New</span>
</h2>
<h3 class="badge-container">Example of Heading with Badge <span
class="badge bg-secondary">New</span>
</h3>
<h4 class="badge-container">Example of Heading with Badge <span
class="badge bg-secondary round-pill-badge">New</span>
</h4>
<h5 class="badge-container">Example of Heading with Badge <span
class="badge bg-primary">New</span>
</h5>
<h6 class="badge-container">Example of Heading with Badge <span
class="badge bg-primary">New</span>
</h6>
<p class="badge-container">Example of Paragraph with Badge <span
class="badge bg-primary round-pill-badge">New</span>
</p>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Ch2%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Heading%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-secondary%2522%253ENew%253C%252Fspan%253E%253C%252Fh2%253E%250A%253Ch3%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Heading%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-secondary%2522%253ENew%253C%252Fspan%253E%253C%252Fh3%253E%250A%253Ch4%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Heading%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-secondary%2520round-pill-badge%2522%253ENew%253C%252Fspan%253E%253C%252Fh4%253E%250A%253Ch5%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Heading%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%253C%252Fh5%253E%250A%253Ch6%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Heading%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%253C%252Fh6%253E%250A%253Cp%2520class%253D%2522badge-container%2522%253EExample%2520of%2520Body%2520with%2520Badge%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2520round-pill-badge%2522%253ENew%253C%252Fspan%253E%253C%252Fp%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Button">
<div class="component-intro">
<h1>Buttons</h1>
<p class="body-cp-lg text-light-weight">Buttons are also called as call to action. We have range of
buttons and their states. You may use <em>a</em> tag or <em>button</em> element, you need to add
respective classes, and you are good to go.</p>
</div>
<h2 class="h4">Example of Primary Button Styles</h2>
<p>Whenever you want your user to click on a link or button, use primary style buttons.</p>
<div class="component-display-container">
<a href="#" class="btn flex-items btn-solid-primary">Primary-Solid</a>
<a class="btn flex-items btn-outline-primary">Primary-Outline</a>
<a class="link-text flex-items link-text-primary">Primary-Text</a>
<a class="btn flex-items btn-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>
</a>
<a class="btn flex-items btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Ca%2520class%253D%2522btn%2520btn-solid-primary%2522%253EPrimary-Solid%253C%252Fa%253E%2520%2520%250A%253Ca%2520class%253D%2522btn%2520btn-outline-primary%2522%253EPrimary-Outline%253C%252Fa%253E%250A%253Ca%2520class%253D%2522link-text%2520link-text-primary%2522%253EPrimary-Text%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-icon-primary%2522%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-text-icon-primary%2522%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Secondary Button Styles</h2>
<p>If you want user not to pay attention to buttons then use Secondary buttons. You can directly copy
below html code and use it in your app.</p>
<div class="component-display-container">
<a class="btn flex-items btn-solid-secondary">Solid</a>
<a class="btn flex-items btn-outline-secondary">Outline</a>
<a class="link-text flex-items link-text-secondary">Text Link</a>
<a class="btn flex-items btn-icon-secondary"><span class="btn-icon"><i
class="fas fa-trash-alt"></i></span>
</a>
<a class="btn flex-items btn-text-icon-secondary"><span class="btn-icon"><i
class="fas fa-minus"></i></span>Remove</a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Ca%2520class%253D%2522btn%2520btn-solid-secondary%2522%253ESolid%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-outline-secondary%2522%253EOutline%253C%252Fa%253E%250A%253Ca%2520class%253D%2522link-text%2520link-text-secondary%2522%253EText%2520Link%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-icon-secondary%2522%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-trash-alt%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-text-icon-secondary%2522%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-minus%2522%253E%253C%252Fi%253E%253C%252Fspan%253ERemove%253C%252Fa%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Disabled Button</h2>
<p>If you want to style disabled button add <span class="primary-text-color">btn-disabled</span> class
and you are good to go.</p>
<div class="component-display-container">
<a class="btn flex-items btn-solid-primary btn-disabled">Solid</a>
<a class="btn flex-items btn-text-icon-secondary btn-disabled"><span class="btn-icon"><i
class="fas fa-minus"></i></span>Remove</a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Ca%2520class%253D%2522btn%2520btn-solid-primary%2520btn-disabled%2522%253ESolid%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-text-icon-secondary%2520btn-disabled%2522%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-minus%2522%253E%253C%252Fi%253E%253C%252Fspan%253ERemove%253C%252Fa%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Different Button Sizes</h2>
<p>If you want to have different size for your button, you can add <span
class="primary-text-color">btn-lg-size, btn-sm-size</span> class for large and small size
respectively.</p>
<div class="component-display-container">
<a class="btn flex-items btn-solid-primary btn-lg-size">Large CTA</a>
<a class="btn flex-items btn-solid-primary btn-sm-size">Small CTA</a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Ca%2520class%253D%2522btn%2520btn-solid-primary%2520btn-lg-size%2522%253ELarge%2520CTA%253C%252Fa%253E%250A%253Ca%2520class%253D%2522btn%2520btn-solid-primary%2520btn-sm-size%2522%253ESmall%2520CTA%253C%252Fa%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Toggle Button and Floating action Button</h2>
<p>Toggle buttons can be used to change the theme. For class and html, check below code.<br>
Floating-action buttons can be customized by adding the font-awesome icon of your choice. This
button will be fixed to right-bottom corner.</p>
<div class="component-display-container">
<label class="btn-toggle flex-items"><input class="btn-checkbox" type="checkbox"><span
class="btn-slider-round"></span></label>
<a class="btn btn-float-action flex-items"><i class="fas fa-plus"></i></a>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Clabel%2520class%253D%2522btn-toggle%2522%253E%253Cinput%2520class%253D%2522btn-checkbox%2522%2520type%253D%2522checkbox%2522%253E%250A%2509%253Cspan%2520class%253D%2522btn-slider-round%2522%253E%253C%252Fspan%253E%250A%253C%252Flabel%253E%250A%250A%253Ca%2520class%253D%2522btn%2520btn-float-action%2522%253E%253Ci%2520class%253D%2522fas%2520fa-plus%2522%253E%253C%252Fi%253E%253C%252Fa%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Cards">
<div class="component-intro">
<h1>Cards</h1>
<p class="body-cp-lg text-light-weight">Card are used to show user related data collectively, like
product details.</p>
</div>
<h2 class="h4">Example of Horizontal Card- Text+Image</h2>
<p>Card's image may have a margin or it can be full-bleed. By default card's images are full-bleed. If
you want image to have margin, you can use <span class="primary-text-color">default-container</span>
class.<br>Copy below code and put your desired text and image and you are good to go.</p>
<div class="component-display-container display-flex-column">
<!-- card with badge and image default-container -->
<div class="card-horizontal default-container flex-items shadow-box">
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img" src="Components/images/cardImg1.webp"
alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container">
<div class="text-container-title">
<h6 class="text-regular-weight">Pink Dress</h6>
<p class="body-cp-md">Girls White & Blue Printed Dress<br>
<small class="body-cp-sm text-light-weight secondary-text-color">Sold by: Lil
Picks</small>
</p>
</div>
<div class="text-container-desc">
<p>White and blue printed playsuit with knot detail, has a shirt collar, sleeveless,
button closures</p>
</div>
<div class="CTA-Container">
<a class="btn btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
<a class="btn btn-outline-secondary">Move to Wishlist</a>
</div>
</div>
</div>
<!-- card with badge and image full bleed -->
<div class="card-horizontal flex-items shadow-box">
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img" src="Components/images/cardImg1.webp"
alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container vertical-middle-self">
<div class="text-container-title">
<h6 class="text-regular-weight">Pink Dress</h6>
<p class="body-cp-md">Girls White & Blue Printed Dress<br>
<small class="body-cp-sm text-light-weight secondary-text-color">Sold by: Lil
Picks</small>
</p>
</div>
<div class="text-container-desc">
<p>White and blue printed playsuit with knot detail, has a shirt collar, sleeveless,
button closures.</p>
</div>
<div class="CTA-Container">
<a class="btn btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
<a class="btn btn-outline-secondary">Move to Wishlist</a>
</div>
</div>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520card%2520with%2520badge%2520and%2520margin%2520to%2520image%2520--%253E%250A%253Cdiv%2520class%253D%2522card-horizontal%2520default-container%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2522%253EPink%2520Dress%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Printed%2520Dress%253Cbr%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Csmall%2520class%253D%2522body-cp-sm%2520text-light-weight%2520secondary-text-color%2522%253ESold%2520by%253A%2520Lil%2520Picks%253C%252Fsmall%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-desc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%253EWhite%2520and%2520blue%2520printed%2520playsuit%2520with%2520knot%2520detail%252C%2520has%2520a%2520shirt%2520collar%252C%2520sleeveless%252C%2520button%2520closures%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522CTA-Container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520btn-text-icon-primary%2522%2520%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520btn-outline-secondary%2522%253EMove%2520to%2520Wishlist%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%253C%252Fdiv%253E%250A%253C%21--%2520card%2520with%2520badge%2520and%2520image%2520full%2520bleed%2520--%253E%250A%253Cdiv%2520class%253D%2522card-horizontal%2522%253E%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%250A%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container%2520vertical-middle-self%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2522%253EPink%2520Dress%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Printed%2520Dress%253Cbr%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Csmall%2520class%253D%2522body-cp-sm%2520text-light-weight%2520secondary-text-color%2522%253ESold%2520by%253A%2520Lil%2520Picks%253C%252Fsmall%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-desc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%253EWhite%2520and%2520blue%2520printed%2520playsuit%2520with%2520knot%2520detail%252C%2520has%2520a%2520shirt%2520collar%252C%2520sleeveless%252C%2520button%2520closures.%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522CTA-Container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520btn-text-icon-primary%2522%2520%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520btn-outline-secondary%2522%253EMove%2520to%2520Wishlist%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Vertical Card- Text+Image</h2>
<p>Below are 3 variations, card with badge, card with image default-container, card with close button.
All the cards have like button.</p>
<div class="component-display-container">
<div class="card-vertical flex-items shadow-box">
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img" src="Components/images/cardImg1.webp"
alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container">
<div class="text-container-title">
<h6 class="text-regular-weight product-title">Pink Dress<button
class="like-btn link-no-style"><span><i
class="fas fa-heart"></i></span></button></h6>
</div>
<div class="text-container-desc">
<p class="body-cp-md">Girls White & Blue Dress</p>
<p class="text-regular-weight">Rs.899 <span class="text-light-weight"><span
class="text-strike-through">Rs.999</span><span
class="primary-text-color">10%</span></span></p>
</div>
<div class="CTA-Container">
<a class="btn flex-items btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
</div>
</div>
</div>
<div class="card-vertical default-container flex-items shadow-box">
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img" src="Components/images/cardImg1.webp"
alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container">
<div class="text-container-title">
<h6 class="text-regular-weight product-title">Pink Dress<button
class="like-btn link-no-style"><span><i
class="fas fa-heart"></i></span></button></h6>
</div>
<div class="text-container-desc display-flex-column">
<p class="body-cp-md">Girls White & Blue Dress</p>
<p class="text-regular-weight flex-grow">Rs.899 <span class="text-light-weight"><span
class="text-strike-through">Rs.999</span><span
class="primary-text-color">10%</span></span></p>
</div>
<div class="CTA-Container">
<a class="btn flex-items btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
</div>
</div>
</div>
<div class="card-vertical flex-items shadow-box">
<button type="button" class="btn-close"></button>
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img" src="Components/images/cardImg1.webp"
alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container">
<div class="text-container-title">
<h6 class="text-regular-weight product-title">Pink Dress<button
class="like-btn link-no-style"><span><i
class="fas fa-heart"></i></span></button></h6>
</div>
<div class="text-container-desc">
<p class="body-cp-md">Girls White & Blue Dress</p>
<p class="text-regular-weight">Rs.899 <span class="text-light-weight"><span
class="text-strike-through">Rs.999</span><span
class="primary-text-color">10%</span></span></p>
</div>
<div class="CTA-Container">
<a class="btn flex-items btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
</div>
</div>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520vertical-card%2520with%2520badge%2520--%253E%250A%253Cdiv%2520class%253D%2522card-vertical%2520flex-items%2520shadow-box%2522%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522text-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2520product-title%2522%253EPink%2520Dress%253Cbutton%2520class%253D%2522like-btn%2520link-no-style%2522%253E%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-heart%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%253C%252Fbutton%253E%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-desc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Dress%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522text-regular-weight%2522%253ERs.899%2520%253Cspan%2520class%253D%2522text-light-weight%2522%253E%253Cspan%2520class%253D%2522text-strike-through%2522%253ERs.999%253C%252Fspan%253E%253Cspan%2520class%253D%2522primary-text-color%2522%253E10%2525%253C%252Fspan%253E%253C%252Fspan%253E%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522CTA-Container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520flex-items%2520btn-text-icon-primary%2522%2520%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253C%252Fdiv%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520vertical-card%2520with%2520badge%2520and%2520margin%2520to%2520image%2520--%253E%250A%253Cdiv%2520class%253D%2522card-vertical%2520default-container%2520flex-items%2520shadow-box%2522%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522text-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2520product-title%2522%253EPink%2520Dress%253Cbutton%2520class%253D%2522like-btn%2520link-no-style%2522%253E%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-heart%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%253C%252Fbutton%253E%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-desc%2520display-flex-column%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Dress%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522text-regular-weight%2520flex-grow%2522%253ERs.899%2520%253Cspan%2520class%253D%2522text-light-weight%2522%253E%253Cspan%2520class%253D%2522text-strike-through%2522%253ERs.999%253C%252Fspan%253E%253Cspan%2520class%253D%2522primary-text-color%2522%253E10%2525%253C%252Fspan%253E%253C%252Fspan%253E%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522CTA-Container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520flex-items%2520btn-text-icon-primary%2522%2520%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520vertical-card%2520with%2520badge%2520and%2520close%2520button%2520--%253E%250A%253Cdiv%2520class%253D%2522card-vertical%2520flex-items%2520shadow-box%2522%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cbutton%2520type%253D%2522button%2522%2520class%253D%2522btn-close%2522%253E%253C%252Fbutton%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522text-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2520product-title%2522%253EPink%2520Dress%253Cbutton%2520class%253D%2522like-btn%2520link-no-style%2522%253E%253Cspan%253E%253Ci%2520class%253D%2522fas%2520fa-heart%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%253C%252Fbutton%253E%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522text-container-desc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Dress%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522text-regular-weight%2522%253ERs.899%2520%253Cspan%2520class%253D%2522text-light-weight%2522%253E%253Cspan%2520class%253D%2522text-strike-through%2522%253ERs.999%253C%252Fspan%253E%253Cspan%2520class%253D%2522primary-text-color%2522%253E10%2525%253C%252Fspan%253E%253C%252Fspan%253E%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522CTA-Container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ca%2520class%253D%2522btn%2520flex-items%2520btn-text-icon-primary%2522%2520%253E%253Cspan%2520class%253D%2522btn-icon%2522%253E%253Ci%2520class%253D%2522fas%2520fa-shopping-cart%2522%253E%253C%252Fi%253E%253C%252Fspan%253EAdd%2520to%2520Cart%253C%252Fa%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Card with Text Overlay</h2>
<p>You need to wrap element that need to be overlay and on which it is to be overlayed in a single div.
Use class names as per below code.</p>
<div class="component-display-container">
<div class="card-vertical flex-items shadow-box">
<div class="overlay-container">
<div class="image-container badge-container">
<img loading="lazy" class="img-responsive card-img"
src="Components/images/cardImg1.webp" alt="product-image">
<span class="badge bg-primary">New</span>
</div>
<div class="text-container">
<div class="text-container-title">
<h6 class="text-regular-weight product-title">Pink Dress<button
class="like-btn link-no-style"><span><i
class="fas fa-heart"></i></span></button></h6>
</div>
<div class="text-container-desc">
<p class="body-cp-md">Girls White & Blue Dress</p>
<p class="text-regular-weight">Rs.899 <span class="text-light-weight"><span
class="text-strike-through">Rs.999</span><span
class="primary-text-color">10%</span></span></p>
</div>
<div class="CTA-Container">
<a class="btn flex-items btn-text-icon-primary"><span class="btn-icon"><i
class="fas fa-shopping-cart"></i></span>Add to Cart</a>
</div>
</div>
</div>
<div class="overlay-text">
<div class="text-container body-cp-lg">Out Of Stock</div>
</div>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253C%21--%2520vertical-card%2520with%2520text-overlay%2520--%253E%250A%253Cdiv%2520class%253D%2522card-vertical%2522%253E%250A%2520%2520%253Cdiv%2520class%253D%2522overlay-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522image-container%2520badge-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cimg%2520class%253D%2522img-responsive%2520card-img%2522%2520src%253D%2522Components%252Fimages%252FcardImg1.webp%2522%2520alt%253D%2522product-image%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522badge%2520bg-primary%2522%253ENew%253C%252Fspan%253E%250A%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-title%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Ch6%2520class%253D%2522text-regular-weight%2520product-title%2522%253EPink%2520Dress%253Cspan%2520class%253D%2522like-btn%2522%253E%253Ci%2520class%253D%2522far%2520fa-heart%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%2509%2509%2509%2509%2520%2520%253C%252Fh6%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522text-container-desc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522body-cp-md%2522%253EGirls%2520White%2520%2526%2520Blue%2520Dress%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cp%2520class%253D%2522text-regular-weight%2522%253ERs.899%2520%253Cspan%2520class%253D%2522text-light-weight%2522%253E%253Cspan%2520class%253D%2522text-strike-through%2522%253ERs.999%253C%252Fspan%253E%2509%2509%2509%2509%2520%2520%253Cspan%2520class%253D%2522primary-text-color%2522%253E10%2525%253C%252Fspan%253E%253C%252Fspan%253E%253C%252Fp%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%253C%252Fdiv%253E%250A%2520%2520%250A%2520%2520%253Cdiv%2520class%253D%2522overlay-text%2522%253E%253Cdiv%2520class%253D%2522body-cp-lg%2522%253EOut%2520Of%2520Stock%253C%252Fdiv%253E%253C%252Fdiv%253E%250A%253C%252Fdiv%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Form">
<div class="component-intro">
<h1>Form Components</h1>
<p class="body-cp-lg text-light-weight">There are form fields listed below and form validation is
also styled.</p>
</div>
<h2 class="h4">Example of Active form fields</h2>
<p>Add <span class="primary-text-color">form-label</span> class to labels and <span
class="primary-text-color">form-field</span> for input element, <span
class="primary-text-color">form-field, form-textarea</span> for textarea element(mulitple lines
input).<br>
Add <span class="primary-text-color">form-label-required-field</span> class to labels if the field
is required, it will show star on the field</p>
<div class="component-display-container">
<div class="row">
<label class="form-label form-label-required-field">Email address</label>
<input type="email" class="form-field" placeholder="name@example.com" required>
</div>
<div class="row">
<label class="form-label">Example Textarea</label>
<textarea type="email" class="form-field form-textarea" placeholder="start writing here.."
rows="3"></textarea>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Clabel%2520class%253D%2522form-label%2520form-label-required-field%2522%253EEmail%2520address%253C%252Flabel%253E%250A%253Cinput%2520type%253D%2522email%2522%2520class%253D%2522form-field%2522%2520placeholder%253D%2522name%2540example.com%2522%2520required%253E%250A%250A%253Clabel%2520class%253D%2522form-label%2522%253EExample%2520Textarea%253C%252Flabel%253E%250A%253Ctextarea%2520type%253D%2522email%2522%2520class%253D%2522form-field%2520form-textarea%2522%2520placeholder%253D%2522start%2520writing%2520here..%2522%2520rows%253D%25223%2522%253E%253C%252Ftextarea%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Disabled/Read only form fields</h2>
<p>Add <span class="primary-text-color">disabled</span> attribute to your form element to make them
disable. No need to add any extra class.<br>
Add <span class="primary-text-color">readonly</span> attribute to your form element to make them
read-only. No need to add any extra class.</p>
<div class="component-display-container">
<div class="row">
<input type="email" class="form-field" placeholder="Disabled input" disabled>
</div>
<div class="row">
<input type="email" class="form-field" placeholder="Disabled read only" disabled readonly>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cinput%2520type%253D%2522email%2522%2520class%253D%2522form-field%2522%2520placeholder%253D%2522Disabled%2520input%2522%2520disabled%253E%250A%250A%253Cinput%2520type%253D%2522email%2522%2520class%253D%2522form-field%2522%2520placeholder%253D%2522Disabled%2520read%2520only%2522%2520disabled%2520readonly%253E%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Read only plain text form field</h2>
<p>Add <span class="primary-text-color">read-only</span> attribute to your form element to make them
read-only. Add <span class="primary-text-color">form-field-plain-text</span> class to form field
element.</p>
<div class="component-display-container">
<div class="row">
<div class="column-20-pc column1">
<label class="form-label">Enter email</label>
</div>
<div class="column-80-pc">
<input class="form-field form-field-plain-text" value="name@example.com" required
readonly />
</div>
</div>
<div class="row">
<div class="column-20-pc column1">
<label class="form-label">Enter password</label>
</div>
<div class="column-80-pc">
<input class="form-field" placeholder="enter password here" required />
</div>
</div>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cinput%2520class%253D%2522form-field%2520form-field-plain-text%2522%2520value%253D%2522name%2540example.com%2522%2520required%2520readonly%252F%253E%2520%2520%2520%2520%2520%2520%2520%2520%2520"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Form Validation</h2>
<p>Below is the form validation example. You can have error message and check passed message on field
level. For html and class, please check below html and for functionality, JavaScript code.</p>
<div class="component-display-container">
<form class="submit-form-example" novalidate>
<div class="row">
<div class="column-20-pc column1">
<label class="form-label form-label-required-field">Enter phone number</label>
</div>
<div class="column-80-pc">
<input class="form-field" placeholder="enter mobile number"
pattern="^(\+91)?\s?[1-9][0-9]{9}$" required />
<div class="form-validation-msg form-field-error"><span class="form-field-symbol"><i
class="fas fa-exclamation-circle"></i></span>Please fill mobile number!
</div>
<div class="form-validation-msg form-field-success"><span class="form-field-symbol"><i
class="fas fa-check-circle"></i></span>check pass</div>
</div>
</div>
<div class="row">
<div class="column-20-pc column1">
<label class="form-label form-label-required-field">Select your country</label>
</div>
<div class="column-80-pc">
<select class="form-field" required>
<option value="India">India</option>
<option value="America">America</option>
</select>
</div>
</div>
<div class="row">
<div class="column-20-pc column1">
<label class="form-label">Gender</label>
</div>
<div class="column-80-pc display-flex">
<div class="flex-items">
<input class="form-checkbox-field" type="radio" name="gender" value="F" id="female"
checked />
<label for="female">Female</label>
</div>
<div class="flex-items">
<input class="form-checkbox-field" type="radio" name="gender" value="M" id="male" />
<label for="male">Male</label>
</div>
</div>
</div>
<div class="row">
<div class="column-20-pc column1">
<label class="form-label form-label-required-field">Enter Your Birthdate</label>
</div>
<div class="column-80-pc">
<input class="form-field" type="date" required />
<div class="form-validation-msg form-field-error"><span class="form-field-symbol"><i
class="fas fa-exclamation-circle"></i></span>Please fill birthdate!</div>
<div class="form-validation-msg form-field-success"><span class="form-field-symbol"><i
class="fas fa-check-circle"></i></span>check pass</div>
</div>
</div>
<div class="row">
<div>
<input class="form-checkbox-field" type="checkbox" required />
<label class="form-label-required-field"> Yes, I accept the terms.</label>
<div class="form-validation-msg form-field-error"><span class="form-field-symbol"><i
class="fas fa-exclamation-circle"></i></span>Please check the box!</div>
<div class="form-validation-msg form-field-success"><span class="form-field-symbol"><i
class="fas fa-check-circle"></i></span>check pass</div>
</div>
</div>
<button class="btn btn-outline-primary btn-sm-size" type="submit">Submit</button>
</form>
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cform%2520class%253D%2522submit-form-example%2522%2520novalidate%253E%250A%2520%2520%2520%2520%250A%2520%2520%2509%253Cdiv%2520class%253D%2522row%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522column-20-pc%2520column1%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Clabel%2520class%253D%2522form-label%2520form-label-required-field%2522%253EEnter%2520phone%2520number%253C%252Flabel%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2509%253Cdiv%2520class%253D%2522column-80-pc%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cinput%2520class%253D%2522form-field%2522%2520placeholder%253D%2522enter%2520mobile%2520number%2522%2520pattern%253D%2522%255E%28%255C%252B91%29%253F%255Cs%253F%255B1-9%255D%255B0-9%255D%257B9%257D%2524%2522%2520required%252F%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522form-validation-msg%2520form-field-error%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522form-field-symbol%2522%253E%253Ci%2520class%253D%2522fas%2520fa-exclamation-circle%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520Please%2520fill%2520mobile%2520number%21%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2509%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cdiv%2520class%253D%2522form-validation-msg%2520form-field-success%2522%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%253Cspan%2520class%253D%2522form-field-symbol%2522%253E%253Ci%2520class%253D%2522fas%2520fa-check-circle%2522%253E%253C%252Fi%253E%253C%252Fspan%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520check%2520pass%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2509%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%253C%252Fdiv%253E%250A%2520%2520%250A%2520%2520%2509%253Cbutton%2520class%253D%2522btn%2520btn-outline-primary%2520btn-sm-size%2522%2520type%253D%2522submit%2522%253ESubmit%253C%252Fbutton%253E%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%250A%253C%252Fform%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h3 class="h5">JavaScript</h3>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=javascript&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=const%2520allForms%2520%253D%2520document.querySelectorAll%28%2522.submit-form-example%2522%29%253B%250A%250AallForms.forEach%28%28form%29%253D%253E%257B%250A%2520%2520%2520%2520form.addEventListener%28%2522submit%2522%252C%2520%28e%29%253D%253E%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520if%28%21form.checkValidity%28%29%29%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520e.preventDefault%28%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%2520%2520%2520%2520form.classList.add%28%2522form-validated%2522%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%257D%252C%2520false%29%250A%257D%29"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Image">
<div class="component-intro">
<h1>Images</h1>
<p class="body-cp-lg text-light-weight">Images can be responsive to fit the parent's width, and also
can be customised to be round shaped</p>
</div>
<h2 class="h4">Example of Responsive Image</h2>
<p>You can add class <span class="primary-text-color">img-responsive</span> to make your image fit the
width of container. It's height will get adjusted by keeping the aspect ratio same. If you want to
change the aspect ratio, you will have to crop the image.</p>
<div class="component-display-container display-flex-column">
<img loading="lazy" class="img-responsive" src="./Components/images/responsive-image.jpg">
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cimg%2520class%253D%2522img-responsive%2522%2520src%253D%2522exampleUrl.png%2522%2520%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
<h2 class="h4">Example of Round Image</h2>
<p>You can add class <span class="primary-text-color">img-round</span> to make your image round shaped.
</p>
<div class="component-display-container display-flex-column">
<img loading="lazy" class="img-round" src="./Components/images/android-chrome-192x192.png">
</div>
<div class="code-snippet-display">
<code>
<iframe
src="https://carbon.now.sh/embed?bg=rgba%28249%2C237%2C212%2C1%29&t=one-light&wt=sharp&l=htmlmixed&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=0px&ph=0px&ln=false&fl=1&fm=IBM+Plex+Mono&fs=14px&lh=143%25&si=false&es=2x&wm=false&code=%253Cimg%2520class%253D%2522img-round%2522%2520src%253D%2522exampleUrl.png%2522%2520%253E"
style="border:0; transform: scale(1); overflow:hidden;"
sandbox="allow-scripts allow-same-origin">
</iframe>
</code>
</div>
</div>
<hr>
<div id="Lists">
<div class="component-intro">
<h1>Lists</h1>
<p class="body-cp-lg text-light-weight">Lists can be used at so many places, navigation bar, stacked
notifications, article pages, etc.</p>
</div>