
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
The font-ionicons-rails is the best gem made for ionicons and provides the ionicons web fonts and stylesheets as a Rails engine for use with the asset pipeline.
Add this to your Gemfile:
gem "font-ionicons-rails"
or
gem "font-ionicons-rails", git: 'https://github.com/ricardoemerson/font-ionicons-rails.git'
and run bundle install
.
In your application.css
, include the css file:
/*
*= require ionicons
*/
Then restart your webserver if it was previously running.
If you prefer SCSS, add this to yourapplication.css.scss
file:
@import "ionicons";
If you use the Sass indented syntax, add this to your application.css.sass
file:
@import ionicons
There are also some helpers (ion_icon
) for improve use.
ion_icon "camera"
# => <i class="ion-camera"></i>
ion_icon "camera", text: "Take a photo"
# => <i class="ion-camera"></i> Take a photo
ion_icon "chevron-right", text: "Get started", right: true
# => Get started <i class="ion-chevron-right"></i>
content_tag(:li, ion_icon("checkmark-round", text: "Bulleted list item"))
# => <li><i class="ion-checkmark-round"></i> Bulleted list item</li>
The font-ionicons-rails was inspired by font-awesome-rails made by David Bock.
FAQs
Unknown package
We found that font-ionicons-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.