$ 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" %>
Add this line to your application's Gemfile:
gem "heroicons-rails", github: "lab2023/heroicons-rails", branch: "main"
And then execute:
$ bundle
Once you've made your great commits:
- Fork Template
- Create a topic branch -
git checkout -b my_branch
- Push to your branch -
git push origin my_branch
- Create a Pull Request from your branch
- That's it!
- heroicons-rails is maintained and funded by lab2023 - information technologies
- Thank you to all the contributors!
- This gem uses Heroicons
- The names and logos for lab2023 are trademarks of lab2023, inc.
The gem is available as open source under the terms of the MIT License. Copyright © 2013-2024 lab2023 - information technologies