Skip to main content
SSR CSR

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 with Icon.
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 with Avatar.

QR codes

Render scannable text or URLs with QrCode.

Placeholders

Render square or custom-dimension images with Placeholder.
Hooks return an asset immediately. Reading .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 add PictumProvider when a subtree should use another Pictum deployment:
Pass options={{ baseUrl }} to one component or pass the options to a use* hook to override the provider.