Flash messages

The flash component provides temporary notification messages that inform users about the success, warning, or error status of their actions.

Instrumental Components' flash system displays flash messages in an unobtrusive way, by making them appear in the bottom-left corner of screen, then fading them away after a few seconds.

Installation

Copy
rails g instrumental:flash

To insert a component into a view:

Copy
rails g instrumental:flash:insert

Customization

Find all of your customization options (via local variables) in this file:

app/views/shared/components/_flash.html.erb

Instrumental Components

I created Instrumental Components to make designing and building professional apps with Ruby on Rails easy, fast, and fun. I use it on all of my projects and I hope it helps you build something great.

Brian Casel
Brian Casel
Creator of Instrumental Components
Learn more Send me a question or request