Skip to content

Instantly share code, notes, and snippets.

@simpluslabs simpluslabs/iconExample

Last active Nov 13, 2018
Embed
What would you like to do?
<aura:component >
<p>
Lightning button with icon (Utility)<lightning:button label="Neutral" title="Neutral action" iconName="utility:down" onclick="{! c.handleClick }"/>
</p>
<p>
Lightning icon (Custom) <lightning:icon iconName="custom:custom20" size="x-small" alternativeText="Approved" />
</p>
<br/>
<p>
Lightning icon (Action) <lightning:icon iconName="action:add_file" size="x-small" alternativeText="Approved" />
</p>
<br/>
<p>
Lightning icon (Doctype) <lightning:icon iconName="doctype:flash" size="x-small" alternativeText="Approved" />
</p>
<br/>
<p>
Lightning icon (Standard) <lightning:icon iconName="standard:account" size="x-small" alternativeText="Approved" />
</p>
<br/>
<p>
Lightning buttonIcon <lightning:buttonIcon iconName="utility:settings" variant="bare" onclick="{! c.handleClick }" alternativeText="Settings" />
</p>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.