Liking cljdoc? Tell your friends :D

Pink Gorilla UI GitHub Actions status |pink-gorilla/gorilla-uiCodecov ProjectClojars Project

  • UI components targetting visualisation.
  • to be used from reagent
  • renderers can use npm (js/react) dependencies, or maven (cljs) dependencies

Demo

Run npm install to download npm dependencies.

Run lein demo to run the demo app. This will run a web server at port 8000 with lots of examples of ui components.

Run lein embed to see how to embed pinkie ui components in ordinary html pages.

Tailwind CSS

Tailwind css makes it really easy to build custom ui.

Develop with gorilla-ui

Documentation: Run lein demo - this showcases all components.

  • gorilla-ui is not a stand alone application. We therefore do NOT bundle compiled javascript bundles.

  • however, we ship static images and css files that we collect from selected npm modules. This makes it easier to consume gorilla-ui library.

  • we also ship deps.cljs, which tells shadow cljs to add transient npm deps from gorilla-ui.

Add a dependency to your clojurescript project, and you are good to go. Note that we use shadow-cljs which allows easy management of npm dependencies.

If there are problems in using vega with errors to "buffer" then npm install shadow-cljs --save might fix it. thheller: both buffer and process are polyfills packages that shadow-cljs will provide ... the npm package is mostly the for CLI stuff but also brings in some extra npm packages the compiler is from the CLJ dependency you have in project.clj. the npm stuff never does any actual compilation, just runs the java process

Can you improve this documentation? These fine people already did:
awb99 & Andreas Steffan
Edit on GitHub

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

× close