<Head> ComponentA component used to define items in the <head> portion of a page. No live example will be shown here as it does not present any UI at all.
| Name | Description |
|---|---|
titlestring | Sets page name used by the browser. It may include branding such as the site name. |
descriptionstring | The page description. |
imagestring | Sets the share image |
twitterCardstring | Either 'summary_large_image' or 'summary'. Defaults to 'summary_large_image. |
pageNamestring | Sets the page name used externally without any branding such as the site name. |
siteNamestring | Sets the site name used externally. |
stylesheetarray | Defines one or more <link rel="stylesheet"> tags. Use it to add global styles to the page.Array members must be of the type below: |
stylesheet[x]object | Object contains nested props, see below: |
stylesheet[x].hrefstring | |
preloadarray | Defines one or more <link rel="preload"> tags. Use it when you’ll need a resource soon.Array members must be of the type below: |
preload[x]object | Object contains nested props, see below: |
preload[x].hrefstring | |
preload[x].asstring | |
preload[x].typestring | |
iconarray | Defines the favicon using one or more <link rel="icon"> tags.Array members must be of the type below: |
icon[x]object | Object contains nested props, see below: |
icon[x].hrefstring | |
icon[x].typestring | |
icon[x].sizesstring |