-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard-theme.html
More file actions
2540 lines (2425 loc) · 179 KB
/
dashboard-theme.html
File metadata and controls
2540 lines (2425 loc) · 179 KB
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" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Production-ready dashboard theme with Tailwind CSS - Purple color scheme">
<meta name="author" content="Dashboard Theme Library">
<title>Dashboard Component Library - Purple Theme</title>
<!-- Tailwind CSS v3.4.1 CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Tailwind Config for Purple Theme -->
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#faf5ff',
100: '#f3e8ff',
200: '#e9d5ff',
300: '#d8b4fe',
400: '#c084fc',
500: '#a855f7',
600: '#9333ea',
700: '#7e22ce',
800: '#6b21a8',
900: '#581c87',
}
}
}
}
}
</script>
<!-- Custom Styles -->
<style>
/* Minimal custom CSS - leveraging Tailwind utilities */
[x-cloak] { display: none !important; }
/* Smooth transitions */
* {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
/* Focus visible outline for accessibility */
*:focus-visible {
outline: 2px solid #9333ea;
outline-offset: 2px;
}
/* Hide scrollbar for sidebar on mobile */
.sidebar-scroll::-webkit-scrollbar {
display: none;
}
.sidebar-scroll {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Mobile Menu Backdrop -->
<div id="mobileMenuBackdrop" class="hidden fixed inset-0 bg-gray-900 bg-opacity-50 z-40 lg:hidden"></div>
<!-- Sidebar Navigation -->
<aside id="sidebar" class="fixed left-0 top-0 z-50 h-screen w-64 -translate-x-full transform bg-purple-800 text-white transition-transform duration-300 ease-in-out lg:translate-x-0" role="navigation" aria-label="Sidebar navigation">
<div class="flex h-full flex-col">
<!-- Logo -->
<div class="flex h-16 items-center justify-between border-b border-purple-700 px-6">
<h1 class="text-xl font-bold">Component Library</h1>
<button id="closeSidebar" class="lg:hidden text-white hover:bg-purple-700 rounded p-2" aria-label="Close sidebar">
<svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
</svg>
</button>
</div>
<!-- Navigation Menu -->
<nav class="flex-1 overflow-y-auto sidebar-scroll px-4 py-6">
<ul class="space-y-2">
<li>
<a href="#overview" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Overview
</a>
</li>
<li>
<a href="#colors" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Color Palette
</a>
</li>
<li>
<a href="#typography" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Typography
</a>
</li>
<li>
<a href="#spacing" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Spacing & Sizing
</a>
</li>
<li>
<a href="#buttons" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Buttons
</a>
</li>
<li>
<a href="#inputs" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Input Fields
</a>
</li>
<li>
<a href="#tables" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Tables
</a>
</li>
<li>
<a href="#pagination" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Pagination
</a>
</li>
<li>
<a href="#toasts" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Toasts & Notifications
</a>
</li>
<li>
<a href="#navbar" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Navbar
</a>
</li>
<li>
<a href="#sidenav" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Side Navigation
</a>
</li>
<li>
<a href="#dropdowns" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Dropdowns & Menus
</a>
</li>
<li>
<a href="#breadcrumbs" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Breadcrumbs
</a>
</li>
<li>
<a href="#cards" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Cards
</a>
</li>
<li>
<a href="#selects" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Select Components
</a>
</li>
<li>
<a href="#modals" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Modals
</a>
</li>
<li>
<a href="#tabs" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Tabs
</a>
</li>
<li>
<a href="#spinners" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Spinners & Loaders
</a>
</li>
<li>
<a href="#grids" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Grid System
</a>
</li>
<li>
<a href="#images" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Images & Avatars
</a>
</li>
<li>
<a href="#layouts" class="block rounded-lg px-4 py-2 text-sm font-medium hover:bg-purple-700 focus:bg-purple-700">
Layout Examples
</a>
</li>
</ul>
</nav>
<!-- Footer -->
<div class="border-t border-purple-700 p-4">
<p class="text-xs text-purple-200">Dashboard Theme v1.0</p>
<p class="text-xs text-purple-300">Tailwind CSS v3.4</p>
</div>
</div>
</aside>
<!-- Main Content -->
<div class="lg:ml-64">
<!-- Top Header -->
<header class="sticky top-0 z-30 bg-white border-b border-gray-200 shadow-sm">
<div class="flex h-16 items-center justify-between px-4 sm:px-6 lg:px-8">
<!-- Mobile Menu Button -->
<button id="openSidebar" class="lg:hidden text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg p-2" aria-label="Open sidebar">
<svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/>
</svg>
</button>
<h2 class="text-xl font-semibold text-gray-900">Dashboard Component Library</h2>
<!-- Right Side Actions -->
<div class="flex items-center space-x-4">
<button class="text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg p-2" aria-label="Notifications">
<svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"/>
</svg>
</button>
</div>
</div>
</header>
<!-- Page Content -->
<main class="p-4 sm:p-6 lg:p-8">
<!-- Overview Section -->
<section id="overview" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Dashboard Component Library</h2>
<p class="text-gray-600 mb-4">
A comprehensive, production-ready dashboard theme built with pure HTML, CSS, and Tailwind CSS.
Features a purple color scheme with mobile-first responsive design supporting all screen sizes (320px to 2560px+).
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6">
<div class="bg-purple-50 rounded-lg p-4 border border-purple-200">
<h3 class="font-semibold text-purple-900 mb-2">Mobile-First</h3>
<p class="text-sm text-purple-700">Responsive design that works on all devices</p>
</div>
<div class="bg-purple-50 rounded-lg p-4 border border-purple-200">
<h3 class="font-semibold text-purple-900 mb-2">Accessible</h3>
<p class="text-sm text-purple-700">WCAG 2.1 AA compliant with proper contrast ratios</p>
</div>
<div class="bg-purple-50 rounded-lg p-4 border border-purple-200">
<h3 class="font-semibold text-purple-900 mb-2">Production-Ready</h3>
<p class="text-sm text-purple-700">Copy-paste ready components for real applications</p>
</div>
</div>
</div>
</section>
<!-- Color Palette Section -->
<section id="colors" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-2">Color Palette</h2>
<p class="text-gray-600 mb-6">Purple color scheme with semantic colors for various states</p>
<!-- Primary Purple Colors -->
<div class="mb-8">
<h3 class="text-xl font-semibold text-gray-900 mb-4">Primary Purple</h3>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-4">
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-50 border border-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">50</span>
</div>
<p class="text-xs font-mono text-gray-600">#faf5ff</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-100 border border-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">100</span>
</div>
<p class="text-xs font-mono text-gray-600">#f3e8ff</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-200 border border-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">200</span>
</div>
<p class="text-xs font-mono text-gray-600">#e9d5ff</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-300 flex items-center justify-center">
<span class="text-xs font-mono text-gray-900">300</span>
</div>
<p class="text-xs font-mono text-gray-600">#d8b4fe</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-400 flex items-center justify-center">
<span class="text-xs font-mono text-white">400</span>
</div>
<p class="text-xs font-mono text-gray-600">#c084fc</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-500 flex items-center justify-center">
<span class="text-xs font-mono text-white">500</span>
</div>
<p class="text-xs font-mono text-gray-600">#a855f7</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-600 flex items-center justify-center">
<span class="text-xs font-mono text-white">600</span>
</div>
<p class="text-xs font-mono text-gray-600">#9333ea</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-700 flex items-center justify-center">
<span class="text-xs font-mono text-white">700</span>
</div>
<p class="text-xs font-mono text-gray-600">#7e22ce</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-800 flex items-center justify-center">
<span class="text-xs font-mono text-white">800</span>
</div>
<p class="text-xs font-mono text-gray-600">#6b21a8</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-purple-900 flex items-center justify-center">
<span class="text-xs font-mono text-white">900</span>
</div>
<p class="text-xs font-mono text-gray-600">#581c87</p>
</div>
</div>
</div>
<!-- Semantic Colors -->
<div class="mb-8">
<h3 class="text-xl font-semibold text-gray-900 mb-4">Semantic Colors</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<!-- Success -->
<div class="space-y-2">
<div class="h-24 rounded-lg bg-green-600 flex items-center justify-center">
<span class="text-white font-semibold">Success</span>
</div>
<p class="text-xs font-mono text-gray-600">green-600</p>
<p class="text-xs text-gray-500">Used for success states, confirmations</p>
</div>
<!-- Warning -->
<div class="space-y-2">
<div class="h-24 rounded-lg bg-yellow-500 flex items-center justify-center">
<span class="text-gray-900 font-semibold">Warning</span>
</div>
<p class="text-xs font-mono text-gray-600">yellow-500</p>
<p class="text-xs text-gray-500">Used for warnings, cautions</p>
</div>
<!-- Danger -->
<div class="space-y-2">
<div class="h-24 rounded-lg bg-red-600 flex items-center justify-center">
<span class="text-white font-semibold">Danger</span>
</div>
<p class="text-xs font-mono text-gray-600">red-600</p>
<p class="text-xs text-gray-500">Used for errors, destructive actions</p>
</div>
<!-- Info -->
<div class="space-y-2">
<div class="h-24 rounded-lg bg-blue-600 flex items-center justify-center">
<span class="text-white font-semibold">Info</span>
</div>
<p class="text-xs font-mono text-gray-600">blue-600</p>
<p class="text-xs text-gray-500">Used for informational messages</p>
</div>
</div>
</div>
<!-- Neutral Grays -->
<div>
<h3 class="text-xl font-semibold text-gray-900 mb-4">Neutral Grays</h3>
<div class="grid grid-cols-2 sm:grid-cols-4 md:grid-cols-6 gap-4">
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-50 border border-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">50</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-50</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-100 border border-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">100</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-100</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-200 flex items-center justify-center">
<span class="text-xs font-mono text-gray-700">200</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-200</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-400 flex items-center justify-center">
<span class="text-xs font-mono text-white">400</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-400</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-600 flex items-center justify-center">
<span class="text-xs font-mono text-white">600</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-600</p>
</div>
<div class="space-y-2">
<div class="h-20 rounded-lg bg-gray-900 flex items-center justify-center">
<span class="text-xs font-mono text-white">900</span>
</div>
<p class="text-xs font-mono text-gray-600">gray-900</p>
</div>
</div>
</div>
</div>
</section>
<!-- Buttons Section -->
<section id="buttons" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-2">Buttons</h2>
<p class="text-gray-600 mb-6">Various button styles, sizes, and states</p>
<!-- Primary Buttons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Primary Buttons</h3>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 transition-colors">
Primary Button
</button>
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg opacity-50 cursor-not-allowed" disabled>
Disabled
</button>
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 flex items-center gap-2">
<svg class="animate-spin h-4 w-4" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg>
Loading
</button>
</div>
</div>
<!-- Secondary Buttons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Secondary Buttons</h3>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-gray-600 text-white rounded-lg hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 transition-colors">
Secondary Button
</button>
<button class="px-4 py-2 bg-gray-600 text-white rounded-lg opacity-50 cursor-not-allowed" disabled>
Disabled
</button>
</div>
</div>
<!-- Outline Buttons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Outline Buttons</h3>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 border-2 border-purple-600 text-purple-600 rounded-lg hover:bg-purple-50 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 transition-colors">
Outline Purple
</button>
<button class="px-4 py-2 border-2 border-gray-600 text-gray-600 rounded-lg hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 transition-colors">
Outline Gray
</button>
<button class="px-4 py-2 border-2 border-green-600 text-green-600 rounded-lg hover:bg-green-50 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 transition-colors">
Outline Success
</button>
<button class="px-4 py-2 border-2 border-red-600 text-red-600 rounded-lg hover:bg-red-50 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 transition-colors">
Outline Danger
</button>
</div>
</div>
<!-- Text/Ghost Buttons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Text/Ghost Buttons</h3>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 text-purple-600 rounded-lg hover:bg-purple-50 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 transition-colors">
Text Button
</button>
<button class="px-4 py-2 text-gray-600 rounded-lg hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 transition-colors">
Text Gray
</button>
<button class="px-4 py-2 text-red-600 rounded-lg hover:bg-red-50 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 transition-colors">
Text Danger
</button>
</div>
</div>
<!-- Icon Buttons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Icon Buttons</h3>
<div class="flex flex-wrap gap-3">
<button class="p-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2" aria-label="Add">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
</svg>
</button>
<button class="p-2 border-2 border-purple-600 text-purple-600 rounded-lg hover:bg-purple-50 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2" aria-label="Edit">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
</svg>
</button>
<button class="p-2 text-red-600 rounded-lg hover:bg-red-50 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2" aria-label="Delete">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"/>
</svg>
</button>
<button class="p-2 bg-gray-200 text-gray-600 rounded-full hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2" aria-label="Settings">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
</svg>
</button>
</div>
</div>
<!-- Buttons with Icons and Text -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Buttons with Icons and Text</h3>
<div class="flex flex-wrap gap-3">
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 flex items-center gap-2">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
</svg>
Add New
</button>
<button class="px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 flex items-center gap-2">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
Save
</button>
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 flex items-center gap-2">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
</svg>
Download
</button>
</div>
</div>
<!-- Button Sizes -->
<div>
<h3 class="text-lg font-semibold text-gray-900 mb-4">Button Sizes</h3>
<div class="flex flex-wrap items-center gap-3">
<!-- Extra Small - sm -->
<button class="px-2.5 py-1.5 text-xs bg-purple-600 text-white rounded hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2">
Small (sm)
</button>
<!-- Medium - base (default) -->
<button class="px-4 py-2 text-sm bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2">
Medium (md)
</button>
<!-- Large - lg -->
<button class="px-5 py-2.5 text-base bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2">
Large (lg)
</button>
<!-- Extra Large - xl -->
<button class="px-6 py-3 text-lg bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2">
Extra Large (xl)
</button>
</div>
</div>
</div>
</section>
<!-- Input Fields Section -->
<section id="inputs" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-2">Input Fields</h2>
<p class="text-gray-600 mb-6">Various input field types and states</p>
<!-- Basic Inputs -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Basic Inputs</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label for="text-input" class="block text-sm font-medium text-gray-700 mb-1">Text Input</label>
<input type="text" id="text-input" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Enter text">
</div>
<div>
<label for="email-input" class="block text-sm font-medium text-gray-700 mb-1">Email Input</label>
<input type="email" id="email-input" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="[email protected]">
</div>
<div>
<label for="password-input" class="block text-sm font-medium text-gray-700 mb-1">Password Input</label>
<input type="password" id="password-input" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="••••••••">
</div>
<div>
<label for="number-input" class="block text-sm font-medium text-gray-700 mb-1">Number Input</label>
<input type="number" id="number-input" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="123">
</div>
</div>
</div>
<!-- Input with Icons -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Inputs with Icons</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<!-- Search with left icon -->
<div>
<label for="search-input" class="block text-sm font-medium text-gray-700 mb-1">Search</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
</svg>
</div>
<input type="search" id="search-input" class="w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Search...">
</div>
</div>
<!-- Email with left icon -->
<div>
<label for="email-icon" class="block text-sm font-medium text-gray-700 mb-1">Email with Icon</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
</svg>
</div>
<input type="email" id="email-icon" class="w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="[email protected]">
</div>
</div>
<!-- Password with right icon button -->
<div>
<label for="password-icon" class="block text-sm font-medium text-gray-700 mb-1">Password with Toggle</label>
<div class="relative">
<input type="password" id="password-icon" class="w-full px-3 pr-10 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="••••••••">
<button type="button" class="absolute inset-y-0 right-0 pr-3 flex items-center">
<svg class="h-5 w-5 text-gray-400 hover:text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"/>
</svg>
</button>
</div>
</div>
<!-- URL with prefix -->
<div>
<label for="url-input" class="block text-sm font-medium text-gray-700 mb-1">URL Input</label>
<div class="flex">
<span class="inline-flex items-center px-3 border border-r-0 border-gray-300 bg-gray-50 text-gray-500 text-sm rounded-l-lg">
https://
</span>
<input type="text" id="url-input" class="flex-1 px-3 py-2 border border-gray-300 rounded-r-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="www.example.com">
</div>
</div>
</div>
</div>
<!-- Validation States -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Validation States</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<!-- Success state -->
<div>
<label for="success-input" class="block text-sm font-medium text-gray-700 mb-1">Success State</label>
<div class="relative">
<input type="text" id="success-input" class="w-full px-3 py-2 border-2 border-green-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent" value="[email protected]">
<div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
</div>
</div>
<p class="mt-1 text-sm text-green-600">Email is valid</p>
</div>
<!-- Error state -->
<div>
<label for="error-input" class="block text-sm font-medium text-gray-700 mb-1">Error State</label>
<div class="relative">
<input type="text" id="error-input" class="w-full px-3 py-2 border-2 border-red-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent" value="invalid-email">
<div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
<svg class="h-5 w-5 text-red-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
</svg>
</div>
</div>
<p class="mt-1 text-sm text-red-600">Please enter a valid email address</p>
</div>
<!-- Warning state -->
<div>
<label for="warning-input" class="block text-sm font-medium text-gray-700 mb-1">Warning State</label>
<input type="text" id="warning-input" class="w-full px-3 py-2 border-2 border-yellow-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:border-transparent" value="weak-password">
<p class="mt-1 text-sm text-yellow-600">Password strength: Weak</p>
</div>
<!-- Disabled state -->
<div>
<label for="disabled-input" class="block text-sm font-medium text-gray-400 mb-1">Disabled State</label>
<input type="text" id="disabled-input" class="w-full px-3 py-2 border border-gray-300 rounded-lg bg-gray-100 text-gray-500 cursor-not-allowed" value="Disabled input" disabled>
<p class="mt-1 text-sm text-gray-500">This field is disabled</p>
</div>
</div>
</div>
<!-- Textarea -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Textarea</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label for="textarea-basic" class="block text-sm font-medium text-gray-700 mb-1">Basic Textarea</label>
<textarea id="textarea-basic" rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none" placeholder="Enter your message..."></textarea>
</div>
<div>
<label for="textarea-counter" class="block text-sm font-medium text-gray-700 mb-1">Textarea with Counter</label>
<textarea id="textarea-counter" rows="4" maxlength="200" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none" placeholder="Max 200 characters..."></textarea>
<p class="mt-1 text-sm text-gray-500 text-right">0 / 200</p>
</div>
</div>
</div>
<!-- Floating Labels -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Floating Labels</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="relative">
<input type="text" id="floating-name" class="peer w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent placeholder-transparent" placeholder="Name">
<label for="floating-name" class="absolute left-3 -top-2.5 bg-white px-1 text-sm text-gray-600 transition-all peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-2 peer-focus:-top-2.5 peer-focus:text-sm peer-focus:text-purple-600">
Full Name
</label>
</div>
<div class="relative">
<input type="email" id="floating-email" class="peer w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent placeholder-transparent" placeholder="Email">
<label for="floating-email" class="absolute left-3 -top-2.5 bg-white px-1 text-sm text-gray-600 transition-all peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-400 peer-placeholder-shown:top-2 peer-focus:-top-2.5 peer-focus:text-sm peer-focus:text-purple-600">
Email Address
</label>
</div>
</div>
</div>
<!-- Input Sizes -->
<div>
<h3 class="text-lg font-semibold text-gray-900 mb-4">Input Sizes</h3>
<div class="space-y-3">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Small</label>
<input type="text" class="w-full px-2.5 py-1.5 text-sm border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Small input">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Medium (Default)</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Medium input">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Large</label>
<input type="text" class="w-full px-4 py-3 text-lg border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent" placeholder="Large input">
</div>
</div>
</div>
</div>
</section>
<!-- Tables Section -->
<section id="tables" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-2">Tables</h2>
<p class="text-gray-600 mb-6">Various table styles and layouts</p>
<!-- Basic Table -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Basic Table</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">John Doe</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Admin</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Active</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Jane Smith</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Editor</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Active</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Mike Johnson</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Viewer</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Inactive</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Striped & Hoverable Table -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Striped & Hoverable Table</h3>
<div class="overflow-x-auto">
<table class="min-w-full">
<thead class="bg-purple-600 text-white">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">Product</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">Category</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">Price</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">Stock</th>
</tr>
</thead>
<tbody class="bg-white">
<tr class="bg-gray-50 hover:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Laptop</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Electronics</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$999.00</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">45</td>
</tr>
<tr class="hover:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Mouse</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Accessories</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$29.99</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">120</td>
</tr>
<tr class="bg-gray-50 hover:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Keyboard</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Accessories</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$79.99</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">87</td>
</tr>
<tr class="hover:bg-gray-100">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Monitor</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Electronics</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$299.00</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">32</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Bordered & Compact Table -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Bordered & Compact Table</h3>
<div class="overflow-x-auto border border-gray-200 rounded-lg">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-100">
<tr class="divide-x divide-gray-200">
<th scope="col" class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">ID</th>
<th scope="col" class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Name</th>
<th scope="col" class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Department</th>
<th scope="col" class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Salary</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="divide-x divide-gray-200">
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">001</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Alice Brown</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Engineering</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">$95,000</td>
</tr>
<tr class="divide-x divide-gray-200">
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">002</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Bob Wilson</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Marketing</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">$72,000</td>
</tr>
<tr class="divide-x divide-gray-200">
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">003</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-900">Carol Davis</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">Sales</td>
<td class="px-4 py-2 whitespace-nowrap text-sm text-gray-500">$68,000</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Table with Actions & Status Badges -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Table with Actions & Status Badges</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Task</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Assigned To</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 text-sm font-medium text-gray-900">Update homepage design</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Lee</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 py-1 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-purple-600 hover:text-purple-900 mr-3">View</button>
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-red-600 hover:text-red-900">Delete</button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 text-sm font-medium text-gray-900">Fix login bug</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Tom Harris</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 py-1 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">In Progress</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-purple-600 hover:text-purple-900 mr-3">View</button>
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-red-600 hover:text-red-900">Delete</button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 text-sm font-medium text-gray-900">Write documentation</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Emma Clark</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 py-1 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">Pending</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-purple-600 hover:text-purple-900 mr-3">View</button>
<button class="text-blue-600 hover:text-blue-900 mr-3">Edit</button>
<button class="text-red-600 hover:text-red-900">Delete</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Sortable Table Headers -->
<div>
<h3 class="text-lg font-semibold text-gray-900 mb-4">Sortable Table (Header indicators)</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
<button class="flex items-center gap-2 hover:text-gray-700">
Name
<svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"/>
</svg>
</button>
</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
<button class="flex items-center gap-2 hover:text-gray-700">
Date
<svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"/>
</svg>
</button>
</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
<button class="flex items-center gap-2 hover:text-gray-700">
Amount
<svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16V4m0 0L3 8m4-4l4 4m6 0v12m0 0l4-4m-4 4l-4-4"/>
</svg>
</button>
</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Invoice #1234</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2024-01-15</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$1,250.00</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Invoice #1235</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2024-01-18</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$890.00</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Invoice #1236</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2024-01-22</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$2,100.00</td>
</tr>
</tbody>
</table>
</div>
<p class="mt-2 text-xs text-gray-500">Note: Tables use overflow-x-auto for responsive horizontal scrolling on mobile devices</p>
</div>
</div>
</section>
<!-- Pagination Section -->
<section id="pagination" class="mb-16">
<div class="bg-white rounded-lg shadow-sm p-6 border border-gray-200">
<h2 class="text-3xl font-bold text-gray-900 mb-2">Pagination</h2>
<p class="text-gray-600 mb-6">Various pagination styles for navigation</p>
<!-- Numbered Pagination -->
<div class="mb-8">
<h3 class="text-lg font-semibold text-gray-900 mb-4">Numbered Pagination</h3>
<nav class="flex items-center justify-center" aria-label="Pagination">
<button class="px-3 py-2 text-sm text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded-lg mr-2" aria-label="Previous page">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
</svg>
</button>
<button class="px-4 py-2 text-sm bg-purple-600 text-white rounded-lg mr-2">1</button>
<button class="px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 rounded-lg mr-2">2</button>
<button class="px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 rounded-lg mr-2">3</button>
<button class="px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 rounded-lg mr-2">4</button>