Quickstart

Connect with three lines of code.

Wrap your app in the provider, drop in the connect button, and the visitor pairs their board by scanning a QR code with the WhitePawn app.

App.jsx
import { PawnLinkProvider, PawnLinkConnect } from "@pawntown/react-pawnlink";

<PawnLinkProvider host="link.pawn.town" api-key="…">
  <PawnLinkConnect permissions="allow_read,allow_write" />
</PawnLinkProvider>

PawnLink is in beta. The library and its documentation live on GitHub.