Logo component

The logo component provides a dynamic partial for displaying your logo in a consistent way throughout your Rails application.

It features the ability to have a simple and clean text-based logo, or you can display your logo image with both light and dark modes.

Installation

Copy
rails g instrumental:logo

To insert a logo into a view:

Copy
rails g instrumental:logo:insert

Customization

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

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