Hi @Dirk_Vandervoort
We're looking into it to provide an easy way to use the Calcite icons in the Expand widget.
Meanwhile, you can try out this workaround to use a custom svg:
When adding the Expand widget:
const bgExpand = new Expand({
view: view,
content: basemapGallery,
expandIconClass: "custom-keyboard-icon"
});
And in CSS:
span.esri-collapse__icon.custom-keyboard-icon {
display: block;
width: 16px;
height: 16px;
content: url(https://www1.plurib.us/1shot/2007/grapefruit/grapefruit_final.svg);
}
Sample app: https://codepen.io/gsoosalu/pen/rNZLGqL
Note: as this is a workaround, the CSS classnames may change in the future.