Liking cljdoc? Tell your friends :D

heroicons-reagent

Clojars Project

A library containing all the SVGs from heroicons converted into reagent components.

Installation

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"]

Usage

(ns se.example
  (:require [com.scrintal.heroicons.solid.academic-cap :as academic-cap]))

(defn app []
  [:div
   [academic-cap/render]])

Development

Building

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.

Install Locally

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.

Deploying to Clojars

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

License

This library is MIT licensed same as heroicons.

Can you improve this documentation? These fine people already did:
Furkan Bayraktar & Sigge
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close