The icons component from Instrumental Components provides an easy way to implement hundreds of icons into your Rails application using a simple helper method.
It wraps the Lucide icon set and provides a simple helper method with customization options built in.
rails g instrumental:icons
To insert a component into a view:
rails g instrumental:icons:insert
Insert an icon into a view using this helper method:
<%= icon("rocket") %>
Find all of the options for the icon helper method in this file:
app/helpers/icons_helper.rb
The customization options include:
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.