tutuca 0.9.39 → 0.9.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/tutuca-cli.js +92 -39
  2. package/dist/tutuca-dev.js +18 -0
  3. package/dist/tutuca-dev.min.js +1 -1
  4. package/package.json +6 -7
  5. package/skill/immutable-js/SKILL.md +79 -0
  6. package/skill/immutable-js/references/collection.md +346 -0
  7. package/skill/immutable-js/references/conversions.md +99 -0
  8. package/skill/immutable-js/references/deep-updates.md +172 -0
  9. package/skill/immutable-js/references/equality.md +95 -0
  10. package/skill/immutable-js/references/list.md +266 -0
  11. package/skill/immutable-js/references/map.md +300 -0
  12. package/skill/immutable-js/references/predicates.md +93 -0
  13. package/skill/immutable-js/references/range-repeat.md +55 -0
  14. package/skill/immutable-js/references/record.md +196 -0
  15. package/skill/immutable-js/references/seq.md +248 -0
  16. package/skill/immutable-js/references/set.md +270 -0
  17. package/skill/immutable-js/references/shallow-functional.md +99 -0
  18. package/skill/immutable-js/references/stack.md +210 -0
  19. package/skill/margaui/SKILL.md +101 -0
  20. package/skill/margaui/components/accordion.md +127 -0
  21. package/skill/margaui/components/alert.md +174 -0
  22. package/skill/margaui/components/avatar.md +220 -0
  23. package/skill/margaui/components/badge.md +193 -0
  24. package/skill/margaui/components/breadcrumbs.md +103 -0
  25. package/skill/margaui/components/button.md +322 -0
  26. package/skill/margaui/components/calendar.md +67 -0
  27. package/skill/margaui/components/card.md +373 -0
  28. package/skill/margaui/components/carousel.md +387 -0
  29. package/skill/margaui/components/chat.md +171 -0
  30. package/skill/margaui/components/checkbox.md +101 -0
  31. package/skill/margaui/components/collapse.md +172 -0
  32. package/skill/margaui/components/countdown.md +165 -0
  33. package/skill/margaui/components/diff.md +53 -0
  34. package/skill/margaui/components/divider.md +107 -0
  35. package/skill/margaui/components/dock.md +173 -0
  36. package/skill/margaui/components/drawer.md +184 -0
  37. package/skill/margaui/components/dropdown.md +388 -0
  38. package/skill/margaui/components/fab.md +346 -0
  39. package/skill/margaui/components/fieldset.md +88 -0
  40. package/skill/margaui/components/file-input.md +84 -0
  41. package/skill/margaui/components/filter.md +52 -0
  42. package/skill/margaui/components/footer.md +583 -0
  43. package/skill/margaui/components/hero.md +135 -0
  44. package/skill/margaui/components/hover-3d.md +129 -0
  45. package/skill/margaui/components/hover-gallery.md +49 -0
  46. package/skill/margaui/components/indicator.md +265 -0
  47. package/skill/margaui/components/input.md +389 -0
  48. package/skill/margaui/components/join.md +100 -0
  49. package/skill/margaui/components/kbd.md +127 -0
  50. package/skill/margaui/components/label.md +102 -0
  51. package/skill/margaui/components/link.md +96 -0
  52. package/skill/margaui/components/list.md +182 -0
  53. package/skill/margaui/components/loading.md +105 -0
  54. package/skill/margaui/components/mask.md +168 -0
  55. package/skill/margaui/components/menu.md +856 -0
  56. package/skill/margaui/components/mockup-browser.md +39 -0
  57. package/skill/margaui/components/mockup-code.md +81 -0
  58. package/skill/margaui/components/mockup-phone.md +39 -0
  59. package/skill/margaui/components/mockup-window.md +33 -0
  60. package/skill/margaui/components/modal.md +178 -0
  61. package/skill/margaui/components/navbar.md +282 -0
  62. package/skill/margaui/components/pagination.md +122 -0
  63. package/skill/margaui/components/progress.md +135 -0
  64. package/skill/margaui/components/radial-progress.md +67 -0
  65. package/skill/margaui/components/radio.md +133 -0
  66. package/skill/margaui/components/range.md +134 -0
  67. package/skill/margaui/components/rating.md +170 -0
  68. package/skill/margaui/components/select.md +225 -0
  69. package/skill/margaui/components/skeleton.md +64 -0
  70. package/skill/margaui/components/stack.md +142 -0
  71. package/skill/margaui/components/stat.md +254 -0
  72. package/skill/margaui/components/status.md +73 -0
  73. package/skill/margaui/components/steps.md +138 -0
  74. package/skill/margaui/components/swap.md +152 -0
  75. package/skill/margaui/components/tab.md +248 -0
  76. package/skill/margaui/components/table.md +1018 -0
  77. package/skill/margaui/components/text-rotate.md +91 -0
  78. package/skill/margaui/components/textarea.md +85 -0
  79. package/skill/margaui/components/theme-controller.md +266 -0
  80. package/skill/margaui/components/timeline.md +1356 -0
  81. package/skill/margaui/components/toast.md +165 -0
  82. package/skill/margaui/components/toggle.md +135 -0
  83. package/skill/margaui/components/tooltip.md +181 -0
  84. package/skill/margaui/components/validator.md +163 -0
  85. package/skill/{advanced.md → tutuca/advanced.md} +5 -0
  86. package/skill/{cli.md → tutuca/cli.md} +17 -0
  87. package/skill/{core.md → tutuca/core.md} +5 -0
  88. /package/skill/{SKILL.md → tutuca/SKILL.md} +0 -0
