Posts Learn Components new Snippets new Categories Tags About
/
<div class="flex justify-center items-center">
  <div class="relative">
	<div class="flex items-center justify-center w-12 h-12 mx-2 overflow-hidden rounded-full">
	  <img src="https://images.unsplash.com/photo-1548544149-4835e62ee5b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80">
		</div>

	  <div class="absolute bottom-0 right-0 w-4 h-4 mr-1 rounded-full bg-green-500 border-2 border-white"></div>
	</div>

	<div class="relative">
	  <div class="flex items-center justify-center w-12 h-12 mx-2 overflow-hidden rounded-full">
		<img src="https://images.unsplash.com/photo-1548544149-4835e62ee5b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80">
		  </div>

		<div class="absolute bottom-0 right-0 w-4 h-4 mr-1 rounded-full bg-blue-500 border-2 border-white"></div>
	  </div>

	  <div class="relative">
		<div class="flex items-center justify-center w-12 h-12 mx-2 overflow-hidden rounded-full">
		  <img src="https://images.unsplash.com/photo-1548544149-4835e62ee5b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80">
			</div>

		  <div class="absolute bottom-0 right-0 w-4 h-4 mr-1 rounded-full bg-yellow-500 border-2 border-white"></div>
		</div>

		<div class="relative">
		  <div class="flex items-center justify-center w-12 h-12 mx-2 overflow-hidden rounded-full">
			<img src="https://images.unsplash.com/photo-1548544149-4835e62ee5b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80">
			  </div>

			<div class="absolute bottom-0 right-0 w-4 h-4 mr-1 rounded-full bg-red-500 border-2 border-white"></div>
		  </div>
		</div>

Tailwind CSS avatar round with status indicator 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 Avatar Round With Status 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 Avatars Components

More Components