Activity › Forums › Salesforce® Discussions › how to use progress bar on lightning component?
-
how to use progress bar on lightning component?
Posted by Prachi on August 20, 2018 at 1:29 PMhow to use progress bar on lightning component?
madhulika shah replied 7 years, 10 months ago 3 Members · 2 Replies -
2 Replies
-
Hi Prachi,
A progress bar component communicates to the user the progress of a particular process.
Using Lightning component tag:-
<lightning:progressBar value=”50″ size=”large” />
Using SLDS tag:-
<div class=”slds-progress-bar” aria-valuemin=”0″ aria-valuemax=”100″ aria-valuenow=”25″ role=”progressbar”>
<span class=”slds-progress-bar__value” style=”width: 25%;”>
<span class=”slds-assistive-text”>Progress: 25%</span>
</span>
</div>Thanks.
- [adinserter block='9']
-
Hi Prachi,
A progress bar component communicates to the user the progress of a particular process.
Here are some developer guidelines:
<div class=”slds-progress-bar” aria-valuemin=”0″ aria-valuemax=”100″ aria-valuenow=”25″ role=”progressbar”>
<span class=”slds-progress-bar__value” style=”width: 25%;”>
<span class=”slds-assistive-text”>Progress: 25%</span>
</span>
</div>To know more about its classes and categories, please refer to the link provided:
https://www.lightningdesignsystem.com/components/progress-bar/
Log In to reply.