The project is in a healthy, maintained state
Phlex port of Iconoir
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Phlex Iconoir

Gem Version

This is a port of Iconoir to Phlex

Instructions

Installation

Add the gem to your application:

bundle add phlex-icons-iconoir

Usage

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)

Configuration

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

Special Thank You

This gem would not be possible without the following projects: