Font Awesome Build Awesome
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Search this website ⌘KCtrl+K Light Dark System Docs Select Color Scheme Default Awesome Shoelace Yoummday Light Yoummday Dark Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme View Project on GitHub Star Project on GitHub
Start Components Docs Help
Web Awesome Font Awesome Build Awesome
Search this site… /
Try SSR Server-side rendering (SSR) generates component HTML on the server before the page loads, improving SEO and initial load time. Use the switch to see Web Awesome components render with and without SSR.
Light Dark System Docs Select Color Scheme Default Awesome Shoelace Yoummday Light Yoummday Dark Active Brutalist Glossy Matter Mellow Playful Premium Tailspin Docs Select Theme

Getting Started

  • Installation
  • Usage
  • Forms
  • Localization
  • Frameworks
  • Using with AI
  • Figma Design Kit ProThis requires access to Web Awesome Pro
  • Server Rendering

Resources

  • Accessibility
  • Browser Support
  • Contributing
  • Patterns ProPatterns require access to Web Awesome Pro
  • Migrating from Shoelace
  • Visual Tests
  • Component Showcase
  • Changelog
  • Help & Support

Theming & Utilities

  • Overview
  • Built-in Themes
  • Color Palettes
  • Design Tokens
  • Customizing & Theming
  • CSS Utilities

Actions

  • Button
  • Button Group
  • Button Row
  • Copy Button
  • Dropdown
    • Dropdown Item

Forms

  • Checkbox
  • Checkbox Group
  • Color Picker
  • File Upload
  • Input
  • Known Date
  • Number Input
  • OTP Input
  • Radio Group
    • Radio
  • Rating
  • Select
    • Option
  • Slider
  • Switch
  • Textarea
  • Time Input

Layout

  • Accordion
    • Accordion Item
  • Card
  • Content Header
  • Details
  • Dialog
  • Divider
  • Drawer
  • Page
  • Page Header
  • Scroller
  • Split Panel

Navigation

  • Breadcrumb
    • Breadcrumb Item
  • Navigation Entry
  • Pagination
  • Tab Group
    • Tab
    • Tab Panel
  • Tree
    • Tree Item

Feedback

  • Badge
  • Callout
  • Empty State
  • Progress
  • Progress Bar
  • Progress Ring
  • Progress Ring Group
  • Skeleton
  • Spinner
  • Tag
  • Toast
    • Toast Item
  • Tooltip

Media

  • Animated Image
  • Avatar
  • Carousel
    • Carousel Item
  • Comparison
  • Icon
  • Markdown
  • QR Code
  • Zoomable Frame

Data Viz

  • Advanced Usage

Helpers

  • Animation
  • Format Bytes
  • Format Date
  • Format Number
  • Include
  • Intersection Observer
  • Mutation Observer
  • Popover
  • Popup
  • Random Content
  • Relative Time
  • Resize Observer

Progress

  • Examples
  • Visible values
  • Sizes
  • Custom track height
  • Notes
  • API
  • Importing
  • Slots
  • Attributes & Properties
  • CSS Custom Properties
  • CSS Parts
  • Dependencies
On This Page...
  • Examples
  • Visible values
  • Sizes
  • Custom track height
  • Notes
  • API
  • Importing
  • Slots
  • Attributes & Properties
  • CSS Custom Properties
  • CSS Parts
  • Dependencies

Progress

<wa-progress>
Experimental added Feedback Since ymmd-0.3

Combines multiple progress values into a single segmented track and legend.

<wa-progress>
  <wa-progress-bar value="55" label="Complete" style="--indicator-color: var(--wa-color-success-fill-loud)"></wa-progress-bar>
  <wa-progress-bar value="25" label="In progress" style="--indicator-color: var(--wa-color-warning-fill-loud)"></wa-progress-bar>
</wa-progress>

Examples

Link to This Section

Visible values

Link to This Section

Add with-values and place the display value in each progress bar's default slot.

