• Components
    • Barcodes
    • Buttonsupdated
    • Charts
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editorupdated
    • Excel Export
    • File Saver
    • Filter
    • Ganttupdated
    • Gauges
    • Gridupdated
    • Iconsupdated
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Mapbeta
    • Menusupdated
    • Navigationupdated
    • Notification
    • Pagerupdated
    • PDF Export
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollViewupdated
    • Sortableupdated
    • ToolBarupdated
    • Tooltipsupdated
    • TreeList
    • TreeView
    • Typography
    • Uploadsupdated
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

Icon Button

You can enhance the textual content of the Button by displaying an image, predefined or custom icon, and SVG icons to the component.

With a view to the web standards, it is better to use a background image because icons are used for decoration and not for representing structural content.

The Button provides the following options to set an image or icon inside the component:

Font Icon Button

To display a font icon inside the Button, use the list of font icons supported by Kendo UI for Angular and set the icon property of the component to the necessary icon name.

<kendo-button icon="calendar">Events</kendo-button>

The following example demonstrates how to set an icon inside the Button.

Example
View Source
Change Theme:

SVG Icon Button

To display an SVG icon inside the Button:

  1. Use the ICON_SETTINGS token of the Icons package and set the icon type to svg. For more information, go to the topic about icon settings.

  2. Set the svgIcon property of the Button to the necessary SVGIcon. For details, go to the list of SVG icons supported by Kendo UI for Angular.

    <kendo-button [svgIcon]="svgCart">Cart</kendo-button>
    import { cartIcon, SVGIcon } from '@progress/kendo-svg-icons';
    
    public svgCart: SVGIcon = cartIcon;

The following example demonstrates how to set an SVG icon inside the Button.

Example
View Source
Change Theme:

Using the Icon Class

To display an icon inside the component, you can also set the iconClass property of the Button to CSS classes. This approach is especially useful when you want to consume third-party icon libraries like FontAwesome.

<kendo-button iconClass="fa fa-taxi">Take a Taxi</kendo-button>

The following example demonstrates how to display FontAwesome icons inside the Button.

Example
View Source
Change Theme:

Using an Image URL

To display an image from a URL link inside the Button, set the imageUrl property of the component.

<kendo-button imageUrl="https://demos.telerik.com/kendo-ui/content/shared/icons/sports/golf.png" >Take a Taxi</kendo-button>

The following example demonstrates the imageUrl property of the Button in action.

Example
View Source
Change Theme: