Skip to content

Progress

Design guidelines
HTML
React
Angular
<certara-progress value="50" label="Progress" help-text="50% complete"></certara-progress>
import { CertaraProgress } from '@certara/certara-ui-react';
<CertaraProgress value={50} label="Progress" helpText="50% complete" />
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-progress value="50" label="Progress" help-text="50% complete"></certara-progress>
HTML
React
Angular
<certara-progress value="60" variant="brand" label="Brand"></certara-progress>
import { CertaraProgress } from '@certara/certara-ui-react';
<CertaraProgress value={60} variant="brand" label="Brand" />
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-progress value="60" variant="brand" label="Brand"></certara-progress>

Determinate or indeterminate progress bar.

animated

Attributeanimated
Typeboolean
Defaultfalse
Requiredfalse
DescriptionWhether the progress bar displays a striped animation

color

Attributecolor
Type"brand" | "danger" | "success"
Defaultundefined
Requiredfalse
DescriptionThe color variant of the progress bar. Defaults to brand.

helpText

Attributehelp-text
Typestring
Defaultundefined
Requiredfalse
DescriptionThe help text of the progress bar

indeterminate

Attributeindeterminate
Typeboolean
Defaultfalse
Requiredfalse
DescriptionWhether the progress bar is indeterminate, if true, the value prop is ignored

label

Attributelabel
Typestring
Defaultundefined
Requiredfalse
DescriptionThe label of the progress bar

value

Attributevalue
Typenumber
Defaultnull
Requiredfalse
DescriptionThe value of the progress bar (0-100%)

variant

Attributevariant
Type"brand" | "danger" | "success"
Defaultundefined
Requiredfalse
DescriptionThe color variant of the progress bar DEPRECATED. Use color instead. Will be removed in the next major version.

There are no events available for this component

There are no public methods available for this component

There are no slots available for this component

Progress bars provide users with feedback regarding the duration and progression of a process. Depending on the type used, they can indicate how long a user will be waiting or simply that the system is processing something.

  • Use a determinate progress bar to indicate the status of an ongoing process whenever the completion percentage is known.
  • When a specific completion amount is not known, the indeterminate progress bar can be used.
  • For very short process times, use the spinner component.
  • When indicating a full page load, use the skeleton loader.
  • Always provide an accessible label for progress bars.
  • A comprehensive progress bar must have these attributes:
    • role="progressbar" for progress bar element to define it is the progress bar.
    • aria-valuenow="0" it is the same as <progress value="0"> that should be added to the progress bar.
    • aria-valuemin="0" & aria-valuemax="100" like <progress min="0" max="100">
  • For more information, see our accessibility guidelines.
View component in Figma