# `PhoenixKitWeb.Components.Core.PhoenixKitFavicon`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.207/lib/phoenix_kit_web/components/core/phoenix_kit_favicon.ex#L1)

Renders a `<link rel="icon">` tag driven by the PhoenixKit `site_icon_file_uuid`
setting.

Parent applications should include this component inside their root layout's
`<head>` so the site icon uploaded via PhoenixKit Settings actually reaches
the browser tab. PhoenixKit's standalone admin layout already includes it.

If the site icon is unset it falls back to the project logo
(`auth_logo_file_uuid`) — the two branding images default to each other. If
neither is set, the component renders nothing so the parent app's static
favicon keeps working.

## Usage

    <head>
      ...
      <PhoenixKitWeb.Components.Core.PhoenixKitFavicon.phoenix_kit_favicon />
    </head>

# `phoenix_kit_favicon`

## Attributes

* `variant` (`:string`) - Storage variant name to serve as favicon (defaults to `thumbnail`). Defaults to `"thumbnail"`.
* `type` (`:string`) - MIME type emitted on the <link> tag. Defaults to `"image/png"`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
