New to Kendo UI for Angular? Start a free 30-day trial

Appearance

The SVGIcon provides various styling options that are related to its appearance.

Supported SVG Icons

The SVGIcon provides full support for the predefined Kendo UI for Angular SVG icons.

Example
View Source
Edit In Stackblitz  
Change Theme:

Theme Color

In terms of the current theme, you can apply predefined theme colors to the SVGIcon by using the themeColor property. To apply custom colors to the SVGIcon, style it with CSS.

The available themeColor values are:

  • inherit (Default)Applies coloring based on the current color.
  • primaryApplies coloring based on the primary theme color.
  • secondaryApplies coloring based on the secondary theme color.
  • tertiary Applies coloring based on the tertiary theme color.
  • infoApplies coloring based on the information theme color.
  • success Applies coloring based on the success theme color.
  • warning Applies coloring based on the warning theme color.
  • error Applies coloring based on the error theme color.
  • dark Applies coloring based on the dark theme color.
  • light Applies coloring based on the light theme color.
  • inverse Applies coloring based on the inverse theme color.
Example
View Source
Edit In Stackblitz  
Change Theme:

Size

You can apply predefined size options to the SVGIcon by using the size property. To apply custom sizes to the SVGIcon, style it with CSS.

The available size values are:

  • default (Default)Font-size: 16px; Width: 16px; Height: 16px.
  • xsmallFont-size: 8px; Width: 8px; Height: 8px.
  • smallFont-size: 12px; Width: 12px; Height: 12px.
  • mediumFont-size: 32px; Width: 32px; Height: 32px.
  • largeFont-size: 48px; Width: 48px; Height: 48px.
  • xlargeFont-size: 64px; Width: 64px; Height: 64px.
Example
View Source
Edit In Stackblitz  
Change Theme:

Orientation

The SVGIcon allows you to invert it through an axis in different directions by using the flip property.

The available flip values are:

  • default (Default)No flipping is applied.
  • horizontalFlips the icon in horizontal direction.
  • verticalFlips the icon in vertical direction.
  • bothFlips the icon in both horizontal and vertical directions.
Example
View Source
Edit In Stackblitz  
Change Theme: