kitlangton / formula

Form Combinator Library for decimating frontend boilerplate.

Version Matrix

🧪 Formula

Release Artifacts Snapshot Artifacts

Derive functional, reactive, Laminar forms at compile-time with this type-safe, composable form combinator library.

// build.sbt
libraryDependencies += "io.github.kitlangton" %%% "formula" % "x.y.z"


This project originally started as an example of using Magnolia with Scala.js. While the internals has shifted substantially since the recording, the original video is still available, Deriving the Frontend.

Running Locally

  1. sbt ~fastLinkJS in another tab.
  2. yarn install
  3. yarn exec vite
  4. open http://localhost:3000