HumanReviewed docs

React badge

Drop a live verification badge onto reviewed output. It resolves current state — verified, rejected, or revoked — on every load.

React

The component is an optional subpath export; React is a peer dependency.

tsx
import { HumanReviewedBadge } from "@humanreviewed/sdk/react";

<HumanReviewedBadge uid={attestationUid} />

Plain HTML / email

The badge is a self-contained SVG endpoint — paste this anywhere, no script required:

html
<a href="https://humanreviewed.org/0x<uid>">
  <img src="https://humanreviewed.org/api/badge/0x<uid>.svg"
       alt="Human Reviewed — verified attestation" height="20" />
</a>

Badge helpers are also exported for building the markup yourself: verifyUrl(uid), badgeUrl(uid), badgeHtml(uid).