65 GB 20 GB
<wa-progress with-values>
  <wa-progress-bar value="65" label="Used" style="--indicator-color: var(--wa-color-brand-fill-loud)">65 GB</wa-progress-bar>
  <wa-progress-bar value="20" label="Reserved" style="--indicator-color: var(--wa-color-purple-60)">20 GB</wa-progress-bar>
</wa-progress>

Sizes

Link to This Section

Use Web Awesome's s, m, and l size values.

<div style="display: grid; gap: var(--wa-space-l);">
  <wa-progress size="s">
    <wa-progress-bar value="45" label="Complete"></wa-progress-bar>
  </wa-progress>
  <wa-progress size="m">
    <wa-progress-bar value="45" label="Complete"></wa-progress-bar>
  </wa-progress>
  <wa-progress size="l">
    <wa-progress-bar value="45" label="Complete"></wa-progress-bar>
  </wa-progress>
</div>

Custom track height

Link to This Section

Override --track-height for a custom height.

<wa-progress style="--track-height: 2rem;">
  <wa-progress-bar value="45" label="Complete"></wa-progress-bar>
  <wa-progress-bar value="30" label="In progress" style="--indicator-color: var(--wa-color-warning-fill-loud)"></wa-progress-bar>
</wa-progress>

Notes

Link to This Section
  • Add one <wa-progress-bar> per segment. Its value, label, default-slot text, and --indicator-color define the segment.
  • Segment values should normally total no more than 100. The remaining space uses --track-color.
  • Use a standalone <wa-progress-bar> when you need to show one task's progress rather than a segmented summary.

API

Link to This Section

Importing

Link to This Section

If you're using the autoloader or a hosted project, components load on demand — no manual import needed. To cherry-pick a component manually, use one of the following snippets.

CDN npm Self-Hosted React

Import this component directly from the CDN:

import 'https://cdn.yoummday.com/packages/@yoummday/webawesome/0.5.1/dist/components/progress/progress.js';

After installing Web Awesome via npm, import this component:

import '@yoummday/webawesome/dist/components/progress/progress.js';

If you're self-hosting Web Awesome, import this component from your server:

import './webawesome/dist/components/progress/progress.js';

To import this component for React 18 or below, use the following code:

import WaProgress from '@yoummday/webawesome/dist/react/progress/index.js';

Slots

Link to This Section

Learn more about using slots.

Name Description
(default) One or more wa-progress-bar elements that provide segment values and labels.

Attributes & Properties

Link to This Section

Learn more about attributes and properties.

Name Description Reflects
size
size
The height preset for the joined progress track.
Type 's' | 'm' | 'l'
Default 'm'
withValues
with-values
Shows each progress bar's slotted value above its label.
Type boolean
Default false

CSS Custom Properties

Link to This Section

Learn more about CSS custom properties.

Name Description
--track-color
The color of the unfilled track.
Default var(--wa-color-neutral-fill-normal)
--track-height
The height of the joined track.
Default var(--wa-space-s)

CSS Parts

Link to This Section

Learn more about CSS parts.

Name Description CSS selector
legend The container for segment labels. ::part(legend)
legend-item A segment's legend item. ::part(legend-item)
legend-label A segment's label. ::part(legend-label)
legend-value A segment's visible value. ::part(legend-value)
progress The component's outer wrapper. ::part(progress)
segment A segment in the joined progress track. ::part(segment)
track The joined progress track. ::part(track)
base An alias for the component's outer wrapper. ::part(base)

Dependencies

Link to This Section

This component automatically imports the following elements. Sub-dependencies, if any exist, will also be included in this list.

  • <wa-progress-bar>
Need a hand? Report a bug Ask for help
Go Make Something Awesome
Version 0.5.1 © Fonticons, Inc.
  • Terms
  • Privacy
  • Refunds
  • Core License
  • Pro License

Quick Links

  • Components
  • CSS Utilities
  • Theming
  • Using with AI
  • Changelog
  • Help & Support

Recent Searches

    D'oh! No results for “”

    Suggest on GitHub Ask on Discord
    Navigate Select
    Close Esc