Recreate elements of lovelace-xiaomi-vacuum-map-card

Hi all, hoping someone can help me, I’m looking to crate an icon that has a dropdown selection option the same as the lovelace xiaomi vacuum map card, example:
image

I can see the details in the Github but wanted to see if anyone has been able to recreate this as I would like to use it in other parts of my dashboard and not a vacuum card.

Github link: GitHub - PiotrMachowski/lovelace-xiaomi-vacuum-map-card: This card provides a user-friendly way to fully control map-based vacuums in Home Assistant. Supported brands include Xiaomi (Roborock/Viomi/Dreame/Roidmi/Valetudo/Valetudo RE), Neato, Wyze, Roomba, Ecovacs (and probably more).