The best tRPC alternatives
7 tools that do a similar job to tRPC, 7 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
You're replacing
tRPCA TypeScript library for building APIs whose types are shared between server and client, with no code generati
- 1

RedwoodGraphQL
Open source · MIT · ★ 17.6k
A React web framework with an optional GraphQL API, built on Prisma; the README also promotes a newer sibling
Best for: Developers building data-driven React apps who want a pre-assembled stack; Prototypes and hackathons that may grow into larger projects
- 2

Fumadocs
Open source · MIT · ★ 13.5k
A React and Astro framework for building documentation websites.
Best for: React developers who want to build a documentation site; Teams already using Next.js or Astro who want docs in the same stack
- 3

shadcn/ui
Open source · MIT · ★ 127k
Copy-in React UI components you customize as your own code, built on Tailwind CSS.
Best for: Developers building React or Next.js interfaces who want full control over component code; Teams that want a consistent design system they can change freely
- 4

CopilotKit
Open source · MIT · ★ 38.5k
A TypeScript toolkit for building chat and generative UI on top of AI agents in web, mobile, and chat apps.
Best for: Developers adding an AI assistant or agent interface to a React or Next.js app; Teams who want one agent backend to serve a web app, a mobile app, and Slack or Teams
- 5

SWR
Open source · MIT · ★ 32.5k
A React hook library for fetching data, with caching and automatic refresh.
Best for: React developers who fetch data from APIs in components; Projects that want built-in caching and request deduplication
- 6

Magic UI
Open source · MIT · ★ 23k
Copy-and-paste animated React components and effects for Next.js and Tailwind apps.
Best for: React or Next.js developers who want animated landing-page elements; Developers already using Tailwind CSS and TypeScript
- 7

NativeBase
Open source · MIT · ★ 20.4k
Accessible React Native and web UI component library; now in maintenance mode, succeeded by gluestack-ui.
Best for: Teams maintaining an existing app already built on NativeBase; Developers who need to keep an existing NativeBase v3 codebase running
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to tRPC. We don't take payment for placement.