Radial progress

A circular progress indicator driven by CSS variables: --value, --size and --thickness. The center label is free-form content.

Radial progress
70%
<DRadialProgress Value="70" />
Values
10%
30%
50%
70%
90%
100%
@foreach (var v in new[] { 10, 30, 50, 70, 90, 100 })
{
    <DRadialProgress Value="v" />
}
Colors
30%
40%
50%
60%
70%
80%
90%
@foreach (var color in new[] { DaisyColor.Primary, DaisyColor.Secondary, DaisyColor.Accent, DaisyColor.Info, DaisyColor.Success, DaisyColor.Warning, DaisyColor.Error })
{
    <DRadialProgress Value="20 + (int)color * 10" Color="color" />
}
Size & thickness
40%
60%
85%
<DRadialProgress Value="40" Size="3rem" Thickness="2px" />
<DRadialProgress Value="60" Size="6rem" Thickness="8px" Color="DaisyColor.Primary" />
<DRadialProgress Value="85" Size="9rem" Thickness="12px" Color="DaisyColor.Error" />
Custom label
♫
99.9% uptime
<DRadialProgress Value="66" Color="DaisyColor.Accent">
    <span class="text-xl">&#9835;</span>
</DRadialProgress>
<DRadialProgress Value="99.9" Color="DaisyColor.Success">
    <div class="flex flex-col items-center leading-tight">
        <span>99.9%</span>
        <span class="text-xs opacity-60">uptime</span>
    </div>
</DRadialProgress>

API

DRadialProgress

Parameters

Name Type Default Binding Description
Value double 0 — Progress percentage (0-100). Rendered into the --value CSS variable.
Size string — — Diameter, any CSS length (e.g. "5rem" ). Rendered into --size .
Thickness string — — Ring thickness, any CSS length (e.g. "5px" ). Rendered into --thickness .
Color DaisyColor Default — Ring color. daisyUI's radial progress is colored via text-* classes.
DefaultPrimarySecondaryAccentInfoSuccessWarningErrorGhostNeutral
ChildContent RenderFragment — — Center label. Defaults to the rounded percentage (e.g. 72% ).
Class string — — Additional CSS classes appended to the component's computed daisyUI classes.
Style string — — Inline styles applied to the root element.
Connection lost — reconnecting…
Connection failed.
The server has stopped.