In web appbuilder, the widgets including the Basemap have the close button. In ArcGIS JS API 4.x there is no property for close button. One option is to use the expand widget which doesn't fit my needs since he basemap icon resides at a horizontal menu. So, the only option is to place the basemap gallery within a panel with the dismissible property?
Basemap widget in WAB
The JSAPI doesn't have anything other than Expand for something like this. This is more of an app level utility. I don't think calcite components have a close button either, but you can put some together with them.