What is xstate built with?

xstate is a TypeScript repo built with React, Solid, @angular/core, Angular, Preact, and 3 more. It makes its content with saxes, validates its data with Zod and Ajv, and is tested with Vitest, fast-check, Testing Library, @testing-library/preact, and @solidjs/testing-library. It has 235,571 written lines, with 398 test files.

Read on November 7, 2026, at commit 975ba72. Read it as markdown

The card says what it's built with. Its whole map opens it up: every part of the code and how it connects to the rest.

Frontend

The base 4

Support

Validation 2

Testing 5

  • Vitest41 files
  • Testing Library17 files
  • @testing-library/preact2 files
  • @solidjs/testing-library1 file
  • fast-check1 file

Tools 7

  • ts-morph16 files
  • @analogjs/vite-plugin-angular1 file
  • @oxlint/plugins1 file
  • @vitejs/plugin-vue1 file
  • TypeScript1 file
  • pkg-up1 file
  • vite-plugin-solid1 file

Content 1

The base 4

Other 5

  • Effect13 files
  • rxjs13 files
  • use-sync-external-store2 files
  • Immer1 file
  • use-isomorphic-layout-effect1 file

Other repos with a similar stack

Ordered by how much of its stack they share with xstate, then by stars.

Frequently asked questions

What language is xstate written in?
xstate is written in TypeScript, with 235,571 written lines.
What framework does xstate use?
xstate is built with React, Solid, @angular/core, Angular, Preact, Svelte, Vue, and vue-demi.
Does xstate have tests?
Yes. xstate has 398 test files and is tested with Vitest, fast-check, Testing Library, @testing-library/preact, and @solidjs/testing-library.
Which repos have a stack like xstate's?
The ones that share most of its stack:TanStack/querycypress-io/cypressstorybookjs/storybook

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →