React SDK
Easy Labs React SDK (@easylabs/react) — installation, quickstart, and API reference.
@easylabs/react is the official Easy Labs SDK for React.
It gives you a single <EasyProvider> that wires every Easy API resource (customers, payment instruments, products, prices, subscriptions, orders, transfers, settlements, payment links, and embedded checkout sessions) into a useEasy() hook, plus a set of PCI-isolated form elements for collecting card and bank-account details directly in your React tree without those values ever touching your server.
The SDK targets React 18 and 19, works in Vite, Next.js (App Router and Pages Router), and any other React renderer that can run client components, and ships with full TypeScript types re-exported from @easylabs/common.