TailwindTemplates

Theme

_Archived

Older templates from tailwindtemplates v1

Profile card 3

Copied!

                    
                         <div class="p-8">
<div class="bg-white p-6 shadow-lg rounded-lg flex justify-between items-center">
  <div class="flex">
    <div class="mr-4">
       <img class="shadow sm:w-12 sm:h-12 w-14 h-14 rounded-full bg-gray-100" src="" alt="Avatar" />
    </div>
    <div>
      <h1 class="text-xl font-medium text-gray-700">Link</h1>
      <p class="text-gray-600">UX Designer at Hyrule</p>
    </div>
  </div>
  <button class="bg-blue-500 hover:opacity-75 text-white rounded-full px-8 py-2">
    Follow
  </button>
</div>
</div>
                    
                

Profile card 2

Copied!

                    
                         <div class="p-8">
  <div class="shadow-xl rounded-lg">
    <div style="background-image: url('https://images.pexels.com/photos/814499/pexels-photo-814499.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260')" class="h-64 bg-gray-200 bg-cover bg-center rounded-t-lg flex items-center justify-center"> 
      <p class="text-white font-bold text-4xl">Profile</p>
    </div>
    <div class="bg-white rounded-b-lg px-8">
      <div class="relative">
            <img class="right-0 w-16 h-16 rounded-full mr-4 shadow-lg absolute -mt-8 bg-gray-100" src="" alt="Avatar">
      </div>
      <div class="pt-8 pb-8">
        <h1 class="text-2xl font-bold text-gray-700">Link</h1>
        <p class="text-sm text-gray-600">From hyrule</p>
        
        <p class="mt-6 text-gray-700">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris a sem varius, fringilla sapien at, sollicitudin risus.</p>
        
        <div class="flex justify-around mt-8">
          <button>
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
</svg>
          </button>
          <button>
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
          </button>
          <button>
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
          </button>
        </div>
      </div>
    </div>
  </div>
</div>
                    
                

Profile card 1

Copied!

                    
                         <div class="p-8">
  <div class="bg-white shadow p-4 rounded lg:w-64">
  <div class="text-center mt-4">
    <p class="text-gray-600 font-bold">Name
    </p>
    <p class="text-sm font-hairline text-gray-600 mt-1">Subtitle
    </p>
  </div>
  <div class="flex justify-center mt-4">
    <img class="shadow sm:w-12 sm:h-12 w-10 h-10 rounded-full bg-gray-100" src="" alt="Avatar" />
  </div>
  <div class="mt-6 flex justify-between text-center">
    <div>
      <p class="text-gray-700 font-bold">20
      </p>
      <p class="text-xs mt-2 text-gray-600 font-hairline">Posts
      </p>
    </div>
    <div>
      <p class="text-gray-700 font-bold">99k
      </p>
      <p class="text-xs mt-2 text-gray-600 font-hairline">Likes
      </p>
    </div>
    <div>
      <p class="text-gray-700 font-bold">530
      </p>
      <p class="text-xs mt-2 text-gray-700 font-hairline">Shares
      </p>
    </div>
  </div>
  <div class="mt-6">
    <button class="rounded shadow-md w-full items-center shadow bg-blue-500 px-4 py-2 text-white hover:bg-blue-400">
      Follow
    </button>
  </div>
</div>
</div>
                    
                

Alert 2

Copied!

                    
                         <div class="shadow bg-white rounded-full" role="alert">
    <div class="p-4 flex">
        <div class="w-24 bg-green-500 flex items-center text-white rounded-full justify-center">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
</svg>
        </div>
        <div class="pl-2 text-gray-600">
            <p class="font-bold">Outgoing call</p>
            <p>Calling Jack Dozer · <span class="text-gray-500">9:32 pm - 5/6/2018</span></p>
        </div>
    </div>
</div>
                    
                

Alert accent 1

Copied!

                    
                         <div class="shadow" role="alert">
  <div class="flex">
    <div class="bg-blue-500 w-16 text-center p-2">
      <div class="flex justify-center h-full items-center">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          class="h-6 w-6 text-white"
          fill="none"
          viewBox="0 0 24 24"
          stroke="currentColor"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"
          />
        </svg>
      </div>
    </div>
    <div class="bg-white border-r-4 border-blue-400 w-full p-4">
      <div>
        <p class="text-gray-600 font-bold">Information box</p>
        <p class="text-gray-600 text-sm">Your message has been send to Jack</p>
      </div>
    </div>
  </div>
</div>
                    
                

Alert rounded

Copied!

                    
                         <div class="flex justify-center p-8">
<div class="flex w-64 items-center rounded-lg shadow-lg mb-4 flex bg-indigo-500 p-4 text-white">
  <div class="w-64">
    <h4 class="mb-2 font-bold">Title</h4>
    <p>Lorem ipsum dolor sit amet. </p>
  </div>
  <div class="w-12">
    <div class="text-2xl p-2 bg-indigo-600 rounded-full">
    <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
</svg>
    </i>
  </div>
</div>
</div>