Skip to main content

Starwind UI v1.7.0 is now available!

Progress

Installation

Usage

Variants

Indeterminate

When you need to show a loading state without a specific value, omit the value prop to create an indeterminate progress bar.

Dynamic Updates

The Progress component can be updated dynamically by changing the data-value attribute. This is useful for showing real-time progress like file uploads, form completion, or step-by-step processes.

Interactive Progress Example

API Reference

PropTypeDefault
valuenumber-
maxnumber100
variant"default" | "primary" | "secondary" | "info" | "success" | "warning" | "error""default"

When value is omitted, the progress bar enters an indeterminate state and displays a loading animation.

This component also accepts all standard HTML attributes for <div> elements, including class for additional styling.

Changelog

v1.0.0

  • Initial release with starwind v1.7.0