# `Phoenix.Flash`
[🔗](https://github.com/phoenixframework/phoenix/blob/v1.8.12/lib/phoenix/flash.ex#L1)

Provides shared flash access.

# `get`

Gets the key from the map of flash data.

## Examples

```heex
<div id="info"><%= Phoenix.Flash.get(@flash, :info) %></div>
<div id="error"><%= Phoenix.Flash.get(@flash, :error) %></div>
```

---

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