LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Tutorial
    • Avonni Components App
      • Accessing the App
      • Folders
      • Templates
      • Version management
    • Understanding The Essentials
      • Component Builder
      • Component Visibility
      • Target Page Object
      • Using Variables and Component Data
      • Publishing your Dynamic Components
      • Dynamic vs. Flow Components
    • AppExchange Listing Page
    • Installation & Licenses Management
  • Tutorials
    • Projects
    • Components
      • Calendar
        • How to Create Events Quickly by Dragging
        • How to Add an Edit Action to Calendar Events
        • How to Add a New Event Button to the Calendar Header
        • How to Customize the Right-Click Menu
        • How to Reschedule Events with Drag and Drop
      • Columns
        • Creating a Responsive 3-Column Layout
      • Data Table
        • How to customize Data Table style
        • How to make a field editable
        • How to add clickable buttons
        • How to color-code badges
        • How to export data
        • How to configure search
        • How to set columns visibility
        • How to Conditionally Color Data Table Cells
      • Kanban
        • Saving Changes on Drag-and-Drop
      • List
      • Metric
      • Record Detail
        • Saving Changes
    • Interactions
      • How to create an interaction to navigate to an object page
      • How to create an interaction to navigate to a record page
      • How to Pass Multiple Selected Records from a Dynamic Component to a Screen Flow
    • Reactive Components
      • Reactive Map and Data Table
      • Master-Detail Relationship with Data Tables
      • Vertical Tabs with Reactive Data Table
    • Style
      • How do you add space or a break between sections or fields?
    • Tips and Tricks
      • Using the Dynamic Component component
  • Component Builder
    • Overview
    • Configuring Components
      • Properties
      • Fields
      • Style
    • Data & Interactions
      • Data Sources
        • Manual
        • Picklist
      • Resources
        • Constant
        • Formula
        • Nested Queries
        • Query
        • Variable
      • Interactions
        • CRUD from Record Variable
        • Download
        • Execute Flow
        • Navigate
        • On Load
        • Open Alert Modal
        • Open Confirm
        • Open Dynamic Component Dialog
        • Open Dynamic Component Panel
        • Open Flow Panel
        • Open Flow Dialog
        • Show Toast
    • Advanced Features
      • Copy and Paste
      • Debug Panel
      • Keyboard Shortcut
      • Undo / Redo
  • Components
    • Explore All Components
    • Accordion
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Badge
    • Barcode
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Button Stateful
    • Calendar
    • Camera 🆕
    • Card
    • Carousel
    • Chart
    • Checkbox
    • Checkbox Button
    • Chip Container
    • Color Picker
    • Columns
    • Combobox
    • Container
    • Counter
    • Data LWC Container
    • Data Table
    • Date Picker
    • Date
    • Date Range
    • Dual Listbox
    • Dynamic Component
    • File Upload
    • Flow
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Icon
    • Icon Picker
    • Illustration
    • Image
    • Input Color
    • Input Date
    • Input Pen (Signature)
    • Input Text
    • Kanban
    • List
    • LWC Container
    • Map
    • Media Object
    • Metric
    • PDF Viewer
    • Pivot Table
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Rating
    • Record Detail
    • Relationship Graph
    • Scope Notification
    • Section
    • Separator
    • Slider
    • Status
    • Tabbed Container
    • Tabs
    • Text
    • Text Area
    • Timeline
    • Toggle
    • Tree
    • Vertical Visual Picker
    • Video Player
    • Visual Picker
    • Visual Picker Link
  • Help
    • Contact Support
    • Security
    • Performance Guide
    • Deployment Process
    • Release Notes
    • Report Bugs
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Setting Up Your Barcode
  • What Determines Your Progress Bar's Value?
  • Choosing a Variant and a Theme
  • Adding an avatar
  • Adding Interactions
  • Customizing Your Progress Bar's Look
  • How to Style Your Progress Bar
  • How to Apply a Gradient to Your Progress Bar

Was this helpful?

  1. Components

Progress Bar

Last updated 2 months ago

Was this helpful?

