Your workspace will be ready shortly.
interface QLoadingIndicatorProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children">
?: string = undefined?: boolean = false?: string = "primary-container"?: CssValue | number = "48px"
Use QLoadingIndicator for short waits of about 200ms to 5 seconds. For longer tasks or known progress, use QProgress.
contained for a circular background. size defaults to 48px and accepts pixels as a number or a CSS length. Try sizes from 24px to
240px. color and containerColor accept theme names or CSS colors; keep
at least 3:1 contrast between the shape and its background.Loading files…
aria-busy and keep a persistent status message outside it. This
demo finishes after a short delay; cancelling keeps the existing files.64 KB
128 KB
Two files are available. Refresh to check for updates.
aria-busy, and disable the action while it runs. Here the indicator is aria-hidden because the button and nearby status already describe the work. No data
leaves this page.Edit the title, then save your changes.
progressbar. Give it a short contextual aria-label when it conveys progress. It does not announce a percentage. Keep the
action's result visible after the indicator disappears, and avoid moving keyboard focus as content
updates. The animation respects reduced-motion preferences.