← catalogo / headings/page-headings
TW-HE-PH-06
Tailwind Plus
tailwind/application-ui/headings/page-headings/09-card-with-avatar-and-stats
<div class="overflow-hidden rounded-lg bg-white shadow-sm dark:bg-gray-900 dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10">
<h2 id="profile-overview-title" class="sr-only">Profile Overview</h2>
<div class="bg-white p-6 dark:bg-gray-800/75">
<div class="sm:flex sm:items-center sm:justify-between">
<div class="sm:flex sm:space-x-5">
<div class="shrink-0">
<img src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" class="mx-auto size-20 rounded-full dark:outline dark:-outline-offset-1 dark:outline-white/10" />
</div>
<div class="mt-4 text-center sm:mt-0 sm:pt-1 sm:text-left">
<p class="text-sm font-medium text-gray-600 dark:text-gray-400">Welcome back,</p>
<p class="text-xl font-bold text-gray-900 sm:text-2xl dark:text-white">Rebecca Nicholas</p>
<p class="text-sm font-medium text-gray-600 dark:text-gray-400">Product Designer</p>
</div>
</div>
<div class="mt-5 flex justify-center sm:mt-0">
<a href="#" class="flex items-center justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-xs inset-ring inset-ring-gray-300 hover:bg-gray-50 dark:bg-white/10 dark:text-white dark:shadow-none dark:inset-ring-white/5 dark:hover:bg-white/20">View profile</a>
</div>
</div>
</div>
<div class="grid grid-cols-1 divide-y divide-gray-200 border-t border-gray-200 bg-gray-50 sm:grid-cols-3 sm:divide-x sm:divide-y-0 dark:divide-white/10 dark:border-white/10 dark:bg-gray-800/50">
<div class="px-6 py-5 text-center text-sm font-medium">
<span class="text-gray-900 dark:text-white">12</span>
<span class="text-gray-600 dark:text-gray-400">Vacation days left</span>
</div>
<div class="px-6 py-5 text-center text-sm font-medium">
<span class="text-gray-900 dark:text-white">4</span>
<span class="text-gray-600 dark:text-gray-400">Sick days left</span>
</div>
<div class="px-6 py-5 text-center text-sm font-medium">
<span class="text-gray-900 dark:text-white">2</span>
<span class="text-gray-600 dark:text-gray-400">Personal days left</span>
</div>
</div>
</div>