@worldcoin/idkit when you want React-native ergonomics on top of @worldcoin/idkit-core.
Install
Choose your API
- Widgets: quickest integration, built-in modal and state handling
- Hooks: headless control for custom UI and flow orchestration
Controlled widgets
Request widget
Headless hooks
useIDKitRequest
open()reset()isAwaitingUserConnectionisAwaitingUserConfirmationisSuccessisErrorconnectorURIresulterrorCode
Presets
React hooks/widgets takepreset directly in config.
Localization and UX notes
- Widgets support
language="en" | "es" | "th" - Widgets default to
autoClose={true}after success - Host callback exceptions are swallowed to keep the widget state machine stable