Setting Up Your Barcode

What Determines Your Progress Bar's Value?

You have several options for how the progress bar displays its progress:

Determining Your Progress Bar's Value

You can set the value displayed by the Progress Bar component using one of the following methods:

Option
Description
Best For

Mapped

Directly link the progress bar's value to a single Salesforce field or a variable.

Simple scenarios where one value represents progress (e.g., a percentage field, number of tasks).

Advanced (Formula)

Define a custom formula to calculate the progress value, potentially combining multiple fields or variables.

Complex scenarios needing custom calculations or weighted progress across different criteria (e.g., average score, weighted tasks).

Query

Run a query to calculate or retrieve the progress value, often using aggregate functions (AVG, SUM, MAX, etc.).

Aggregating data across multiple records to determine progress (e.g., overall project completion based on individual task statuses).

Example Scenarios

  • Sales Goal Progress:

    • Mapped: Link the bar to an "Amount Closed" field.

    • Advanced: Calculate progress based on "Amount Closed" divided by "Quota."

    • Query: Average the "Percent Complete" of all Opportunities in a specific stage.

  • Customer Satisfaction:

    • Mapped: Display the value from a "Customer Satisfaction Score" field.

    • Advanced: Combine multiple survey response fields to create a composite score.

    • Query: Find the average rating across all customer reviews for a product.

Choosing the Right Option

How do you decide which method to use for setting your progress bar's value? Consider these points:

  • For simple progress tracking: If your progress is represented by a single field or variable (like a percentage complete field), the Mapped option is the quickest and most straightforward choice.

  • For custom calculations: If you need to combine multiple fields, apply specific weighting, or use custom logic to determine the progress value, use the Advanced (Formula) option.

  • For aggregating data across records: If your progress value needs to be calculated by summarizing data from multiple records (like averaging task statuses for an overall project), the Query option offers the most flexibility and power

Choosing a Variant and a Theme

Variant and Theme attributes define the appearance of the Progress Bar indicator. The Variant lets you choose from Base to Circular.

Adding an avatar

Using the attribute, an avatar can be added next to the Progress Bar, either on the left or right side. The avatar can be an icon from the Lightning Design System library or a custom image by uploading a custom image to the Image attribute.

Progress Bar with Avatar


Adding Interactions

No interactions are available.


Customizing Your Progress Bar's Look

The Styles panel lets you tailor your progress bar's appearance to match your design. Here's what you can customize:

  • Size: Adjust the overall size of the progress bar (small, medium, large).

  • Color Variants:

    • Base: The standard color scheme.

    • Alt Inverse: High-contrast for dark backgrounds.

    • Error: Indicates a problem or failure.

    • Info: Neutral color for informational displays.

    • Inverse: Light bar on a dark background.

    • Offline: Shows when the bar is not actively updating.

    • Success: Represents a positive outcome.

    • Warning: Indicates caution or potential issues.

  • Specific Elements:

    • Value: Change the style of the numerical value displayed.

    • Label: Customize the appearance of any text labels.

How to Style Your Progress Bar

  1. Open the Style tab for your progress bar component.

  2. Choose the attributes you want to customize.

  3. Select your desired colors, fonts, and sizes.

How to Apply a Gradient to Your Progress Bar

The Progress Indicator component lets you customize the appearance of your progress bar using gradients.

Here's how:

  1. Locate the 'Completed color' Setting: Find the "Bar" style section in the Style panel. You'll see the "Completed color" attribute.

  2. Apply Your Gradient:

    • Gradient Angle: Choose the direction of your gradient.

    • Gradient Colors: Define the colors you want in your gradient.

    • Color Positions: Indicate where each color should start and stop using percentages (%).

Example: If you want a gradient that transitions from red (0%) to yellow (50%) to green (100%), you will set those colors at their corresponding percentage positions

Base VS Circular Variant

The theme attribute lets you define a specific theme for the Progress Theme. Styling settings for a theme can be overridden by using .

For detailed step-by-step instructions and advanced styling options, refer to our .

the Style Panel
Styling Guide