Converts the full heroicons set for easy use from Clojure and ClojureScript as .cljc
files.
Currently we include Hiccup (for Reagent et. al.) and Fulcro definitions.
Using Tailwind classes.
For Fulcro,
(ns my-file
(require [com.backminds.heroicons-clojure.fulcro.outline.academic-cap :refer [academic-cap]]))
(dom/div {:classes ["h-5" "w-5"]}
academic-cap)
For Reagent,
(ns my-file
(require [com.backminds.heroicons-clojure.reagent.outline.academic-cap :refer [academic-cap]]))
[:div {:class ["h-5" "w-5"]}
academic-cap)
Clone heroicons into heroicons
and run ./build.clj
.
Requires babashka.
The heroicons set is offered under its original license.
For simplicity, heroicons-clojure
uses the same license.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close