Tag Archives: Formatted URL

Lightning Formatted URL

Biswajeet   March 11, 2019   0 Comments

A lightning:formattedUrl component displays a read-only representation of a URL as a hyperlink with an href attribute. The link can be a relative or absolute URL.

Example:

1
2
3
<aura:component
    <lightning:formattedUrl value="https://www.google.com" tooltip="Google" label="Click to Open" target="_blank" />
</aura:component>

Output: