Callouts

The callout (a.k.a. 'card') component provides an element that you can use to call out important information to your users by displaying a box with consistent styling.

Demos

Installation

Copy
rails g instrumental:callout

To insert a component into a view:

Copy
rails g instrumental:callout:insert

Customization

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

app/views/shared/components/_callout.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