Skip to content

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

License

Notifications You must be signed in to change notification settings

scrintal/heroicons-reagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published