Note: InDesign is used as an example, but the same methodology can be applied for most of the available design systems.
A hyperlink can be created for texts, graphical objects or for frames. The purpose of hyperlinks is to open content based on the metadata added to the hyperlink´s URL.
URL field is used to add metadata about each type of an interactive content. The metadata controls the type and behaviour of the interactive content.
Reference: for more details, check Adobe- How to add hyperlink.
Shown below are different types of icons used in hyperlinks.
In the above example, the system default icon is displayed.
In the above example, the Facebook icon is shown instead of the system default icon.
In the above example, the icon parameter is removed from the metadata to make the gallery tag invisible.