Progress Steps
<div class="space-y-12 p-4 max-w-md mx-auto">
<!-- Basic Steps Progress -->
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Checkout Progress</span>
<span class="text-sm font-medium text-gray-500">Step 2 of 4</span>
</div>
<div class="flex w-full space-x-1">
<div class="bg-blue-600 h-2 rounded-full flex-1"></div>
<div class="bg-blue-600 h-2 rounded-full flex-1"></div>
<div class="bg-gray-200 h-2 rounded-full flex-1"></div>
<div class="bg-gray-200 h-2 rounded-full flex-1"></div>
</div>
<div class="flex justify-between mt-2">
<span class="text-xs font-medium text-blue-600">Cart</span>
<span class="text-xs font-medium text-blue-600">Shipping</span>
<span class="text-xs text-gray-500">Payment</span>
<span class="text-xs text-gray-500">Confirmation</span>
</div>
</div>
<!-- Numbered Steps Progress -->
<div>
<div class="flex justify-between mb-2">
<span class="text-sm font-medium text-gray-700">Account Setup</span>
<span class="text-sm font-medium text-gray-500">Step 2 of 3</span>
</div>
<div class="relative">
<div class="w-full h-1 bg-gray-200 absolute top-4"></div>
<div class="w-1/2 h-1 bg-blue-600 absolute top-4"></div>
<div class="flex justify-between relative">
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center text-sm font-medium">
1
</div>
<span class="text-xs mt-1 font-medium text-blue-600">Personal</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center text-sm font-medium">
2
</div>
<span class="text-xs mt-1 font-medium text-blue-600">Account</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center text-sm font-medium">
3
</div>
<span class="text-xs mt-1 text-gray-500">Confirmation</span>
</div>
</div>
</div>
</div>
<!-- Icon Steps Progress -->
<div>
<div class="flex justify-between mb-2">
<span class="text-sm font-medium text-gray-700">Order Status</span>
<span class="text-sm font-medium text-gray-500">Processing</span>
</div>
<div class="relative">
<div class="w-full h-1 bg-gray-200 absolute top-4"></div>
<div class="w-2/3 h-1 bg-green-500 absolute top-4"></div>
<div class="flex justify-between relative">
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-green-500 text-white flex items-center justify-center">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
</svg>
</div>
<span class="text-xs mt-1 font-medium text-green-500">Ordered</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-green-500 text-white flex items-center justify-center">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
</svg>
</div>
<span class="text-xs mt-1 font-medium text-green-500">Processed</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center animate-pulse">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="M11 17a1 1 0 001.447.894l4-2A1 1 0 0017 15V9.236a1 1 0 00-1.447-.894l-4 2a1 1 0 00-.553.894V17zM15.211 6.276a1 1 0 000-1.788l-4.764-2.382a1 1 0 00-.894 0L4.789 4.488a1 1 0 000 1.788l4.764 2.382a1 1 0 00.894 0l4.764-2.382zM4.447 8.342A1 1 0 003 9.236V15a1 1 0 00.553.894l4 2A1 1 0 009 17v-5.764a1 1 0 00-.553-.894l-4-2z"></path>
</svg>
</div>
<span class="text-xs mt-1 font-medium text-blue-500">Shipping</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-gray-200 text-gray-400 flex items-center justify-center">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"></path>
</svg>
</div>
<span class="text-xs mt-1 text-gray-500">Delivered</span>
</div>
</div>
</div>
</div>
<!-- Mobile Steps Progress -->
<div>
<div class="flex justify-between mb-2">
<span class="text-sm font-medium text-gray-700">Form Completion</span>
<span class="text-sm font-medium text-gray-500">Step 3 of 5</span>
</div>
<div class="flex flex-col space-y-2 md:hidden">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center text-xs font-medium mr-2">1</div>
<span class="text-sm font-medium text-blue-600">Basic Info</span>
</div>
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center text-xs font-medium mr-2">2</div>
<span class="text-sm font-medium text-blue-600">Contact Details</span>
</div>
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-blue-600 text-white flex items-center justify-center text-xs font-medium mr-2">3</div>
<span class="text-sm font-medium text-blue-600">Preferences</span>
</div>
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center text-xs font-medium mr-2">4</div>
<span class="text-sm text-gray-500">Review</span>
</div>
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center text-xs font-medium mr-2">5</div>
<span class="text-sm text-gray-500">Confirmation</span>
</div>
</div>
<div class="hidden md:block">
<div class="relative">
<div class="w-full h-1 bg-gray-200 absolute top-4"></div>
<div class="w-1/2 h-1 bg-blue-600 absolute top-4"></div>
<div class="flex justify-between relative">
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center text-sm font-medium">1</div>
<span class="text-xs mt-1 font-medium text-blue-600">Basic</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center text-sm font-medium">2</div>
<span class="text-xs mt-1 font-medium text-blue-600">Contact</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-blue-600 text-white flex items-center justify-center text-sm font-medium">3</div>
<span class="text-xs mt-1 font-medium text-blue-600">Preferences</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center text-sm font-medium">4</div>
<span class="text-xs mt-1 text-gray-500">Review</span>
</div>
<div class="flex flex-col items-center">
<div class="w-8 h-8 rounded-full bg-gray-200 text-gray-700 flex items-center justify-center text-sm font-medium">5</div>
<span class="text-xs mt-1 text-gray-500">Confirm</span>
</div>
</div>
</div>
</div>
</div>
</div>
Copied to clipboard