# `PhoenixKitWeb.Components.AuthPageWrapper`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.165/lib/phoenix_kit_web/components/auth_page_wrapper.ex#L1)

Wrapper component for all auth pages (login, registration, etc.).

Reads branding settings (logo, background image/color) from Settings
and renders a consistent layout with optional custom branding.
Supports separate background images for desktop and mobile viewports.

# `auth_page_wrapper`

## Attributes

* `flash` (`:map`) (required)
* `phoenix_kit_current_scope` (`:any`) - Defaults to `nil`.
* `page_title` (`:string`) (required)
* `current_path` (`:string`) - Defaults to `nil`.
* `dev_mailbox_message` (`:string`) - If set, renders <.dev_mailbox_notice message={...} /> below the card in local-mailer dev mode. Defaults to `nil`.
## Slots

* `inner_block` (required)

---

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