Composant Tableaux de données
Un composant de tableau de données réactif dans un design minimaliste et plat, adapté aux sites Web d’entreprise, avec prise en charge du thème sombre.
HTML Code
<div class="overflow-x-auto">
<table class="min-w-full bg-white dark:bg-gray-800">
<thead>
<tr class="w-full bg-gray-200 dark:bg-gray-700">
<th class="py-3 px-4 text-left text-gray-600 dark:text-gray-300">#</th>
<th class="py-3 px-4 text-left text-gray-600 dark:text-gray-300">Name</th>
<th class="py-3 px-4 text-left text-gray-600 dark:text-gray-300">Email</th>
<th class="py-3 px-4 text-left text-gray-600 dark:text-gray-300">Avatar</th>
</tr>
</thead>
<tbody>
<tr class="hover:bg-gray-100 dark:hover:bg-gray-700">
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">1</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">John Doe</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">[email protected]</td>
<td class="py-3 px-4"><img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-10 h-10 rounded-full"/></td>
</tr>
<tr class="hover:bg-gray-100 dark:hover:bg-gray-700">
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">2</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">Jane Smith</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">[email protected]</td>
<td class="py-3 px-4"><img src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar" class="w-10 h-10 rounded-full"/></td>
</tr>
<tr class="hover:bg-gray-100 dark:hover:bg-gray-700">
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">3</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">Alice Johnson</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">[email protected]</td>
<td class="py-3 px-4"><img src="https://randomuser.me/api/portraits/women/3.jpg" alt="Avatar" class="w-10 h-10 rounded-full"/></td>
</tr>
<tr class="hover:bg-gray-100 dark:hover:bg-gray-700">
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">4</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">Bob Williams</td>
<td class="py-3 px-4 text-gray-700 dark:text-gray-200">[email protected]</td>
<td class="py-3 px-4"><img src="https://randomuser.me/api/portraits/men/4.jpg" alt="Avatar" class="w-10 h-10 rounded-full"/></td>
</tr>
</tbody>
</table>
</div>
Composants associés
Composant Tableaux de données
Un composant de tables de données conçu avec le style Brutalism avec des couleurs à haute saturation pour le commerce électronique, réactif avec la prise en charge du thème sombre.
Tableau de données sur le brutalisme
Un composant de tableau de données simple et brutaliste avec des couleurs analogues pour les sites Web d’entreprise. Il est réactif et prend en charge le mode sombre à l’aide de Tailwind CSS.
Composant Tableaux de données
Un composant de tables de données conçu dans un style skeuomorphe, imitant ses homologues du monde réel avec des effets réactifs et prenant en charge les thèmes sombres. Le tableau comprend des en-têtes, des lignes avec des données et utilise des images d’espace réservé.