Select to view content in your preferred language

use of custom icon

1369
1
04-29-2022 11:53 AM
LefterisKoumis
Frequent Contributor

I understand that Calcite has a library of icons to use, however, they don't have the ones I need. I found some under the meridian library however, their use is limited to Esri Partners and it can be accessed only through the Esri partner community.

I would like to use icon only button with an image from a local file. I can use css along with the calcite-button, but I need to remove the outline from the calcite button and make my image to fit inside the button.

0 Kudos
1 Reply
BenElan
Esri Contributor

I suggest using calcite-action. You can add your own image in the default slot. Here is a codepen:

https://codepen.io/benesri/pen/yLvBwNN?editors=1010

0 Kudos