Skip to main content

Installation

Install the React package with your preferred package manager.

Icons

Render an icon with Icon, or use icon() when you need its URL or SVG markup outside JSX.

Avatars

Render a deterministic profile image with Avatar, or use avatar() to pass the selected image URL to another service or retrieve its canonical SVG.

QR codes

Render scannable text or URLs with QrCode, or use qrCode() when you need the image URL or canonical SVG outside JSX.

Placeholders

Render square or custom-dimension images with Placeholder, or use placeholder() when you need the selected image URL or SVG markup outside JSX.
Helpers return the selected representation URL immediately. Calling .svg() retrieves canonical SVG markup for the same asset.