Windows — Fluent JS behaviour

Progress & badges

Fluent progress: the linear bar, the famous indeterminate ring with its five spinning dots, numeric InfoBadges on buttons — and the determinate mode showing real percent.

Documentation

Real scenarios

The component as it is used in a product — not a specimen grid.

Waiting, made visible

The determinate bar counts a real percent, the indeterminate one slides five staggered strips, the ring scatters its five dots with springy spacing, and the badges clamp at ۹+.

Determinate bar

A real percent of a real download.

۶۲٪

Indeterminate bar

Five staggered slides for work with no known length.

Indeterminate ring

Five dots on an orbit; their different periods make the spacing breathe.

Preparing…

Info badges

A dot for «something new», a count for «this many» — clamped at ۹+.

Replay the download, or stack notifications until the badge clamps.

Important props

Important props
Prop Type Default What it does
progress-bar height '4px' A 4px bar; indeterminate runs five shuffled slides.
progress-ring dots '5' The indeterminate ring: five dots spring-spaced on an orbit.
info-badge value 'dot|n' A dot or a count on a button/icon corner.

Snippet

<div class="flprg-bar"><span style="inline-size: 62%"></span></div>
<svg class="flprg-ring" viewBox="0 0 24 24">
    <circle cx="12" cy="2.5" r="2" style="animation-delay: 0s"/>
    <circle cx="19" cy="6" r="2" style="animation-delay: .12s"/>
</svg>

<style>
.flprg-bar { block-size: 4px; border-radius: 999px; background: #0000001f; overflow: clip; }
.flprg-bar span { display: block; block-size: 100%; border-radius: 999px; background: #005FB8; }
.flprg-ring circle { fill: #005FB8; animation: flprg-orbit 1.6s cubic-bezier(.4,0,.6,1) infinite; }
</style>