Skip to content

lab2023/heroicons-rails

Repository files navigation

Heroicons::Rails

Usage

$ rails g heroicons:install
<%= render_icon :x_mark %>
<%= render_icon :x_mark, class: "bg-red-500" %>
<%= render_icon :x_mark, type: :mini, class: "bg-red-500" %>

Installation

Add this line to your application's Gemfile:

gem "heroicons-rails", github: "lab2023/heroicons-rails", branch: "main"

And then execute:

$ bundle

Contributing

Once you've made your great commits:

  1. Fork Template
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create a Pull Request from your branch
  5. That's it!

Credits

lab2023

License

The gem is available as open source under the terms of the MIT License. Copyright © 2013-2024 lab2023 - information technologies