re-svg-icons
re-svg-icons copied to clipboard
Reagent SVG icons
re-svg-icons
Free SVG icons as simple hiccup generating ClojureScript functions.
Contains MIT licensed icons ready to use in ClojureScript as simple SVG function component. Icons can also be modified by passing an optional map of options for the toplevel svg element (like dimensions or class).
Icon sources
The following MIT licensed icon sets are included in the library:
See all icons here.
Demo and usage
Basic usage
All icons are just functions that return SVG in hiccup format so they can be used as a reagent component directly.
[:div "download icon: " [feather-icons/download]]
All icons take optional options map. See demo/re_svg_icons/demo.cljs for sample: