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.3"}
or directly from GitHub:
com.scrintal/heroicons-reagent {:git/url "https://github.com/scrintal/heroicons-reagent"
:git/tag "v2.1.3"
:git/sha "03942a0"}
or to your shadow-cljs.edn
:
[com.scrintal/heroicons-reagent "2.1.3"]
(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.
Can you improve this documentation? These fine people already did:
Furkan Bayraktar & SiggeEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close