Skip to content

hyperfiddle/heroicons-electric

Repository files navigation

Clojars Project

Heroicons in Electric Clojure

Provides heroicons.electric for Electric Clojure, just like Heroicons provides @heroicons/react and @heroicons/vue for JavaScript.

Javascript:

import {ChevronUpDown} from "@heroicons/react/24/outline";

Electric Clojure:

(ns my-view
  (:require [hyperfiddle.electric3 :as e]
            [hyperfiddle.electric-dom3 :as dom]
            [heroicons.electric3.v24.outline :refer [chevron-up-down]]))

(e/defn MyIcon []
  (chevron-up-down (dom/props {:style {:width "1em"}})))

Build steps

  • git submodule init --recursive
  • clj -X:build build
  • env CLOJARS_USERNAME=username CLOJARS_PASSWORD=clojar-token clj -X:build deploy

About

Heroicons for Electric Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published