[!IMPORTANT]
We no longer recommend starting new projects with Foldkit 0.x. Active frontend development is happening in Effect UI, now in public preview. Effect UI will be the frontend foundation of Foldkit as it evolves into Effect's full-stack application framework.
Foldkit 0.x documentation and examples are available for existing applications. We'll keep fixing critical bugs at least until Effect UI ships with an upgrade guide. Read Foldkit Joins Effect for more.
Foldkit 0.x is a TypeScript frontend framework built on Effect. It makes state and side effects explicit, so your team and AI agents can build features faster, trace behavior, and test changes with confidence.
React, Vue, Svelte, and Solid solve rendering and leave the architecture to you. Foldkit gives you the architecture, so you can focus on your domain.
Foldkit uses The Elm Architecture. Application state does not live in component instances or hook lifecycles. The Model is the single source of truth, and every transition stays visible in update. That discipline is a real commitment. Foldkit works best when the team wants one architecture across the application and is ready to build on Effect throughout. Coming from React?
Foldkit 0.x Setup Reference
The setup guide documents the CLI, generated project structure, and compatible dependencies.
Counter
This complete program defines the Model, Messages, update, init, and view in main.ts. entry.ts starts the Runtime separately, so tests can import the program without booting it.