How is this CTA (call-to-action) created?

I've tried to find an App kit or Gatkeeper API to accomplish this but I've truned up nothing except for iOS EasyTipView.

Any help on a macOS equivelant would be appreciated.


ClarkW