Which icon to use for an "open link" button

I build an app that can open web pages in the default browser. It uses libadwaita.

I am unable to find the “open link” icon I see all over the place in GNOME apps like the “Software” app for example.
It looks like this:

I currently use web-browser-symbolic which is deprecated as I found out (I don’t remember where I read this).

Is there another suggestion for an “open in browser” button?
Can someone tell how the open link icon I mentioned above from the “Software” app is called or how to use it?

Thanks, Tobias

Have you only look at the symbolic icons provided by the system yet?

In this case, I’d recommend you look in the Icon Library as well, as there you can find more icons for specific purposes. It also provides you with instructions on how to add them to your application.

Used the icon library and found the external-link-symbolic. This is the icon I searched for above. Thanks.

Can someone tell my why I cannot use this icon? It shows a “missing icon” symbol:

I checked using Gnome-Tweaks, that I do not use a theme. I use libadwaita (default) icons.

Maybe I need to use newer GTK or libadwaita. When was this icon introduced and how can I find out?

Icons can be provided in two ways: By an system icon theme or as an application resource.

The icon in question is likely not part of the icon theme. That’s true for many icons nowadays, as it often makes more sense to just let application bundle the icons they need, rather than to maintain a very large and complex icon theme for all applications.

So, what you need to do is add the icon to your application resource.

If you click on the icon in the Icon Library app, it should provide you with some instructions on how to add the icon to your application.

Thanks for the clarification. I’ll try that.

edit: I read the description in the app btw, but I thought copying it over is redundant and on a gnome desktop that should work without duplicating icons into my app (just a little feedback).