Componente de menciones de usuario
Un usuario complejo menciona el componente diseñado para paneles con soporte para modo oscuro y esquema de color triádico.
Código HTML
<div class="bg-gray-800 dark:bg-gray-900 text-white p-6 rounded-lg shadow-lg">
<h2 class="text-2xl font-semibold mb-4">User Mentions</h2>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-700">
<thead class="bg-gray-700">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Avatar</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Username</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Mentioned At</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-gray-800 divide-y divide-gray-700">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-white">@johndoe</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">2 hours ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">View</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar">
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-white">@janedoe</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">3 hours ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">View</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/52.jpg" alt="User Avatar">
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-white">@alexsmith</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">5 hours ago</td>
<td class="px-6 py-4 whitespace-nowrap text-sm">
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">View</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
Componentes relacionados
Componente de menciones de usuario
Un componente de menciones de usuario diseñado con microinteracciones, con efectos responsivos y compatibilidad con temas oscuros, construido con Tailwind CSS.
Componente de menciones de usuario
Un usuario skeuomórfico menciona un componente diseñado para imitar elementos del mundo real, con efectos responsivos y soporte para temas oscuros utilizando Tailwind CSS.
Componente de menciones de usuario
Un usuario responsivo menciona el componente con soporte para temas oscuros y microinteracciones, diseñado para sitios web comerciales que utilizan Tailwind CSS.