Progress Bar Styling
Style Variants
Progress Bar comes with three style variants: contrast, success, and error.
| Variant | Description | Supported by |
|---|---|---|
| When progress is satisfactory and/or nearing completion | Lumo |
| When progress is unsatisfactory or draw the user’s attention to a stalled or failed process | Lumo |
| Improved visibility | Lumo |
Source code
ProgressBarThemeVariants.java
progress-bar-theme-variants.tsx
progress-bar-theme-variants.ts
Style Properties
The following style properties can be used in CSS stylesheets to customize the appearance of this component.
To apply values to these properties globally in your application UI, place them in a CSS block using the html {…} selector.
See Component Style Properties for more information on style properties.
Property | Supported by |
| Aura |
| Aura |
| Aura |
| Aura |
| Aura |
| Aura |
| Aura |
| Aura |
CSS Selectors
The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the Styling documentation for more details on how to style components.
- Root element
-
vaadin-progress-bar