@@ -0,0 +1,1018 @@
1
+ # table
2
+
3
+ _themed `<table>` (zebra, hover, pinned rows/cols, sizes)_
4
+
5
+ ## What it does
6
+
7
+ Themed `<table>` with zebra rows, hover highlight, pinned rows/cols.
8
+
9
+ ## When to use
10
+
11
+ - Tabular data display.
12
+
13
+ ## Core classes
14
+
15
+ `table`; size `table-xs|sm|md|lg|xl`; modifier `table-zebra`, `table-pin-rows`, `table-pin-cols`.
16
+
17
+ ## Examples
18
+
19
+ ### Table
20
+
21
+ Source: `playground/components/table/table.html`
22
+
23
+ ```html
24
+ <div class="overflow-x-auto">
25
+ <table class="table">
26
+ <!-- head -->
27
+ <thead>
28
+ <tr>
29
+ <th></th>
30
+ <th>Name</th>
31
+ <th>Job</th>
32
+ <th>Favorite Color</th>
33
+ </tr>
34
+ </thead>
35
+ <tbody>
36
+ <!-- row 1 -->
37
+ <tr>
38
+ <th>1</th>
39
+ <td>Cy Ganderton</td>
40
+ <td>Quality Control Specialist</td>
41
+ <td>Blue</td>
42
+ </tr>
43
+ <!-- row 2 -->
44
+ <tr>
45
+ <th>2</th>
46
+ <td>Hart Hagerty</td>
47
+ <td>Desktop Support Technician</td>
48
+ <td>Purple</td>
49
+ </tr>
50
+ <!-- row 3 -->
51
+ <tr>
52
+ <th>3</th>
53
+ <td>Brice Swyre</td>
54
+ <td>Tax Accountant</td>
55
+ <td>Red</td>
56
+ </tr>
57
+ </tbody>
58
+ </table>
59
+ </div>
60
+ ```
61
+
62
+ ### Table with a row that highlights on hover
63
+
64
+ Source: `playground/components/table/table-with-a-row-that-highlights-on-hover.html`
65
+
66
+ ```html
67
+ <div class="overflow-x-auto">
68
+ <table class="table">
69
+ <!-- head -->
70
+ <thead>
71
+ <tr>
72
+ <th></th>
73
+ <th>Name</th>
74
+ <th>Job</th>
75
+ <th>Favorite Color</th>
76
+ </tr>
77
+ </thead>
78
+ <tbody>
79
+ <!-- row 1 -->
80
+ <tr>
81
+ <th>1</th>
82
+ <td>Cy Ganderton</td>
83
+ <td>Quality Control Specialist</td>
84
+ <td>Blue</td>
85
+ </tr>
86
+ <!-- row 2 -->
87
+ <tr class="hover:bg-base-300">
88
+ <th>2</th>
89
+ <td>Hart Hagerty</td>
90
+ <td>Desktop Support Technician</td>
91
+ <td>Purple</td>
92
+ </tr>
93
+ <!-- row 3 -->
94
+ <tr>
95
+ <th>3</th>
96
+ <td>Brice Swyre</td>
97
+ <td>Tax Accountant</td>
98
+ <td>Red</td>
99
+ </tr>
100
+ </tbody>
101
+ </table>
102
+ </div>
103
+ ```
104
+
105
+ ### Table with an active row
106
+
107
+ Source: `playground/components/table/table-with-an-active-row.html`
108
+
109
+ ```html
110
+ <div class="overflow-x-auto">
111
+ <table class="table">
112
+ <!-- head -->
113
+ <thead>
114
+ <tr>
115
+ <th></th>
116
+ <th>Name</th>
117
+ <th>Job</th>
118
+ <th>Favorite Color</th>
119
+ </tr>
120
+ </thead>
121
+ <tbody>
122
+ <!-- row 1 -->
123
+ <tr class="bg-base-200">
124
+ <th>1</th>
125
+ <td>Cy Ganderton</td>
126
+ <td>Quality Control Specialist</td>
127
+ <td>Blue</td>
128
+ </tr>
129
+ <!-- row 2 -->
130
+ <tr>
131
+ <th>2</th>
132
+ <td>Hart Hagerty</td>
133
+ <td>Desktop Support Technician</td>
134
+ <td>Purple</td>
135
+ </tr>
136
+ <!-- row 3 -->
137
+ <tr>
138
+ <th>3</th>
139
+ <td>Brice Swyre</td>
140
+ <td>Tax Accountant</td>
141
+ <td>Red</td>
142
+ </tr>
143
+ </tbody>
144
+ </table>
145
+ </div>
146
+ ```
147
+
148
+ ### Table with border and background
149
+
150
+ Source: `playground/components/table/table-with-border-and-background.html`
151
+
152
+ ```html
153
+ <div class="overflow-x-auto rounded-box border border-base-content/5 bg-base-100">
154
+ <table class="table">
155
+ <!-- head -->
156
+ <thead>
157
+ <tr>
158
+ <th></th>
159
+ <th>Name</th>
160
+ <th>Job</th>
161
+ <th>Favorite Color</th>
162
+ </tr>
163
+ </thead>
164
+ <tbody>
165
+ <!-- row 1 -->
166
+ <tr>
167
+ <th>1</th>
168
+ <td>Cy Ganderton</td>
169
+ <td>Quality Control Specialist</td>
170
+ <td>Blue</td>
171
+ </tr>
172
+ <!-- row 2 -->
173
+ <tr>
174
+ <th>2</th>
175
+ <td>Hart Hagerty</td>
176
+ <td>Desktop Support Technician</td>
177
+ <td>Purple</td>
178
+ </tr>
179
+ <!-- row 3 -->
180
+ <tr>
181
+ <th>3</th>
182
+ <td>Brice Swyre</td>
183
+ <td>Tax Accountant</td>
184
+ <td>Red</td>
185
+ </tr>
186
+ </tbody>
187
+ </table>
188
+ </div>
189
+ ```
190
+
191
+ ### Table with pinned rows and pinned cols
192
+
193
+ Source: `playground/components/table/table-with-pinned-rows-and-pinned-cols.html`
194
+
195
+ ```html
196
+ <div class="overflow-x-auto h-96 w-96">
197
+ <table class="table table-xs table-pin-rows table-pin-cols">
198
+ <thead>
199
+ <tr>
200
+ <th></th>
201
+ <td>Name</td>
202
+ <td>Job</td>
203
+ <td>company</td>
204
+ <td>location</td>
205
+ <td>Last Login</td>
206
+ <td>Favorite Color</td>
207
+ <th></th>
208
+ </tr>
209
+ </thead>
210
+ <tbody>
211
+ <tr>
212
+ <th>1</th>
213
+ <td>Cy Ganderton</td>
214
+ <td>Quality Control Specialist</td>
215
+ <td>Littel, Schaden and Vandervort</td>
216
+ <td>Canada</td>
217
+ <td>12/16/2020</td>
218
+ <td>Blue</td>
219
+ <th>1</th>
220
+ </tr>
221
+ <tr>
222
+ <th>2</th>
223
+ <td>Hart Hagerty</td>
224
+ <td>Desktop Support Technician</td>
225
+ <td>Zemlak, Daniel and Leannon</td>
226
+ <td>United States</td>
227
+ <td>12/5/2020</td>
228
+ <td>Purple</td>
229
+ <th>2</th>
230
+ </tr>
231
+ <tr>
232
+ <th>3</th>
233
+ <td>Brice Swyre</td>
234
+ <td>Tax Accountant</td>
235
+ <td>Carroll Group</td>
236
+ <td>China</td>
237
+ <td>8/15/2020</td>
238
+ <td>Red</td>
239
+ <th>3</th>
240
+ </tr>
241
+ <tr>
242
+ <th>4</th>
243
+ <td>Marjy Ferencz</td>
244
+ <td>Office Assistant I</td>
245
+ <td>Rowe-Schoen</td>
246
+ <td>Russia</td>
247
+ <td>3/25/2021</td>
248
+ <td>Crimson</td>
249
+ <th>4</th>
250
+ </tr>
251
+ <tr>
252
+ <th>5</th>
253
+ <td>Yancy Tear</td>
254
+ <td>Community Outreach Specialist</td>
255
+ <td>Wyman-Ledner</td>
256
+ <td>Brazil</td>
257
+ <td>5/22/2020</td>
258
+ <td>Indigo</td>
259
+ <th>5</th>
260
+ </tr>
261
+ <tr>
262
+ <th>6</th>
263
+ <td>Irma Vasilik</td>
264
+ <td>Editor</td>
265
+ <td>Wiza, Bins and Emard</td>
266
+ <td>Venezuela</td>
267
+ <td>12/8/2020</td>
268
+ <td>Purple</td>
269
+ <th>6</th>
270
+ </tr>
271
+ <tr>
272
+ <th>7</th>
273
+ <td>Meghann Durtnal</td>
274
+ <td>Staff Accountant IV</td>
275
+ <td>Schuster-Schimmel</td>
276
+ <td>Philippines</td>
277
+ <td>2/17/2021</td>
278
+ <td>Yellow</td>
279
+ <th>7</th>
280
+ </tr>
281
+ <tr>
282
+ <th>8</th>
283
+ <td>Sammy Seston</td>
284
+ <td>Accountant I</td>
285
+ <td>O'Hara, Welch and Keebler</td>
286
+ <td>Indonesia</td>
287
+ <td>5/23/2020</td>
288
+ <td>Crimson</td>
289
+ <th>8</th>
290
+ </tr>
291
+ <tr>
292
+ <th>9</th>
293
+ <td>Lesya Tinham</td>
294
+ <td>Safety Technician IV</td>
295
+ <td>Turner-Kuhlman</td>
296
+ <td>Philippines</td>
297
+ <td>2/21/2021</td>
298
+ <td>Maroon</td>
299
+ <th>9</th>
300
+ </tr>
301
+ <tr>
302
+ <th>10</th>
303
+ <td>Zaneta Tewkesbury</td>
304
+ <td>VP Marketing</td>
305
+ <td>Sauer LLC</td>
306
+ <td>Chad</td>
307
+ <td>6/23/2020</td>
308
+ <td>Green</td>
309
+ <th>10</th>
310
+ </tr>
311
+ <tr>
312
+ <th>11</th>
313
+ <td>Andy Tipple</td>
314
+ <td>Librarian</td>
315
+ <td>Hilpert Group</td>
316
+ <td>Poland</td>
317
+ <td>7/9/2020</td>
318
+ <td>Indigo</td>
319
+ <th>11</th>
320
+ </tr>
321
+ <tr>
322
+ <th>12</th>
323
+ <td>Sophi Biles</td>
324
+ <td>Recruiting Manager</td>
325
+ <td>Gutmann Inc</td>
326
+ <td>Indonesia</td>
327
+ <td>2/12/2021</td>
328
+ <td>Maroon</td>
329
+ <th>12</th>
330
+ </tr>
331
+ <tr>
332
+ <th>13</th>
333
+ <td>Florida Garces</td>
334
+ <td>Web Developer IV</td>
335
+ <td>Gaylord, Pacocha and Baumbach</td>
336
+ <td>Poland</td>
337
+ <td>5/31/2020</td>
338
+ <td>Purple</td>
339
+ <th>13</th>
340
+ </tr>
341
+ <tr>
342
+ <th>14</th>
343
+ <td>Maribeth Popping</td>
344
+ <td>Analyst Programmer</td>
345
+ <td>Deckow-Pouros</td>
346
+ <td>Portugal</td>
347
+ <td>4/27/2021</td>
348
+ <td>Aquamarine</td>
349
+ <th>14</th>
350
+ </tr>
351
+ <tr>
352
+ <th>15</th>
353
+ <td>Moritz Dryburgh</td>
354
+ <td>Dental Hygienist</td>
355
+ <td>Schiller, Cole and Hackett</td>
356
+ <td>Sri Lanka</td>
357
+ <td>8/8/2020</td>
358
+ <td>Crimson</td>
359
+ <th>15</th>
360
+ </tr>
361
+ <tr>
362
+ <th>16</th>
363
+ <td>Reid Semiras</td>
364
+ <td>Teacher</td>
365
+ <td>Sporer, Sipes and Rogahn</td>
366
+ <td>Poland</td>
367
+ <td>7/30/2020</td>
368
+ <td>Green</td>
369
+ <th>16</th>
370
+ </tr>
371
+ <tr>
372
+ <th>17</th>
373
+ <td>Alec Lethby</td>
374
+ <td>Teacher</td>
375
+ <td>Reichel, Glover and Hamill</td>
376
+ <td>China</td>
377
+ <td>2/28/2021</td>
378
+ <td>Khaki</td>
379
+ <th>17</th>
380
+ </tr>
381
+ <tr>
382
+ <th>18</th>
383
+ <td>Aland Wilber</td>
384
+ <td>Quality Control Specialist</td>
385
+ <td>Kshlerin, Rogahn and Swaniawski</td>
386
+ <td>Czech Republic</td>
387
+ <td>9/29/2020</td>
388
+ <td>Purple</td>
389
+ <th>18</th>
390
+ </tr>
391
+ <tr>
392
+ <th>19</th>
393
+ <td>Teddie Duerden</td>
394
+ <td>Staff Accountant III</td>
395
+ <td>Pouros, Ullrich and Windler</td>
396
+ <td>France</td>
397
+ <td>10/27/2020</td>
398
+ <td>Aquamarine</td>
399
+ <th>19</th>
400
+ </tr>
401
+ <tr>
402
+ <th>20</th>
403
+ <td>Lorelei Blackstone</td>
404
+ <td>Data Coordinator</td>
405
+ <td>Witting, Kutch and Greenfelder</td>
406
+ <td>Kazakhstan</td>
407
+ <td>6/3/2020</td>
408
+ <td>Red</td>
409
+ <th>20</th>
410
+ </tr>
411
+ </tbody>
412
+ <tfoot>
413
+ <tr>
414
+ <th></th>
415
+ <td>Name</td>
416
+ <td>Job</td>
417
+ <td>company</td>
418
+ <td>location</td>
419
+ <td>Last Login</td>
420
+ <td>Favorite Color</td>
421
+ <th></th>
422
+ </tr>
423
+ </tfoot>
424
+ </table>
425
+ </div>
426
+ ```
427
+
428
+ ### Table with pinned rows
429
+
430
+ Source: `playground/components/table/table-with-pinned-rows.html`
431
+
432
+ ```html
433
+ <div class="h-96 overflow-x-auto">
434
+ <table class="table table-pin-rows bg-base-200">
435
+ <thead>
436
+ <tr>
437
+ <th>A</th>
438
+ </tr>
439
+ </thead>
440
+ <tbody>
441
+ <tr><td>Ant-Man</td></tr>
442
+ <tr><td>Aquaman</td></tr>
443
+ <tr><td>Asterix</td></tr>
444
+ <tr><td>The Atom</td></tr>
445
+ <tr><td>The Avengers</td></tr>
446
+ </tbody>
447
+ <thead>
448
+ <tr>
449
+ <th>B</th>
450
+ </tr>
451
+ </thead>
452
+ <tbody>
453
+ <tr><td>Batgirl</td></tr>
454
+ <tr><td>Batman</td></tr>
455
+ <tr><td>Batwoman</td></tr>
456
+ <tr><td>Black Canary</td></tr>
457
+ <tr><td>Black Panther</td></tr>
458
+ </tbody>
459
+ <thead>
460
+ <tr>
461
+ <th>C</th>
462
+ </tr>
463
+ </thead>
464
+ <tbody>
465
+ <tr><td>Captain America</td></tr>
466
+ <tr><td>Captain Marvel</td></tr>
467
+ <tr><td>Catwoman</td></tr>
468
+ <tr><td>Conan the Barbarian</td></tr>
469
+ </tbody>
470
+ <thead>
471
+ <tr>
472
+ <th>D</th>
473
+ </tr>
474
+ </thead>
475
+ <tbody>
476
+ <tr><td>Daredevil</td></tr>
477
+ <tr><td>The Defenders</td></tr>
478
+ <tr><td>Doc Savage</td></tr>
479
+ <tr><td>Doctor Strange</td></tr>
480
+ </tbody>
481
+ <thead>
482
+ <tr>
483
+ <th>E</th>
484
+ </tr>
485
+ </thead>
486
+ <tbody>
487
+ <tr><td>Elektra</td></tr>
488
+ </tbody>
489
+ <thead>
490
+ <tr>
491
+ <th>F</th>
492
+ </tr>
493
+ </thead>
494
+ <tbody>
495
+ <tr><td>Fantastic Four</td></tr>
496
+ </tbody>
497
+ <thead>
498
+ <tr>
499
+ <th>G</th>
500
+ </tr>
501
+ </thead>
502
+ <tbody>
503
+ <tr><td>Ghost Rider</td></tr>
504
+ <tr><td>Green Arrow</td></tr>
505
+ <tr><td>Green Lantern</td></tr>
506
+ <tr><td>Guardians of the Galaxy</td></tr>
507
+ </tbody>
508
+ <thead>
509
+ <tr>
510
+ <th>H</th>
511
+ </tr>
512
+ </thead>
513
+ <tbody>
514
+ <tr><td>Hawkeye</td></tr>
515
+ <tr><td>Hellboy</td></tr>
516
+ <tr><td>Incredible Hulk</td></tr>
517
+ </tbody>
518
+ <thead>
519
+ <tr>
520
+ <th>I</th>
521
+ </tr>
522
+ </thead>
523
+ <tbody>
524
+ <tr><td>Iron Fist</td></tr>
525
+ <tr><td>Iron Man</td></tr>
526
+ </tbody>
527
+ <thead>
528
+ <tr>
529
+ <th>M</th>
530
+ </tr>
531
+ </thead>
532
+ <tbody>
533
+ <tr><td>Marvelman</td></tr>
534
+ </tbody>
535
+ <thead>
536
+ <tr>
537
+ <th>R</th>
538
+ </tr>
539
+ </thead>
540
+ <tbody>
541
+ <tr><td>Robin</td></tr>
542
+ <tr><td>The Rocketeer</td></tr>
543
+ </tbody>
544
+ <thead>
545
+ <tr>
546
+ <th>S</th>
547
+ </tr>
548
+ </thead>
549
+ <tbody>
550
+ <tr><td>The Shadow</td></tr>
551
+ <tr><td>Spider-Man</td></tr>
552
+ <tr><td>Sub-Mariner</td></tr>
553
+ <tr><td>Supergirl</td></tr>
554
+ <tr><td>Superman</td></tr>
555
+ </tbody>
556
+ <thead>
557
+ <tr>
558
+ <th>T</th>
559
+ </tr>
560
+ </thead>
561
+ <tbody>
562
+ <tr><td>Teenage Mutant Ninja Turtles</td></tr>
563
+ <tr><td>Thor</td></tr>
564
+ </tbody>
565
+ <thead>
566
+ <tr>
567
+ <th>W</th>
568
+ </tr>
569
+ </thead>
570
+ <tbody>
571
+ <tr><td>The Wasp</td></tr>
572
+ <tr><td>Watchmen</td></tr>
573
+ <tr><td>Wolverine</td></tr>
574
+ <tr><td>Wonder Woman</td></tr>
575
+ </tbody>
576
+ <thead>
577
+ <tr>
578
+ <th>X</th>
579
+ </tr>
580
+ </thead>
581
+ <tbody>
582
+ <tr><td>X-Men</td></tr>
583
+ </tbody>
584
+ <thead>
585
+ <tr>
586
+ <th>Z</th>
587
+ </tr>
588
+ </thead>
589
+ <tbody>
590
+ <tr><td>Zatanna</td></tr>
591
+ <tr><td>Zatara</td></tr>
592
+ </tbody>
593
+ </table>
594
+ </div>
595
+ ```
596
+
597
+ ### Table with visual elements
598
+
599
+ Source: `playground/components/table/table-with-visual-elements.html`
600
+
601
+ ```html
602
+ <div class="overflow-x-auto">
603
+ <table class="table">
604
+ <!-- head -->
605
+ <thead>
606
+ <tr>
607
+ <th>
608
+ <label>
609
+ <input type="checkbox" class="checkbox" />
610
+ </label>
611
+ </th>
612
+ <th>Name</th>
613
+ <th>Job</th>
614
+ <th>Favorite Color</th>
615
+ <th></th>
616
+ </tr>
617
+ </thead>
618
+ <tbody>
619
+ <!-- row 1 -->
620
+ <tr>
621
+ <th>
622
+ <label>
623
+ <input type="checkbox" class="checkbox" />
624
+ </label>
625
+ </th>
626
+ <td>
627
+ <div class="flex items-center gap-3">
628
+ <div class="avatar">
629
+ <div class="mask mask-squircle h-12 w-12">
630
+ <img
631
+ src="https://img.daisyui.com/images/profile/demo/2@94.webp"
632
+ alt="Avatar Tailwind CSS Component" />
633
+ </div>
634
+ </div>
635
+ <div>
636
+ <div class="font-bold">Hart Hagerty</div>
637
+ <div class="text-sm opacity-50">United States</div>
638
+ </div>
639
+ </div>
640
+ </td>
641
+ <td>
642
+ Zemlak, Daniel and Leannon
643
+ <br />
644
+ <span class="badge badge-ghost badge-sm">Desktop Support Technician</span>
645
+ </td>
646
+ <td>Purple</td>
647
+ <th>
648
+ <button class="btn btn-ghost btn-xs">details</button>
649
+ </th>
650
+ </tr>
651
+ <!-- row 2 -->
652
+ <tr>
653
+ <th>
654
+ <label>
655
+ <input type="checkbox" class="checkbox" />
656
+ </label>
657
+ </th>
658
+ <td>
659
+ <div class="flex items-center gap-3">
660
+ <div class="avatar">
661
+ <div class="mask mask-squircle h-12 w-12">
662
+ <img
663
+ src="https://img.daisyui.com/images/profile/demo/3@94.webp"
664
+ alt="Avatar Tailwind CSS Component" />
665
+ </div>
666
+ </div>
667
+ <div>
668
+ <div class="font-bold">Brice Swyre</div>
669
+ <div class="text-sm opacity-50">China</div>
670
+ </div>
671
+ </div>
672
+ </td>
673
+ <td>
674
+ Carroll Group
675
+ <br />
676
+ <span class="badge badge-ghost badge-sm">Tax Accountant</span>
677
+ </td>
678
+ <td>Red</td>
679
+ <th>
680
+ <button class="btn btn-ghost btn-xs">details</button>
681
+ </th>
682
+ </tr>
683
+ <!-- row 3 -->
684
+ <tr>
685
+ <th>
686
+ <label>
687
+ <input type="checkbox" class="checkbox" />
688
+ </label>
689
+ </th>
690
+ <td>
691
+ <div class="flex items-center gap-3">
692
+ <div class="avatar">
693
+ <div class="mask mask-squircle h-12 w-12">
694
+ <img
695
+ src="https://img.daisyui.com/images/profile/demo/4@94.webp"
696
+ alt="Avatar Tailwind CSS Component" />
697
+ </div>
698
+ </div>
699
+ <div>
700
+ <div class="font-bold">Marjy Ferencz</div>
701
+ <div class="text-sm opacity-50">Russia</div>
702
+ </div>
703
+ </div>
704
+ </td>
705
+ <td>
706
+ Rowe-Schoen
707
+ <br />
708
+ <span class="badge badge-ghost badge-sm">Office Assistant I</span>
709
+ </td>
710
+ <td>Crimson</td>
711
+ <th>
712
+ <button class="btn btn-ghost btn-xs">details</button>
713
+ </th>
714
+ </tr>
715
+ <!-- row 4 -->
716
+ <tr>
717
+ <th>
718
+ <label>
719
+ <input type="checkbox" class="checkbox" />
720
+ </label>
721
+ </th>
722
+ <td>
723
+ <div class="flex items-center gap-3">
724
+ <div class="avatar">
725
+ <div class="mask mask-squircle h-12 w-12">
726
+ <img
727
+ src="https://img.daisyui.com/images/profile/demo/5@94.webp"
728
+ alt="Avatar Tailwind CSS Component" />
729
+ </div>
730
+ </div>
731
+ <div>
732
+ <div class="font-bold">Yancy Tear</div>
733
+ <div class="text-sm opacity-50">Brazil</div>
734
+ </div>
735
+ </div>
736
+ </td>
737
+ <td>
738
+ Wyman-Ledner
739
+ <br />
740
+ <span class="badge badge-ghost badge-sm">Community Outreach Specialist</span>
741
+ </td>
742
+ <td>Indigo</td>
743
+ <th>
744
+ <button class="btn btn-ghost btn-xs">details</button>
745
+ </th>
746
+ </tr>
747
+ </tbody>
748
+ <!-- foot -->
749
+ <tfoot>
750
+ <tr>
751
+ <th></th>
752
+ <th>Name</th>
753
+ <th>Job</th>
754
+ <th>Favorite Color</th>
755
+ <th></th>
756
+ </tr>
757
+ </tfoot>
758
+ </table>
759
+ </div>
760
+ ```
761
+
762
+ ### Table xs
763
+
764
+ Source: `playground/components/table/table-xs.html`
765
+
766
+ ```html
767
+ <div class="overflow-x-auto">
768
+ <table class="table table-xs">
769
+ <thead>
770
+ <tr>
771
+ <th></th>
772
+ <th>Name</th>
773
+ <th>Job</th>
774
+ <th>company</th>
775
+ <th>location</th>
776
+ <th>Last Login</th>
777
+ <th>Favorite Color</th>
778
+ </tr>
779
+ </thead>
780
+ <tbody>
781
+ <tr>
782
+ <th>1</th>
783
+ <td>Cy Ganderton</td>
784
+ <td>Quality Control Specialist</td>
785
+ <td>Littel, Schaden and Vandervort</td>
786
+ <td>Canada</td>
787
+ <td>12/16/2020</td>
788
+ <td>Blue</td>
789
+ </tr>
790
+ <tr>
791
+ <th>2</th>
792
+ <td>Hart Hagerty</td>
793
+ <td>Desktop Support Technician</td>
794
+ <td>Zemlak, Daniel and Leannon</td>
795
+ <td>United States</td>
796
+ <td>12/5/2020</td>
797
+ <td>Purple</td>
798
+ </tr>
799
+ <tr>
800
+ <th>3</th>
801
+ <td>Brice Swyre</td>
802
+ <td>Tax Accountant</td>
803
+ <td>Carroll Group</td>
804
+ <td>China</td>
805
+ <td>8/15/2020</td>
806
+ <td>Red</td>
807
+ </tr>
808
+ <tr>
809
+ <th>4</th>
810
+ <td>Marjy Ferencz</td>
811
+ <td>Office Assistant I</td>
812
+ <td>Rowe-Schoen</td>
813
+ <td>Russia</td>
814
+ <td>3/25/2021</td>
815
+ <td>Crimson</td>
816
+ </tr>
817
+ <tr>
818
+ <th>5</th>
819
+ <td>Yancy Tear</td>
820
+ <td>Community Outreach Specialist</td>
821
+ <td>Wyman-Ledner</td>
822
+ <td>Brazil</td>
823
+ <td>5/22/2020</td>
824
+ <td>Indigo</td>
825
+ </tr>
826
+ <tr>
827
+ <th>6</th>
828
+ <td>Irma Vasilik</td>
829
+ <td>Editor</td>
830
+ <td>Wiza, Bins and Emard</td>
831
+ <td>Venezuela</td>
832
+ <td>12/8/2020</td>
833
+ <td>Purple</td>
834
+ </tr>
835
+ <tr>
836
+ <th>7</th>
837
+ <td>Meghann Durtnal</td>
838
+ <td>Staff Accountant IV</td>
839
+ <td>Schuster-Schimmel</td>
840
+ <td>Philippines</td>
841
+ <td>2/17/2021</td>
842
+ <td>Yellow</td>
843
+ </tr>
844
+ <tr>
845
+ <th>8</th>
846
+ <td>Sammy Seston</td>
847
+ <td>Accountant I</td>
848
+ <td>O'Hara, Welch and Keebler</td>
849
+ <td>Indonesia</td>
850
+ <td>5/23/2020</td>
851
+ <td>Crimson</td>
852
+ </tr>
853
+ <tr>
854
+ <th>9</th>
855
+ <td>Lesya Tinham</td>
856
+ <td>Safety Technician IV</td>
857
+ <td>Turner-Kuhlman</td>
858
+ <td>Philippines</td>
859
+ <td>2/21/2021</td>
860
+ <td>Maroon</td>
861
+ </tr>
862
+ <tr>
863
+ <th>10</th>
864
+ <td>Zaneta Tewkesbury</td>
865
+ <td>VP Marketing</td>
866
+ <td>Sauer LLC</td>
867
+ <td>Chad</td>
868
+ <td>6/23/2020</td>
869
+ <td>Green</td>
870
+ </tr>
871
+ <tr>
872
+ <th>11</th>
873
+ <td>Andy Tipple</td>
874
+ <td>Librarian</td>
875
+ <td>Hilpert Group</td>
876
+ <td>Poland</td>
877
+ <td>7/9/2020</td>
878
+ <td>Indigo</td>
879
+ </tr>
880
+ <tr>
881
+ <th>12</th>
882
+ <td>Sophi Biles</td>
883
+ <td>Recruiting Manager</td>
884
+ <td>Gutmann Inc</td>
885
+ <td>Indonesia</td>
886
+ <td>2/12/2021</td>
887
+ <td>Maroon</td>
888
+ </tr>
889
+ <tr>
890
+ <th>13</th>
891
+ <td>Florida Garces</td>
892
+ <td>Web Developer IV</td>
893
+ <td>Gaylord, Pacocha and Baumbach</td>
894
+ <td>Poland</td>
895
+ <td>5/31/2020</td>
896
+ <td>Purple</td>
897
+ </tr>
898
+ <tr>
899
+ <th>14</th>
900
+ <td>Maribeth Popping</td>
901
+ <td>Analyst Programmer</td>
902
+ <td>Deckow-Pouros</td>
903
+ <td>Portugal</td>
904
+ <td>4/27/2021</td>
905
+ <td>Aquamarine</td>
906
+ </tr>
907
+ <tr>
908
+ <th>15</th>
909
+ <td>Moritz Dryburgh</td>
910
+ <td>Dental Hygienist</td>
911
+ <td>Schiller, Cole and Hackett</td>
912
+ <td>Sri Lanka</td>
913
+ <td>8/8/2020</td>
914
+ <td>Crimson</td>
915
+ </tr>
916
+ <tr>
917
+ <th>16</th>
918
+ <td>Reid Semiras</td>
919
+ <td>Teacher</td>
920
+ <td>Sporer, Sipes and Rogahn</td>
921
+ <td>Poland</td>
922
+ <td>7/30/2020</td>
923
+ <td>Green</td>
924
+ </tr>
925
+ <tr>
926
+ <th>17</th>
927
+ <td>Alec Lethby</td>
928
+ <td>Teacher</td>
929
+ <td>Reichel, Glover and Hamill</td>
930
+ <td>China</td>
931
+ <td>2/28/2021</td>
932
+ <td>Khaki</td>
933
+ </tr>
934
+ <tr>
935
+ <th>18</th>
936
+ <td>Aland Wilber</td>
937
+ <td>Quality Control Specialist</td>
938
+ <td>Kshlerin, Rogahn and Swaniawski</td>
939
+ <td>Czech Republic</td>
940
+ <td>9/29/2020</td>
941
+ <td>Purple</td>
942
+ </tr>
943
+ <tr>
944
+ <th>19</th>
945
+ <td>Teddie Duerden</td>
946
+ <td>Staff Accountant III</td>
947
+ <td>Pouros, Ullrich and Windler</td>
948
+ <td>France</td>
949
+ <td>10/27/2020</td>
950
+ <td>Aquamarine</td>
951
+ </tr>
952
+ <tr>
953
+ <th>20</th>
954
+ <td>Lorelei Blackstone</td>
955
+ <td>Data Coordiator</td>
956
+ <td>Witting, Kutch and Greenfelder</td>
957
+ <td>Kazakhstan</td>
958
+ <td>6/3/2020</td>
959
+ <td>Red</td>
960
+ </tr>
961
+ </tbody>
962
+ <tfoot>
963
+ <tr>
964
+ <th></th>
965
+ <th>Name</th>
966
+ <th>Job</th>
967
+ <th>company</th>
968
+ <th>location</th>
969
+ <th>Last Login</th>
970
+ <th>Favorite Color</th>
971
+ </tr>
972
+ </tfoot>
973
+ </table>
974
+ </div>
975
+ ```
976
+
977
+ ### Zebra
978
+
979
+ Source: `playground/components/table/zebra.html`
980
+
981
+ ```html
982
+ <div class="overflow-x-auto">
983
+ <table class="table table-zebra">
984
+ <!-- head -->
985
+ <thead>
986
+ <tr>
987
+ <th></th>
988
+ <th>Name</th>
989
+ <th>Job</th>
990
+ <th>Favorite Color</th>
991
+ </tr>
992
+ </thead>
993
+ <tbody>
994
+ <!-- row 1 -->
995
+ <tr>
996
+ <th>1</th>
997
+ <td>Cy Ganderton</td>
998
+ <td>Quality Control Specialist</td>
999
+ <td>Blue</td>
1000
+ </tr>
1001
+ <!-- row 2 -->
1002
+ <tr>
1003
+ <th>2</th>
1004
+ <td>Hart Hagerty</td>
1005
+ <td>Desktop Support Technician</td>
1006
+ <td>Purple</td>
1007
+ </tr>
1008
+ <!-- row 3 -->
1009
+ <tr>
1010
+ <th>3</th>
1011
+ <td>Brice Swyre</td>
1012
+ <td>Tax Accountant</td>
1013
+ <td>Red</td>
1014
+ </tr>
1015
+ </tbody>
1016
+ </table>
1017
+ </div>
1018
+ ```