Flash message

Display brief notifications to users.

To use the Flash Message component, you need to render it in your layout
<%= render Ui::Flash::Component.new %>

Example

<!-- Just add in rails controller -->

<% flash.now[:notice] = "This is a notice flash message." %>
<% flash.now[:alert] = "This is an alert flash message." %>