Components
← All components

Progress

stimeo--progress

Syncs a progressbar's ARIA value attributes and exposes the ratio for the bar.

The stimeo--progress controller drives the WAI-ARIA progressbar role. It normalizes the value into [min, max], keeps aria-valuenow / aria-valuemin / aria-valuemax in sync, and exposes the fraction as the --stimeo-progress-ratio (0–1) custom property your CSS turns into a width. The indeterminate state drops aria-valuenow and flips data-state="indeterminate" for a looping animation. setValue accepts an amount action param or a progress:set event detail, and the controller dispatches stimeo--progress:change and :complete. Behavior only — the bar's look is owned by this Playground.

running