Skip to content

feat: add Effect UI - #333

Merged
matschik-usine[bot] merged 1 commit into
mainfrom
claude/project-thread-6gjeph
Nov 27, 2026
Merged

matschik-usine[bot] merged 1 commit into
mainfrom
claude/project-thread-6gjeph

Conversation

@matschik-usine

Copy link
Copy Markdown
Contributor

Requested by Mathieu · project thread

What

Adds Effect UI (@effect/ui), the Elm Architecture frontend library for Effect, with all 21 snippets.

  • content/**/effectUi/: 21 snippets, written from the Effect UI docs (LLMS.md) and source.
  • frameworks.ts: new effectUi entry and family, placed last, after Ripple. The list goes from the most used frameworks to the newest and least adopted ones; Effect UI is the newest (repo created 2026-11-15) and the only one not on npm yet.
  • static/framework/effect-ui.svg: the upstream favicon (dark tile, white mark) with rounded corners, readable on light and dark backgrounds.
  • README.md: progress block, regenerated (100%).

No playground link: Effect UI has no online playground yet, so playgroundURL points to its site.

Notes on the snippets

  • Every component needs a Model, messages, init and update, so the first snippets are longer than in Svelte or React. That is the framework, not padding.
  • Update state and On mount go through a Command that returns a message.
  • There are no fragments, so a few views wrap their children in a div.
  • Component slots have no fallback (a slot is opaque to the child), so Slot fallback uses a stateless view function, which the Effect UI docs recommend for wrappers.
  • Effect UI is experimental: the API may still change.

Checks

  • Each snippet type-checks with strict and exactOptionalPropertyTypes against Effect-TS/ui main, and was mounted in happy-dom with the expected HTML (clicks, inputs, context update, focus, timer). Fetch data was checked on its error path only (no network in the sandbox).
  • pnpm run build, pnpm run check, pnpm run lint and the 51 unit tests pass. E2E not run locally.
  • Reviewed by a second model before opening.

Merge risk

Faible : contenu et une entrée de config, aucun changement de code du site.

Effect UI (@effect/ui) is the Elm Architecture frontend library for
Effect, still experimental and not yet on npm. It covers all 21
snippets. Component slots have no fallback, since a slot is opaque to
the child, so the slot fallback snippet uses a stateless view function
instead, as the Effect UI docs recommend for wrappers.

It sits last in the list, after Ripple: it is the newest framework and
the only one not yet on npm. Each snippet compiles with strict and
exactOptionalPropertyTypes against Effect-TS/ui main and was rendered in
a test DOM.
@matschik-usine
matschik-usine Bot requested a review from matschik November 27, 2026 03:28
@matschik-usine
matschik-usine Bot merged commit 632b0af into main Nov 27, 2026
2 checks passed
@matschik-usine
matschik-usine Bot deleted the claude/project-thread-6gjeph branch November 27, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant