There is a new web API that allows installed web apps to show a icon to warn the user about pending notifications.
Currently, this is only available for websites who sign up to the trial, and only on Windows and Mac OS using Google Chrome. (Meta has this enabled on Light and Dark Themes).
This is how the looks on Windows:
Before a notification
After a notification