@turnkey/sdk-react
package simplifies the integration of the Turnkey API into React-based applications. It builds on top of the @turnkey/sdk-browser
package, enabling developers to implement authentication and wallet functionalities using React components.
passkeyClient
, authIframeClient
, and more.@turnkey/sdk-react
when building Next/React applications that interact with the Turnkey API.
TurnkeyProvider
in your application entry point (e.g., App.tsx
):
TurnkeyProvider
, you can access Turnkey utilities using the useTurnkey
hook:
layout.tsx
or equivalent entry point:
Auth
component provides a complete authentication solution with support for various login methods.
TurnkeyThemeProvider
TurnkeyThemeProvider
.