Progress Circle

A circular progress indicator that visually represents the completion status of a task or process.

Anatomy

<script>
  import { ProgressCircle } from "@saas-ui/svelte/components/progress-circle";
</script>

<ProgressCircle value={75} size="md" colour="blue" />

Examples

Basic Accessibility

Basic circular progress indicator.

Colours Accessibility

Use the colour prop to change the colour of the progress circle.

Custom Thickness Accessibility

Use the thickness prop to customize the stroke width.

Indeterminate Accessibility

Set value to null for indeterminate progress with unknown duration.

Range Colors Accessibility

Use the trackColour prop for different range colours.

Rounded Accessibility

Circular progress with rounded stroke caps using the rounded prop.

Sizes Accessibility

Use the size prop to change the size of the progress circle.

Values Accessibility

Use the value prop to set different progress values.

With Value Text Accessibility

Use the showValue prop to display the value text in the center.

Props

Prop Type Default Description
value [object Object] 0 The current value of the progress (0-100). Set to null for indeterminate state.
min [object Object] 0 The minimum value.
max [object Object] 100 The maximum value.
size xs | sm | md | lg | xl md The size of the component.
colour gray | red | orange | yellow | green | teal | blue | cyan | purple | pink | rose gray The colour theme of the component.
showValue boolean false Whether to show the value as text in the center.
thickness text - Custom thickness for the stroke (overrides size default).
rounded boolean false Whether to use rounded stroke caps.
label text - Accessible label for the progress.
class text - Additional CSS classes to apply.