# cljfx/cljfx

Declarative, functional and extensible wrapper of JavaFX inspired by react and re-frame

Repository: https://github.com/cljfx/cljfx
Canonical: https://ross.abutalabs.com/products/cljfx
Language: Clojure
License: MIT
License Family: permissive
Topics: clojure, javafx, react, reagent, fn-fx, re-frame, functional, cljfx
Last push: 2026-08-22T07:48:51+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 2811, "days_push": 11, "days_rel": 11, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1099, forks 52 (observed 2026-08-28T04:03:35.134791+00:00)

## What it is
Cljfx is a declarative, functional, and extensible Clojure wrapper around JavaFX for building desktop GUI applications on the JVM. It is inspired by React, Reagent, re-frame, and fn-fx, letting developers describe UIs as Clojure data with subscriptions and events for state management.

## Use cases
- build a desktop gui app in clojure
- declarative javafx ui from clojure data
- react-style component model for jvm desktop apps
- manage desktop app state with events and subscriptions
- cross-platform desktop ui without javascript
- functional alternative to swing or raw javafx

## When to choose
- you are writing a Clojure desktop application on the JVM
- you want a React/Reagent-like declarative model for native GUIs
- you prefer describing UI as immutable data with pure functions
- you need an extensible component lifecycle over JavaFX

## When to avoid
- you need a web or mobile UI rather than a JVM desktop app
- your team does not use Clojure or the JVM
- you need a GUI toolkit other than JavaFX
- you require HiDPI on Linux with legacy JavaFX 8

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework, state-management
- domain: desktop-applications, web-development, developer-tools
- platform: jvm, cross-platform
- tags: clojure, javafx, declarative-ui, functional-ui, react-inspired, desktop-gui, desktop

## Member repositories
- cljfx/cljfx (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.134791+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:46:02.496923+00:00, confidence not recorded.
  - readme: https://github.com/cljfx/cljfx (fetched 2026-08-28T04:03:35.134791+00:00, sha 942a5b7dee13)
- Data as of 2026-08-30T08:39:29.467469+00:00.
