solidtype-headless

Components Kobalte lacks for solidtype, made as Kobalte makes its own

solidtype

SolidJS for modern OCaml. Fast, accessible and reactivity-safe. Kobalte, HeroUI, Gravity UI's icons, rhp's charts and @internationalized/date's dates included.

ci release license OCaml 5.5+ Hypha Stack

Documentation: hyphatech.github.io/solidtype

Quickstart

opam repo add open-opam https://github.com/open-opam/opam-repository.git
opam install solidtype solidtype-heroui
bun add $(opam show solidtype-heroui --field x-npm-depends)
module Jsx = Solidtype.Jsx
module Solid = Solidtype.Solid
module Button = Solidtype_heroui.Button

let make () =
  let count, set_count = Solid.create_signal 0 in
  <Button variant=`secondary on_click=(fun _ -> Solid.update set_count succ)>
    "Clicked " (Jsx.int (Solid.get count))
  </Button>

Setting up dune and Vite to build it: Getting Started.

With an agent

Every package of solidtype installs its documentation for an agent with it, at $(opam var <package>:doc): llms.txt, and every page in Markdown. An agent reads it when your project's AGENTS.md tells it to:

Before working with solidtype, read `llms.txt` in `$(opam var <package>:doc)`,
for any solidtype package the project installs, then the pages it lists for
the parts you need, and use those parts rather than writing your own.

Licence

MIT, copyright Hypha Technologies Ltd. See LICENSE.