Avo::Heroicons

avo-herocions was built as a dependency for Avo, is a Ruby gem designed to seamlessly integrate Heroicons SVGs into Avo.

Usage

Prepend the heroicons namespace and then the variant outline, solid, mini, or micro and then the icon name.

<%= svg "heroicons/outline/academic-cap.svg" %>
# in the menu builder
# config/initializers/avo.rb
Avo.configure do |config|
  config.main_menu = -> {
    section "Store", icon: "heroicons/outline/academic-cap" do
      resource Avo::Resources::Store
    end
  end
end