This is a port of Iconoir to Phlex
Add the gem to your application:
bundle add phlex-icons-iconoir
Simply render the desired icon in your views. The name of the icon is the same as in the Iconoir library, just in pascal case.
render Phlex::Icons::Iconoir::Rocket.new(class: "size-8", stroke_width: 1.5)
Add the following to your initializers
Phlex::Icons::Iconoir.configure do |config|
config.default_variant = :regular
config.default_class = "size-6"
config.default_height = "24"
config.default_width = "24"
config.default_stroke_width = "2"
end
This gem would not be possible without the following projects: