Phoenix LiveView Heroicons View Source

A collection of Phoenix LiveView Components for all SVG Heroicons

Installation

def deps do
  [
    {:heroicons_liveview, "~> 0.3.0"}
  ]
end

Usage

using default classes

<Heroicons.Solid.archive/>

specifying classes

<Heroicons.Solid.archive class="h-10 w-10" />

using render method

<Heroicons.Solid.render icon: :archive class="h-10 w-10" />

Regenerate icons

clone down the latest src folder from the Heroicons github repo

svn export https://github.com/tailwindlabs/heroicons/trunk/optimized priv/heroicons/src --force;
mix heroicons.generate;

Authors

Rocket Insights

Jon Principe