Bootstrap Svg Icons
Ready-to-use Rails 7 inline-svg bootstrap icons with no configurations or external js/css dependencies.
Installation
Add this line to your application's Gemfile:
gem 'bootstrap-svg-icons'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install bootstrap-svg-icons
Usage
bi_icon(ICON_NAME, CLASS_NAME)
ICON_NAME (required)
CLASS_NAME (optional)
Check the list of available icons
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/amed/bootstrap-svg-icons.
Development
run ruby update_icons.rb
to update icons list.
License
The gem is available as open source under the terms of the MIT License.