Docs

Cinder UI

Feedback.flash_group

Server-rendered

Shows the flash group with standard titles and content.

Drop-in replacement for the Phoenix generated flash_group/1 core component. Includes the same client-error and server-error reconnection notices.

To replace the default, remove flash_group/1 from your core_components.ex.

Flash group example 1

  <.flash_group flash={%{"info" =>> "Saved", "error" => "Unable to complete request"}} />

Attributes

Name Type Default Values Global Includes
flash Required :map
id :string "flash-group"
rest :global

Slots

No slots declared.