2

I'm using the Lightning vertical navigation component, and I want to use a custom icon for each menu item. In the Component Reference documentation there's an example for referencing icons that are built into Salesforce:

<lightning:verticalNavigationSection label="Reports">
  <lightning:verticalNavigationItemIcon
       label="Recent"
       name="reports_recent"
       iconName="utility:clock" />

I'd like to use custom icons that my organization has developed. Is there a way to reference non-Salesforce icons in the vertical navigation component the same way?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.