Application
Application Progress Bars Circular progress
Live Preview
<div class="text-center">
<div
class="relative mx-auto size-32"
role="progressbar"
aria-valuenow="25"
aria-valuemin="0"
aria-valuemax="100"
>
<svg class="size-full" viewBox="0 0 100 100">
<circle
cx="50"
cy="50"
r="45"
fill="none"
stroke="currentColor"
stroke-width="8"
class="text-gray-200"
/>
<circle
cx="50"
cy="50"
r="45"
fill="none"
stroke="currentColor"
stroke-width="8"
stroke-dasharray="70.7 282.7"
stroke-linecap="round"
class="origin-center text-blue-600"
style="transform: rotate(-90deg)"
/>
</svg>
<div class="absolute inset-0 grid place-content-center">
<span class="text-xl font-semibold text-gray-900">25%</span>
</div>
</div>
<p class="mt-2 text-sm text-gray-700">Loading</p>
</div>
<div class="text-center">
<div
class="relative mx-auto size-32"
role="progressbar"
aria-valuenow="75"
aria-valuemin="0"
aria-valuemax="100"
>
<svg class="size-full" viewBox="0 0 100 100">
<circle
cx="50"
cy="50"
r="45"
fill="none"
stroke="currentColor"
stroke-width="8"
class="text-gray-200"
/>
<circle
cx="50"
cy="50"
r="45"
fill="none"
stroke="currentColor"
stroke-width="8"
stroke-dasharray="212.1 282.7"
stroke-linecap="round"
class="origin-center text-green-600"
style="transform: rotate(-90deg)"
/>
</svg>
<div class="absolute inset-0 grid place-content-center">
<span class="text-xl font-semibold text-gray-900">75%</span>
</div>
</div>
<p class="mt-2 text-sm text-gray-700">Nearly done</p>
</div>