# Custom SVG Icons

The SvgIcon component allows you to display custom SVG icons (not available in the Kendo UI for Vue default icons set). You could provide the inner SVG elements as [`icon`](https://www.telerik.com/kendo-vue-ui/components/icons/api/svgiconprops#icon) to the SvgIcon. SVG element has default viewBox set to `0 0 24 24`. This can be customized with the [`viewBox`](https://www.telerik.com/kendo-vue-ui/components/icons/api/svgiconprops#viewBox) property.

Custom SVG icons also allow setting all predefined appearance options such as different sizes, theme colors and flipping.

> caution **Security:** The entire SVGIcon object passed to the [`icon`](https://www.telerik.com/kendo-vue-ui/components/icons/api/svgiconprops#icon) prop is rendered as raw SVG markup without sanitization. This includes its `content` property and every entry in `variants` selected through the [`variant`](https://www.telerik.com/kendo-vue-ui/components/icons/api/svgiconprops#variant) prop. Use only icon objects from a trusted source, such as `@progress/kendo-svg-icons`, or SVG markup that you author and control. Never pass user-supplied or otherwise untrusted content through `icon`, because malicious SVG markup can enable cross-site scripting.

The following example demonstrates how to use custom SVG icons.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/icons/svg-icons/customization/custom-icons/source.txt)

## Built-in SVG Icons customization

You can also customize the SVG icons which are already embedded into the components by replacing the values of the desired icons in the returned `kendoIcons` collection.

```tsx
  kendoIcons: {
    type: 'svg',
    icons: {
      bold: customBold,
      'chevron-down': starIcon,
    },
  }
```

In the example below you can see how to replace:

* the arrow icons of the DropDownList components with an icon taken from the *@progress/kendo-svg-icons* package and
* the Bold icon of the Editor's toolbar with a custom SVG object.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/icons/svg-icons/customization/built-in-icons/source.txt)

## Suggested Links

* [API Reference of the SVGIcon](https://www.telerik.com/kendo-vue-ui/components/icons/api/svgiconprops)
* [SVGIcon List](https://www.telerik.com/kendo-vue-ui/components/icons/svgicon/svgicon-list)
