Get started   Components   Icons   What's New
  Get a License
⚡️New Release! Material X components for Angular⚡ view demo
Add custom icons to SetproductIcons

The SetproductIcons API enables you to add your own icons. Use the following call to add your icon to our library in your application:

SetproductIcons.add({"custom-icon-name": "<svg ... >[your SVG code goes here]</svg>"});

This API method will assign your SVG markup to the named shape it is sent. The icon can then be used in your application like any other icon in the Setproduct Icons library.

<set-icon shape="my-custom-icon" size="24"></set-icon>