Activity Forums Salesforce® Discussions How do I add icons to Visualforce page?

  • Anjali

    Member
    September 11, 2020 at 2:33 pm
  • Shweta

    Member
    September 11, 2020 at 2:59 pm

    Assuming you've already setup the page for SLDS styling:

    <svg class="slds-icon slds-icon-text-default" aria-hidden="true">
    <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#announcement"></use>
    </svg>
    Description of icon when needed

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos