User Profile Simple Card
Responsive User Profile Card with Tailwind CSS, Material Design, Earth Tones Color Scheme. Dark mode supported, No JS needed.
HTML Code
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800">
<div class="w-full max-w-sm p-6 bg-white rounded-lg shadow-md dark:bg-gray-700">
<div class="flex flex-col items-center">
<img class="w-24 h-24 rounded-full shadow-lg" src="https://randomuser.me/api/portraits/men/87.jpg" alt="User avatar">
<h2 class="mt-4 text-xl font-semibold text-gray-800 dark:text-white">John Doe</h2>
<p class="text-gray-600 dark:text-gray-300">Exploring the world, one byte at a time.</p>
</div>
<div class="grid grid-cols-2 gap-4 mt-6">
<div class="text-center">
<p class="text-gray-700 dark:text-gray-200">Followers</p>
<p class="text-lg font-semibold text-gray-900 dark:text-white">1.2k</p>
</div>
<div class="text-center">
<p class="text-gray-700 dark:text-gray-200">Following</p>
<p class="text-lg font-semibold text-gray-900 dark:text-white">350</p>
</div>
</div>
<div class="flex justify-center mt-6">
<button class="px-4 py-2 font-bold text-white bg-teal-600 rounded-lg shadow-md hover:bg-teal-700 dark:bg-teal-700 dark:hover:bg-teal-800">View Profile</button>
</div>
</div>
</div>
Related Components
User Profiles Component
A responsive and professional user profiles component designed for cryptocurrency/blockchain applications, featuring a clean, trustworthy design with a complementary color scheme and dark mode support.
User Profiles Component
A simple, responsive user profile component for e-commerce with microinteractions, complementing color scheme, dark mode support, and no JavaScript.
User Profiles Component
A responsive user profiles component for a dashboard, with a dark mode pastel theme, built with Tailwind CSS. It displays user avatars, names, roles, and a brief description, with a follow button. The design adapts to different screen sizes and supports dark mode based on the system preference.