Skip to content

About

A curated list of packages, hosts, examples, tools, and guides for Effect UI, the Effect frontend library.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Effect UI Awesome

A curated list of resources for Effect UI, the Effect frontend library. Each component is its own Elm Architecture program, and one core renders to the DOM, server, terminal, and native.

Effect UI is in public preview: packages install from pkg.pr.new snapshots, not npm.

Contents

Start here

  • Introducing Effect UI - Launch page with live demos and the DevTools overlay.
  • Quick start - A first component, plus the snapshot install and required TypeScript settings.
  • Official guide - The full written guide, also shipped in the package as AGENTS.md.
  • Component Party - Effect UI snippets side by side with React and other frameworks.
  • Effect Discord - Effect's community chat, the place to ask questions.

Official packages

  • @effect/ui - Core runtime with DOM rendering, routing, queries, SSR, hydration, and test harnesses.
  • @effect/ui-devtools - Message timeline, time travel, and an MCP server for coding agents.
  • @effect/ui-kit - Unstyled components that handle behavior, focus, and ARIA.
  • @effect/ui-native - Native views through React Native's Fabric, without React.
  • @effect/ui-opentui - Terminal host and element vocabulary for OpenTUI.

Guides

  • Basics - A note editor from Schemas and pure functions, saving through a Command.
  • Canvas - Draw from the model, animate every frame, and map presses to scene points.
  • Composition - Load data with a Query, handle child events, and provide Layers.
  • Custom elements - Use third-party web components with typed props, or publish components as web components.
  • Document events - Listen for keys on the document or window, and test them.
  • Files - Pick and read files in cancellable Commands.
  • Forms - Validation with cross-field rules, debounced async checks, and server errors.
  • Headless components - A filterable listbox that owns state, keyboard, and ARIA, but no markup.
  • Headless composition - Build a tag picker on top of the headless listbox.
  • Hydration - Reattach browser behavior to server-rendered markup.
  • Markdown - Pages written in Markdown and compiled at build time, with components as islands.
  • Mounts - Hand an element's DOM node to measuring code or a third-party editor.
  • Routing - Typed routes kept in the model, with per-page titles and meta tags.
  • Server rendering - Serve routed pages next to a JSON API, with serialized state for the client.
  • Shared state - Share a component's state with everything below it, like a tooltip provider.
  • Sharing across hosts - Write logic once with no host import, then finish it for browser and terminal.
  • State ownership - When to use props, the model, events, or shared state.
  • SVG - Icons and charts with typed SVG builders.
  • Terminal apps - Build and test OpenTUI apps with key shortcuts and controlled inputs.
  • Testing - Stories for updates, Scenes for rendering, and Plays for interactions.
  • URL state - Keep search, filters, and pagination in the route so links and reloads match.
  • View functions - Reusable stateless view helpers that take children.
  • View transitions - Animate updates and page changes with the View Transitions API.

Examples

Official

  • Auth - Logged-in and logged-out routes with a session service.
  • Canvas art - Canvas shapes derived from the model, animated by a frame subscription.
  • Counter - The quick start with kit buttons, a Story test, and DevTools cases.
  • Counters - A parent rendering keyed child components that keep their own state.
  • Domains - Server rendering and hydration, with one HttpApi shared by client and server.
  • File preview - Read a chosen file in a cancellable command, covered by a Play test.
  • Interrupting commands - Cancel concurrent uploads one at a time or all at once.
  • Launch page - Source of ui.effect.website, with live demos and the DevTools overlay.
  • Native - Expo app with native routing, deep links, and list animations.
  • Native macOS - The native screens as a macOS app on react-native-macos.
  • Routing - Typed routes with Schema params, a lazy page, and a query.
  • Routing TUI - Terminal issue tracker navigating with the router's screen stack.
  • Snake - Browser game with Story, Scene, and Play tests.
  • Snake TUI - Terminal port of the web game that reuses its domain logic.
  • Virtual list - Virtualized chat, table, and grid demos.
  • Web components - Shoelace and other custom elements with Schema-typed properties and events.

Community

