Installation
Install the React 19.2+ package with your preferred package manager.Agent skill
Install the React integration skill for coding agents that support Agent Skills:Icons
Render an icon withIcon.
Icon fetches and caches canonical SVG markup, then renders it inline. It contains its own Suspense boundary while that request is pending, allowing streaming SSR to emit the resolved SVG without a caller-provided boundary.
Avatars
Render a generated avatar or portrait withAvatar.
QR codes
Render scannable text or URLs withQrCode.
Placeholders
Render square or custom-dimension images withPlaceholder.
.url makes no request; .svg() fetches canonical SVG markup and is unavailable for portrait avatars.
Custom deployment
You do not need a provider to use Pictum’s production API. Components and hooks work immediately after installation. Only addPictumProvider when a subtree should use another Pictum deployment:
options={{ baseUrl }} to one component or pass the options to a use* hook to override the provider.