@humanity-org/react-sdk
React-first setup, core components and hooks, authentication flow, and essential usage patterns for the Humanity React SDK.
Installation
npm install @humanity-org/react-sdk
# or
yarn add @humanity-org/react-sdk
# or
pnpm add @humanity-org/react-sdknpm install react react-domPrerequisites
Getting started
Step 1 — Wrap your app with HumanityProvider
HumanityProviderStep 2 — Add a login button
Step 3 — Gate content on verification
Sandbox vs Production
Token Storage
Value
Security
Persists on refresh
Last updated