+ Start a Discussion
Shubham Sinha 49Shubham Sinha 49 

How to create Left arrow back button in lightning component?

I need to create a left arrow back button and when someone clicks this back button ,it should perform some action. Is there any out of the box functionality of lightning button with left arrow key. Please help me .  Refer the image with the first card.  <        Manage ConsentUser-added image

 
Best Answer chosen by Shubham Sinha 49
Shubham_KumarShubham_Kumar
Hi Shubham Sinha
You can use utility icons inside a button like this
<button class="slds-button" onclick="{!c.doYourAction}"> 
   <lightning:icon iconName="utility:chevronleft" size="medium" alternativeText="left" />
</button>

Do let me know if you have any query

P.S: Mark this as the best answer if this helped.

Thanks 
Shubham Kumar

All Answers

Shubham_KumarShubham_Kumar
Hi Shubham Sinha
You can use utility icons inside a button like this
<button class="slds-button" onclick="{!c.doYourAction}"> 
   <lightning:icon iconName="utility:chevronleft" size="medium" alternativeText="left" />
</button>

Do let me know if you have any query

P.S: Mark this as the best answer if this helped.

Thanks 
Shubham Kumar

This was selected as the best answer
kaushal sharma 24kaushal sharma 24
use google extension

9xmovies (https://realtimenews.org.in/9xmovies/)
lakhwinder singh 9lakhwinder singh 9
Ethnic World Surat No#1 Wholesaler In India For Exporting wholesale sarees online cash on delviery (https://theethnicworld.com/saree/catalog) Worldwide