Skip to main content

Progress

The Progress Widget in Astroid displays one or more animated horizontal progress bars built on Bootstrap. Each bar shows a title, a value (with optional prefix/suffix), and an optional description. It's ideal for showcasing skills, funding goals, stock levels, or any value measured against a maximum.

The bars animate from 0 to their target value when they scroll into view.

progress-frontend.png


βž• How to Add the Progress Widget​

πŸ“ Step 1: Open the Layout Builder​

  1. Go to your Joomla Administrator Panel
  2. Navigate to: System β†’ Site Template Styles β†’ Click on your Astroid template
  3. Click the β€œTemplate Options” button
  4. Open the Layout tab
  5. Launch the Layout Builder

🧱 Step 2: Add the Widget​

  1. Open the Astroid Layout Builder.
  2. Add a new Widget to your desired section.
  3. Select Progress from the Utilities widget list.

add-element.jpeg

select-utilities.jpg


βš™οΈ Main Configuration Settings​

progress-general.png

πŸ—‚ General Settings​

πŸ“ Element Title​

  • Description: The internal name of the widget, shown in the Layout Builder.

πŸ“‹ Progress Items​

  • Description: The list of progress bars to display. Click Add Item to create a new bar.
  • Each item can be reordered (drag the arrow icon), edited (βš™οΈ), duplicated, or deleted.
  • See Progress Item Settings below.

↕️ Item Spacing​

  • Description: The space between progress items.
  • Range: 0 – 200 px
  • Default: 24px
  • Responsive: Yes – set different values per device (Global, Large, Medium, Small...).

🧩 Progress Item Settings​

Click the βš™οΈ icon on an item to edit it. Remember to click Apply Changes after editing.

progress-item.png

General Tab​

πŸ“ Title​
  • Description: The title displayed above the bar. Supports dynamic content.
πŸ”’ Value​
  • Description: The target value the bar animates to. Decimals are supported (up to 4 decimal places), for example 4.5.
  • Default: 90
  • Commas and spaces are ignored (e.g. 3,500 is read as 3500). Negative values are treated as 0.
🏁 Max Value​
  • Description: The value that represents a full bar. The fill percentage is calculated as Value Γ· Max Value.
  • Default: 100
  • Example: With a value of 750 and a max value of 1000, the bar is filled to 75%.
  • If the value is greater than the max value, the bar is capped at 100% but the displayed number still shows the real value.
⬅️ Prefix​
  • Description: Text displayed before the value.
  • Example: $ shows $90.
➑️ Suffix​
  • Description: Text displayed after the value.
  • Default: %
  • Example: % shows 90%, USD shows 90 USD. Clear it to show the plain number.
⏱ Duration​
  • Description: The animation duration in milliseconds. The animation starts when the progress bar scrolls into view and runs only once.
  • Range: 200 – 5000 ms
  • Default: 1200
🎨 Bar Color​
  • Description: Overrides the bar color for this item only. Leave empty to use the widget's Bar Style.
  • Supports separate Light and Dark mode colors.
πŸ“„ Description​
  • Description: Rich text content displayed below the bar, edited with the WYSIWYG editor (or View Source for HTML). Supports dynamic content.

Advanced Tab​

πŸ”— Dynamic Content​
  • Description: Select a dynamic content source to populate the item's Title and Description automatically.

πŸ“Š Bar Options​

🏷 Value Position​

  • Description: Choose where the value is displayed.
  • Options:
    • Next to title (default) – The value is shown on the right side of the title row.
    • Inside bar – The value is shown inside the filled part of the bar.
    • Follow bar (tooltip) – The value is shown in a tooltip above the end of the bar and moves along with it while animating.
    • None – The value is hidden.

Inside bar:

progress-value-inside.png

Follow bar (tooltip):

progress-value-follow.png

tip

When using Inside bar, increase the Height so the value text fits comfortably inside the bar.

πŸ“ Height​

  • Description: The height of the progress bar.
  • Range: 1 – 100 px
  • Default: 16px
  • Responsive: Yes

🎨 Bar Style​

  • Description: The color of the bar, using a Bootstrap theme color or a custom color.
  • Options: Primary (default), Secondary, Success, Danger, Warning, Info, Light, Dark, Custom Color.

🎨 Bar Color​

  • Visible when: Bar Style = Custom Color
  • Description: The custom color of the progress bar.
  • Supports Light and Dark mode colors.

πŸ›€ Track Color​

  • Description: The background color of the progress track (the unfilled part of the bar).
  • Supports Light and Dark mode colors.

πŸ–‹ Bar Text Color​

  • Description: The color of the value displayed inside the bar or in the tooltip.
  • Supports Light and Dark mode colors.
  • If left empty with the Warning, Info, or Light bar styles, the text automatically uses black for better contrast.

πŸ”˜ Border Radius​

  • Description: The corner style of the bar.
  • Options:
    • Default – Uses the Bootstrap default radius.
    • None – Square corners.
    • Pill – Fully rounded ends.

πŸ¦“ Striped​

  • Description: Applies a diagonal stripe pattern over the bar.
  • Default: Off

🎞 Animated Stripes​

  • Visible when: Striped is enabled
  • Description: Animates the stripes from right to left.
  • Default: Off

🏷 Title Options​

title_html_element​

  • HTML tag for the item title: h1 – h6 or div.
  • Default: h6

title_font_style​

  • Typography settings for the title (font family, size, weight, color, etc.).

title_heading_margin​

  • Margin around the title (Top, Right, Bottom, Left).

πŸ”’ Value Options​

value_font_style​

  • Typography settings for the value text (applies to all value positions).

πŸ“„ Content Options​

content_font_style​

  • Typography settings for the item description.

🎞 Animation & Advanced Settings​

  • Animation: Apply an entrance animation to the whole widget.
  • Advanced: Configure spacing, background, border, custom CSS class/ID, and responsive visibility.

πŸ“„ Assignment Settings​

assignment_type​

  • Controls where the widget is shown:
    • On All Pages
    • No Pages
    • Selected Pages

assignment​

  • If you choose Selected Pages, assign the widget to specific menu items.

βœ… Final Notes​

The Progress Widget is a flexible way to visualize values against a target. With custom max values, prefix/suffix formatting, multiple value positions, and light/dark color support, it works equally well for skill bars, fundraising goals, or inventory levels.

note

For visitors who have enabled reduced motion in their operating system, the bars are displayed at their final value immediately, without animation.


πŸ’‘ Tips​

  • Use Max Value with a Prefix to display non-percentage values, e.g. Value: 3500, Max Value: 5000, Prefix: $, empty Suffix β†’ $3500.
  • Use the item-level Bar Color to highlight a specific bar while keeping the others on the widget's Bar Style.
  • Combine Striped + Animated Stripes for a more dynamic look.