Skip to content

Progress ​

Circular Indeterminate

Loading...

Circular Determinate

Loading...

Linear Indeterminate

Loading...

Linear Determinate

Loading...

<flint-circular-progress> ​

flint-circular-progress: a circular progress indicator (spinner).

  • Tag: <flint-circular-progress>
  • Class: FlintCircularProgress

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintCircularProgress } from '@getufy/flint-ui';

Usage ​

html
<flint-circular-progress></flint-circular-progress>

Properties ​

PropertyAttributeTypeDefaultDescription
modemode'determinate' | 'indeterminate''indeterminate'Progress mode: determinate shows a specific value, indeterminate shows a looping animation.
indeterminateindeterminatebooleanfalseWhen true, shows a looping animation instead of a specific progress value.
valuevaluenumber0Current progress value (0 to max) for determinate mode.
maxmaxnumber100Maximum value. The progress is calculated as value / max.
sizesizenumber40Diameter of the circular indicator in pixels.
thicknessthicknessnumber3.6Stroke width of the circle in pixels.
colorcolor'primary' | 'success' | 'error' | 'warning''primary'Color theme of the progress indicator.
labellabelstring''Accessible label for the progress indicator.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.
svgThe svg element.

CSS Custom Properties ​

PropertyDefault
--flint-circular-progress-size—
--flint-circular-progress-color—
--flint-circular-progress-thickness3.6
--flint-primary-color—
--flint-primary-color-light—

<flint-linear-progress> ​

flint-linear-progress: a horizontal progress bar.

  • Tag: <flint-linear-progress>
  • Class: FlintLinearProgress

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintLinearProgress } from '@getufy/flint-ui';

Usage ​

html
<flint-linear-progress></flint-linear-progress>

Properties ​

PropertyAttributeTypeDefaultDescription
modemode'determinate' | 'indeterminate''indeterminate'Progress mode: determinate shows a specific value, indeterminate shows a looping animation.
indeterminateindeterminatebooleanfalseWhen true, shows a looping animation instead of a specific progress value.
valuevaluenumber0Current progress value (0 to max).
maxmaxnumber100Maximum value. The progress is calculated as value / max.
heightheightnumber4Height of the progress bar in pixels.
colorcolor'primary' | 'success' | 'error' | 'warning''primary'Color theme of the progress bar.
labellabelstring''Accessible label for the progress bar.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.
indicatorThe indicator element.

CSS Custom Properties ​

PropertyDefault
--flint-linear-progress-height—
--flint-linear-progress-bg—
--flint-linear-progress-color—