# Progress (`.z-progress`)

> Styled native progress bar with an animated value track.

- **Kind:** css
- **Category:** feedback

## CSS Variables

| Variable | Default | Scope | Affects | Description |
| --- | --- | --- | --- | --- |
| `--z-progress-height` | `1rem` | `.z-progress` | `height` | Height of the progress bar. |
| `--z-progress-margin-bottom` | `1.25rem` | `.z-progress` | `margin-block-end` | Bottom margin of the progress bar. |
| `--z-progress-radius` | `500px` | `.z-progress` | `border-radius` | Corner radius of the track. |
| `--z-progress-track-color` | `var(--z-primary)` | `.z-progress` | `background-color` | Track (background) color. |
| `--z-progress-track-color-o` | `20%` | `.z-progress` | `background-color` | Opacity applied to the track color. |
| `--z-progress-transition` | `width 0.6s ease` | `.z-progress` | `transition` | Transition applied to the value bar when the value changes. |
| `--z-progress-value-color` | `var(--z-primary)` | `.z-progress` | `background-color` | Value bar color. |
| `--z-progress-value-color-o` | `100%` | `.z-progress` | `background-color` | Opacity applied to the value bar color. |

## CSS Classes

| Class | Role | Applies to | Description |
| --- | --- | --- | --- |
| `.z-progress` | `root` | `.z-progress` | Styles a native `<progress>` element: rounded track, tinted background, animated value bar. |

## Notes

- Keep the native semantics: set `value` and `max`, and provide fallback text inside the element.
- Omit `value` for an indeterminate progress bar.

## Guides

- [Styling with cls and stl](https://next.0build.dev/docs/guides/styling.md)
- [Translating Components](https://next.0build.dev/docs/guides/i18n.md)
- [Icon Resolution](https://next.0build.dev/docs/guides/icons.md)
- [The data-source Convention](https://next.0build.dev/docs/guides/data-source.md)
- [Openers & Triggers](https://next.0build.dev/docs/guides/triggers.md)
- [Dialog Behavior](https://next.0build.dev/docs/guides/dialogs.md)
- [Utilities](https://next.0build.dev/docs/guides/utilities.md)
- [Runtime](https://next.0build.dev/docs/guides/runtime.md)
