Posts Learn Components new Snippets new Categories Tags About
/
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 mt-4 w-full">
  <div class="relative p-4 w-full bg-white rounded-lg overflow-hidden shadow hover:shadow-md rounded-lg">
	<div class="animate-pulse flex flex-col">
	  <div class="rounded w-full h-52 bg-gray-200"></div>
	  <div class="flex flex-col mt-5">
		<div class="w-full h-5 bg-gray-200 rounded"></div>
		<div class="mt-2 w-10/12 h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-8/12 h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="grid grid-cols-2 mt-5 gap-x-2 gap-y-1">
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="flex items-center mt-5">
		<div>
		  <div class="rounded-full bg-gray-200 w-10 h-10"></div>
		</div>
		<div class="flex justify-between w-full ml-3">
		  <div class="w-5/12 h-3 bg-gray-200 rounded"></div>
		  <div class="w-2/12 h-3 bg-gray-200 rounded"></div>
		</div>
	  </div>
	</div>
  </div>

  <div class="relative p-4 w-full bg-white rounded-lg overflow-hidden shadow hover:shadow-md rounded-lg">
	<div class="animate-pulse flex flex-col">
	  <div class="rounded w-full h-52 bg-gray-200"></div>
	  <div class="flex flex-col mt-5">
		<div class="w-full h-5 bg-gray-200 rounded"></div>
		<div class="mt-2 w-10/12 h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-8/12 h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="grid grid-cols-2 mt-5 gap-x-2 gap-y-1">
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="flex items-center mt-5">
		<div>
		  <div class="rounded-full bg-gray-200 w-10 h-10"></div>
		</div>
		<div class="flex justify-between w-full ml-3">
		  <div class="w-5/12 h-3 bg-gray-200 rounded"></div>
		  <div class="w-2/12 h-3 bg-gray-200 rounded"></div>
		</div>
	  </div>
	</div>
  </div>

  <div class="relative p-4 w-full bg-white rounded-lg overflow-hidden shadow hover:shadow-md rounded-lg">
	<div class="animate-pulse flex flex-col">
	  <div class="rounded w-full h-52 bg-gray-200"></div>
	  <div class="flex flex-col mt-5">
		<div class="w-full h-5 bg-gray-200 rounded"></div>
		<div class="mt-2 w-10/12 h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-8/12 h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="grid grid-cols-2 mt-5 gap-x-2 gap-y-1">
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="flex items-center mt-5">
		<div>
		  <div class="rounded-full bg-gray-200 w-10 h-10"></div>
		</div>
		<div class="flex justify-between w-full ml-3">
		  <div class="w-5/12 h-3 bg-gray-200 rounded"></div>
		  <div class="w-2/12 h-3 bg-gray-200 rounded"></div>
		</div>
	  </div>
	</div>
  </div>

  <div class="relative p-4 w-full bg-white rounded-lg overflow-hidden shadow hover:shadow-md rounded-lg">
	<div class="animate-pulse flex flex-col">
	  <div class="rounded w-full h-52 bg-gray-200"></div>
	  <div class="flex flex-col mt-5">
		<div class="w-full h-5 bg-gray-200 rounded"></div>
		<div class="mt-2 w-10/12 h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-8/12 h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="grid grid-cols-2 mt-5 gap-x-2 gap-y-1">
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
		<div class="mt-2 w-full h-3 bg-gray-200 rounded"></div>
	  </div>

	  <div class="flex items-center mt-5">
		<div>
		  <div class="rounded-full bg-gray-200 w-10 h-10"></div>
		</div>
		<div class="flex justify-between w-full ml-3">
		  <div class="w-5/12 h-3 bg-gray-200 rounded"></div>
		  <div class="w-2/12 h-3 bg-gray-200 rounded"></div>
		</div>
	  </div>
	</div>
  </div>
</div>

Tailwind CSS Complex Loading Skeleton component

How to install and add to your project?

Step 1: Include Tailwind CSS Style using CDN inside the head tag

<link href="https://unpkg.com/[email protected]^2/dist/tailwind.min.css" rel="stylesheet">

Step 2: Copy the Tailwind CSS Complex Loading Skeleton component code above as you need it

Step 3: Preview the component in your browsr

You are done 🎉

Credits or Attribution

If you enjoy using our components, please do give us (PostSrc) credit in your project footer section or about page. Copy the HTML below for attribution.

<a href="https://postsrc.com/components" target="_blank" rel="noopener" title="PostSrc Components - Collection of Tailwind CSS components for everyone to use"><img style="width: auto; height: 46px;" src="https://postsrc.com/img/attr.png" alt="PostSrc logo"></a>

Other Tailwind CSS Loading Skeleton Components

More Components