Plain
Product successfully added to cart
<div class="flex justify-between w-full px-6 py-4 text-sm text-green-700 bg-green-200">
<p>Product successfully added to cart</p>
</div>
Alert with close button
Product successfully added to cart
<div class="flex justify-between w-full px-6 py-4 text-sm text-green-700 bg-green-200">
<div class="flex">
<div class="m-auto">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" class="w-4 h-4 mr-5 fill-current" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path>
</svg>
</div>
<p>Product successfully added to cart</p>
</div>
<button class="transition-colors duration-200 transform rounded-md hover:bg-opacity-25 hover:bg-gray-600 focus:outline-none">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 18L18 6M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
</div>
Error alert
410 Gone
The requested page is no longer available.
<div class="flex justify-between w-full px-6 py-4 text-sm text-red-700 bg-red-100">
<div class="flex">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" class="w-4 h-5 mr-5 fill-current" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"></path>
</svg>
<p class="font-bold mr-2">410 Gone</p>
<p>The requested page is no longer available.</p>
</div>
<button class="transition-colors duration-200 transform rounded-md hover:bg-opacity-25 hover:bg-gray-600 focus:outline-none">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 18L18 6M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
</div>
With link
An order has been successfully created.
View Order<div class="flex justify-between w-full py-4 px-6 text-sm text-sky-700 bg-sky-100">
<div class="m-auto">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="info-circle" class="w-4 h-4 mr-5 fill-current" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path>
</svg>
</div>
<div class="flex justify-between w-full">
<p>An order has been successfully created.</p>
<a href="#" class="font-bold hover:underline">View Order</a>
</div>
</div>
Additional
Thank you!
Your message has been successfully sent. We will contact you very soon!
<div class="px-6 py-5 mb-4 text-base text-green-700 bg-green-100 rounded-lg" role="alert">
<h4 class="mb-2 text-2xl font-medium leading-tight">Thank you!</h4>
<p>
Your message has been successfully sent. We will contact you very soon!
</p>
</div>
With border
Prerequisites
You will need an API key, and you will need to know the regions and names of your source and destination.
<div class="justify-between w-full px-6 py-4 text-sm text-yellow-700 bg-yellow-100 border-l-8 border-yellow-500">
<div class="mb-2 text-2xl">
Prerequisites
</div>
<div class="flex justify-between w-full">
<p>You will need an API key, and you will need to know the regions and names of your source and destination.</p>
</div>
</div>