Components User Mentions User Mentions Component

User Mentions Component

A complex user mentions component designed for dashboards with dark mode support and triadic color scheme.

Preview

HTML Code

<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>

Related Components

User Mentions Component

A simple User Mentions Component designed in a Brutalist style with a grayscale color scheme, suitable for business and corporate websites. It includes user mentions with avatars and is responsive with dark theme support.

Open

User Mentions Component

A skeuomorphic user mentions component designed to mimic real-world elements, featuring responsive effects and dark theme support using Tailwind CSS.

Open

User Mentions Component

A responsive User Mentions Component with 3D design elements, grayscale color scheme, and dark theme support for business/corporate websites. Uses Tailwind CSS and includes placeholder images/avatars.

Open