Brutalism Data Table
A simple, brutalist data table component with analogous colors for business/corporate websites. It is responsive and supports dark mode using Tailwind CSS.
HTML Code
<div class="container mx-auto p-4 bg-gray-100 dark:bg-gray-800">
<table class="min-w-full border-collapse border-spacing-0 shadow-xl">
<thead>
<tr class="bg-teal-500 dark:bg-teal-700 text-white">
<th class="border border-gray-700 dark:border-gray-600 p-4 text-left">Name</th>
<th class="border border-gray-700 dark:border-gray-600 p-4 text-left">Title</th>
<th class="border border-gray-700 dark:border-gray-600 p-4 text-left">Status</th>
<th class="border border-gray-700 dark:border-gray-600 p-4 text-left">Role</th>
</tr>
</thead>
<tbody>
<tr class="bg-teal-200 dark:bg-teal-600 text-gray-900 dark:text-white">
<td class="border border-gray-700 dark:border-gray-600 p-4">John Doe</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Software Engineer</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Active</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Member</td>
</tr>
<tr class="bg-teal-300 dark:bg-teal-500 text-gray-900 dark:text-white">
<td class="border border-gray-700 dark:border-gray-600 p-4">Jane Smith</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">UI/UX Designer</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Active</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Member</td>
</tr>
<tr class="bg-teal-200 dark:bg-teal-600 text-gray-900 dark:text-white">
<td class="border border-gray-700 dark:border-gray-600 p-4">Peter Jones</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Product Manager</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Inactive</td>
<td class="border border-gray-700 dark:border-gray-600 p-4">Admin</td>
</tr>
</tbody>
</table>
</div>
Related Components
Data Table
A responsive data table component with Material Design styling, featuring support for dark mode and responsive behavior without JavaScript. Includes placeholder images for demonstration.