mockingbird

A frontend components library for Clojure/ClojureScript applications, designed to provide a consistent and beautiful UI experience.

Features

  • React-based Components: Built on top of React for ClojureScript applications
  • Responsive Design: Components work across different screen sizes
  • Customizable: Easily theme and customize components to match your brand
  • Accessible: Built with accessibility in mind
  • Comprehensive: Includes a wide range of UI components for various needs

Installation

Add the dependency to your project:

1
2
3
4
5
6
;; deps.edn
{:deps
 {com.moclojer/mockingbird {:mvn/version "latest-version"}}}

;; Leiningen/Boot
[com.moclojer/mockingbird "latest-version"]

Usage Example

1
2
3
4
5
6
7
8
(ns my-app.core
  (:require [com.moclojer.mockingbird.button :refer [button]]
            [com.moclojer.mockingbird.input :refer [text-input]]))

(defn my-form []
  [:div
   [text-input {:label "Username" :placeholder "Enter your username"}]
   [button {:variant "primary" :on-click #(js/alert "Clicked!")} "Submit"]])

View on GitHub