Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iconify-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconify-rails

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Easy to use Icons for Rails

This gem provides an easy integration with the icons from iconify.

Take any of the icons from their json icon sets.

They can be previewed at iconify.design

Installation

Grab a json file from iconify.

./bin/bundle add iconify-rails
./bin/rails iconify:install

Now setup the location of the json, and the preferred variant if there is one.

Iconify.configure do |config|
  config.file = "vendor/icons/heroicons.json"
  config.suffix = :suffix
end

Usage

In any view just use ye olde icon helper.

<%= icon(:house, class: 'size-6') %>

License

iconify-rails is released under the MIT License.

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc