OOjs UI has something called PopupWidget that looks just like the mockup  when using the MediaWiki theme, but currently doesn't support "gravity" options or color variants.



--
-- Matma Rex