Skip to main content

Installation

Install the Web Components package with your preferred package manager.

Icons

Use <pictum-icon> in markup. Use icon() when script code needs the image URL or canonical SVG.

Avatars

Use <pictum-avatar> for deterministic profile images. Use avatar() when script code needs a selected raster URL or canonical SVG.

QR codes

Use <pictum-qr-code> for scannable text or URLs. Use qrCode() when script code needs the image URL or canonical SVG.

Placeholders

Use <pictum-placeholder> for square or custom-dimension images. Use placeholder() when script code needs the selected image URL or SVG markup.
Helpers return the selected representation URL immediately. Calling .svg() retrieves canonical SVG markup for the same asset.