Progress#

Progress bar shows the progress of a task. Uses the native HTML <progress> element with daisyUI styling.

Import#

TSX
import { Progress } from '@sigx/daisyui';

Basic Usage#

TSX
Loading preview...

Colors#

TSX
Loading preview...

Indeterminate#

Omit the value prop for an indeterminate (animated) progress bar.

TSX
Loading preview...

Different Values#

TSX
Loading preview...

Custom Max#

Use the max prop to set a custom maximum value.

TSX
Loading preview...

Full Width#

Use class="w-full" for a full-width progress bar.

TSX
Loading preview...

Props#

PropTypeDefaultDescription
valuenumberundefinedCurrent progress value. Omit for indeterminate state
maxnumber100Maximum value
color'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error'undefinedColor variant
classstringundefinedAdditional CSS classes