A library containing all the SVGs from heroicons converted into reagent components.
Add the dependency to your deps.edn
from Clojars:
com.scrintal/heroicons-reagent {:mvn/version "2.1.5"}
or directly from GitHub:
com.scrintal/heroicons-reagent {:git/url "https://github.com/scrintal/heroicons-reagent"
:git/tag "v2.1.5"
:git/sha "7d8a907"}
or to your shadow-cljs.edn
:
[com.scrintal/heroicons-reagent "2.1.5"]
(ns se.example
(:require [com.scrintal.heroicons.solid.academic-cap :as academic-cap]))
(defn app []
[:div
[academic-cap/render]])
To build a new version matching the latest version of the Heroicons, simply run:
clj -T:build build
This will download the latest version of Heroicons, build a new version, commit the changes, and tag the commit with the same version number as the Heroicons.
To test the newly built library locally, use the following command:
clj -T:build install
This will install the latest version to your local Maven repository.
After building a new version and testing it locally by installing it, the following command can be run to deploy the library to Clojars:
clj -T:build deploy
This library is MIT licensed same as heroicons.