Apps

  • attn - Phone app for an agent-session hub, on native Effect UI with encrypted push.
  • Bafle - Audius music player whose pages swap only once data and art are ready.
  • blank - Task board for parallel coding agents on a Cloudflare Durable Object.
  • Cheffect - Local-first recipe and meal planner with encrypted sync.
  • Claptraps - Client that streams and steers background AI agents.
  • Effective Analytics Workbench - Databricks analytics starter with Genie chat and maps.
  • elianiva.com - Personal site whose islands hydrate when visible or idle.
  • Hazel Chat - Real-time chat client whose screens are shared with an iOS app.
  • invoice - Billing editor with a live PDF preview, sharing its domain with a CLI.
  • Lasso - Self-hosted cockpit for coding-agent terminals, with xterm.js inside Effect UI.
  • LiSCA - Microscopy analysis desktop apps for live-cell imaging.
  • MCP Gateway - macOS menu-bar app for sharing MCP servers, built on Electrobun.
  • Munch Manor - Co-op pixel-art zombie shooter with seeded replays.
  • Optio - Time and motion study app for phones on the shop floor.
  • Quorum - Systems design game with a WebGL board inside components.
  • rat-stack - Site migrating from Foldkit page by page, with both running side by side.
  • Store - Offline-first Electron inventory app with a SQLite replica synced through Durable Objects.
  • Stream Switcher - macOS OBS scene switcher in a Swift web view, tested against a fake OBS server.
  • Tango Video Search - Faceted search, server-rendered on Cloudflare Workers and hydrated.

Migrations

  • attn - From Capacitor to native Effect UI on iOS and Android.
  • Checkfu - React dashboard moved to Effect UI and UiContext.
  • Effective Analytics Workbench - From Foldkit, with a migration guide for its packaged components.
  • elianiva.com - From Astro and Svelte, with data reads in an Effect Worker.
  • Hazel Chat - From Foldkit, with web and iOS sharing one vocabulary.
  • LiSCA - From SolidJS and Vercel UI SDK.
  • MCP Gateway - From React, after porting one view at a time.
  • Optio - From Foldkit and LiveStore, with storage on EventLog.
  • rat-stack - From Foldkit page by page, starting with a pilot on one route.
  • Store - From React in an Electron app.

Libraries

Rendering hosts

  • Effect SwiftUI - Renders components as native SwiftUI views on macOS and iOS, with no web view.
  • effect-ui-emacs - Renders components into Emacs buffers, mode lines, and frames.
  • effect-ui-three - Three.js scenes as Effect UI components, like React Three Fiber for React.
  • NativeScript Effect UI - Runs Effect UI views and kit components on native iOS, Android, and desktop.
  • PocketJS host - Draws components as native pixels through PocketJS, tested on a real Sony PSP.
  • Silk UI - GPU-rendered native runtime that runs the browser host unchanged.

Components

  • Effect UI SDK bindings - Typed bindings for Vercel UI SDK's web components.
  • effect-ui-dnd - Headless drag and drop with keyboard and screen reader support.
  • effectcn - Copy-in Tailwind components built on @effect/ui-kit.
  • Fridgedoor Carousel - Headless swipeable pager, carousel, and lightbox.
  • shadcn-effect - Port of shadcn/ui, installable through the shadcn CLI.
  • ui-sdk-effect-ui - Headless components on Vercel UI SDK's core primitives.
  • UiContext - UI kit built on Effect UI and StyleX.
  • Weft - Themeable copy-in components for web, terminal, and native.

Other

  • Animus - Typed style builder that extracts static CSS at build time.
  • arcadekit Effect UI - Plays arcadekit browser games on a canvas, wired in as Subscriptions and Commands.
  • Effect UI Route Tree - Nested routes with scoped guards, shared loaders, and cleanup.
  • effect-ui-agent - Lets AI agents read state and run allow-listed, Schema-validated actions.
  • effect-ui-tsx - Write components as a model, a controller, and a plain TSX view.
  • Pleat - Algebraic typed styles compiled to atomic CSS, piped onto Html builders.

Tools

  • Alchemy - Deploy browser-only, prerendered, or SSR apps to Cloudflare, AWS, and more.
  • Astro Effect UI - Astro renderer for server-rendered components and hydrated islands.
  • effect-ui-vite - Vite starter with strictest TypeScript and lint bans on type escape hatches.
  • NativeScript compiler - Compiles NativeScript Effect UI apps to Swift and Kotlin, with no JavaScript runtime.
  • OpenComponents template - create-oc template for server-rendered micro frontends.
  • oxlint-effect - Oxlint rules that keep I/O and runtime escapes out of update and view code.
  • Plover - Cloudflare Workers framework with server-only modules called over Effect RPC.
  • purescript-effect - PureScript bindings for Effect, including Effect UI.
  • thecasebook - Component gallery with prop controls, replay, and screenshot diffs.
  • VibeLang - Language that compiles to Effect, with an Effect UI starter template.

Background

Contributing

See the contribution guidelines.

About

A curated list of packages, hosts, examples, tools, and guides for Effect UI, the Effect frontend library.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors