Flash

Success

Payment method saved.

Attribute Type Documentation Default Value
id :string
flash :map %{}
title :string
Required kind * :atom
close_label :string "Dismiss notification"
icon :any

Lucide icon name shown before the message. :default picks one from

Read more Read less
:default

kind; nil renders no icon.

A flash is read at a glance, often while the eye is somewhere else on the page. The icon is what carries kind when colour cannot — for a colour-blind reader, and in any theme where success and warning sit close together.

rest :global
inner_block :slot
Payment method saved.