Documentation

TrueSift SDKs

TrueSift provides two official framework SDKs with the same verification protocol and widget appearance. Choose the package matching your framework. Framework-specific integration code is not interchangeable.

React / Next.js App Router

bash
pnpm add @truesift/next

Svelte 5 / SvelteKit

bash
pnpm add @truesift/svelte

The Svelte SDK also supports size="half" for banners up to 500 px wide. This option is not present in the current Next.js SDK.

Shared security model

Both SDKs provide TrueSiftCheck, use local challenge/verify routes, and require server-side verification of a short-lived, single-use verificationToken in the protected business route. A client-side allow result alone never authorizes an action.

The interactive preview renders the shared widget design using the React / Next.js implementation; the Svelte SDK follows the same design and TrueSift verification protocol.