Socket
Book a DemoInstallSign in
Socket

uriji-icons-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uriji-icons-rails

2.6.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

uriji-icons-rails

Gem

An asset gemification of the uriji-icons font library

Installation

In your Gemfile include:

gem "uriji-icons-rails"

And then execute:

bundle install

Usage

In your application.css, include the css file:

/*
 *= require uriji-icons
 */

Then restart your webserver if it was previously running.

Sass Support

If you prefer SCSS, add this to your application.css.scss file:

@import "uriji-icons";

If you use the Sass indented syntax, add this to your application.css.sass file:

@import uriji-icons

Helpers

The uj_icon helper has been included. Some examples:

uj_icon "story"
# => <i class="uj-story"></i>

uj_icon "dream", text: "Dream"
# => <i class="uj-dream"></i> Dream

uj_icon "milestone", text: "Milestone", class: "hidden"
# => <i class="uj-milestone hidden"></i> Milestone

Icons

The source currently includes 99 icons, yo can see them in the Online Demo.

License

The MIT License

FAQs

Package last updated on 11 Nov 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.