Widgets Overview
React components for NEUS verification and access gating, plus a standalone script-tag embed for any site.Quick Links
VerifyGate Component
Gate UI behind verification requirements.
ProofBadge Component
Display verification status by proof receipt ID.
Script Tag Embed
Add a “Verified by NEUS” badge to any page without a framework.
Script Tag (No Framework Required)
The fastest way to add a “Verified by NEUS” badge to any page:data-neus-proof element.
Data Attributes
| Attribute | Required | Default | Description |
|---|---|---|---|
data-neus-proof | Yes | - | Proof receipt identifier. In SDK flows, use proofId. |
data-neus-api-url | No | https://api.neus.network | Override API base URL |
data-neus-ui-base | No | https://neus.network | Override proof viewer base URL |
data-neus-size | No | sm | sm or md |
data-neus-show-chains | No | false | true to show chain count |
Manual API
CSS Theming
The badge uses CSS variables so it inherits your site’s typography:CORS: The widget fetches
GET https://api.neus.network/api/v1/verification/status/:qHash with Access-Control-Allow-Origin: * - no CORS setup required.React Install
VerifyGate
Gate UI behind verification requirements.Key Props
| Prop | Type | Default | Description |
|---|---|---|---|
requiredVerifiers | string[] | ['ownership-basic'] | Verifiers to check |
verifierData | object | - | Data keyed by verifier id |
strategy | 'reuse-or-create' | 'reuse' | 'fresh' | 'reuse-or-create' | Proof strategy |
proofOptions | { privacyLevel, publicDisplay, storeOriginalContent } | private | Proof options |
mode | 'create' | 'access' | 'create' | Operation mode |
proofId | string | - | Required for mode="access"; same receipt ID appears as qHash on HTTP paths |
maxProofAgeMs | number | - | Max proof age for reuse checks |
onError | (error: Error) => void | - | Error callback |
apiUrl | string | - | Custom API base URL |
appId | string | - | Public app attribution identifier |
sponsorGrant | string | - | Sponsor JWT for sponsored proofs |
hostedCheckoutUrl | string | - | Hosted verify page URL |
Sponsored Hosted Checkout Example
ProofBadge
Display verification status by proof receipt ID (proofId in SDKs).