Skip to main content
ProgressBar ← Back to Table of Contents

Summary

Versatile linear progress indicator for uploads, sync status, stepped delivery trackers, and multi-segment bars. Supports animations, gradients, and optional card shell wrapping.

Basic usage

Simple determinate progress

Indeterminate loading state

Stepped delivery tracker


Configuration API

All methods accept Closure unless noted.

Real-world examples

Progress supplied by your application (Livewire)

Delivery route with markers


Playground

/admin/flex-fields/progress-bar See Playground for setup.

CSS classes (reference)

Static rendering and accessibility

This component does not accept user input, persist form state or create an Alpine factory. Responsive auto pills are painted by CSS, with no ResizeObserver or per-pill JavaScript. Their gradient can fill a capsule partially; fixed pillCount uses discrete active capsules. Both adapt to container width, including RTL. For segmented displays, the rendered value and accessible current amount follow the actual completed and partially filled segments. Segment fills are calculated once per render rather than re-normalizing all segments for each item. Footer copy is static text, not an action button. Each instance exposes one labeled progressbar with its original numeric maximum and clamped current value. Indeterminate progress omits aria-valuenow and declares aria-busy. Fill transitions and indeterminate animations respect reduced motion. Numbers must be finite and max positive. Values below zero/above max display as 0%/100%. Segment state is complete, active or pending; malformed metadata is rejected. CSS colors cannot contain additional declarations.
Last modified on October 16, 2026