Design inspiration

Popover

A small floating panel anchored to the button that opened it, often with an arrow, holding a few controls and closing when you click outside.