Link
Edit this pageThe Link component establishes a connection between the page and an external resource. Commonly, this is used for linking stylesheets and other associations.
This component renders a link
element within the document's <head>
.
Usage
Adding a favicon
To add a favicon in an app, <Link>
can be used to point to the asset:
Using an emoji as a favicon
To use an emoji as a favicon, first create a function that returns a data URI containing an SVG image:
Following this, include the emoji as an argument within that function in the href
property of the Link component: