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

Stacked alert banners for pending organization invitations.

Rendered by LayoutWrapper when `pk_pending_invitations` is assigned
via `PhoenixKitWeb.Hooks.InvitationHook`.

Events are forwarded to the parent LiveView which must have the
InvitationHook attached to handle `accept_invitation` / `decline_invitation`.

# `invitation_banners`

Renders a stacked list of invitation banners, one per pending invitation.

## Attributes

- `invitations` — list of `OrganizationInvitation` structs with `:organization` preloaded

## Attributes

* `invitations` (`:list`) - Defaults to `[]`.

---

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