Icon Button

You can enhance the meaning of the context by adding an icon to the Button either through the img element or over a background icon, which is usually a sprite.

According to web standards, the use of background images is better, because the icon is a decoration and does not represent structural content. The Button supports three options which help configure iconsicon, spriteCssClass, and imageUrl. You can apply only one at a time.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?