Installation
Install the Vue 3.5+ package with your preferred package manager.Agent skill
Install the Vue integration skill for coding agents that support Agent Skills:Icons
Render an icon in a template withIcon, or use icon() when you need its URL or SVG markup in script code.
Icon fetches and caches canonical SVG markup behind an internal Suspense boundary. Vue’s server renderer waits for the icon before emitting the completed inline SVG.
Avatars
Render a generated avatar or portrait withAvatar, or use avatar() to pass the selected image URL to another service. Generated avatars also provide canonical SVG markup.
QR codes
Render scannable text or URLs withQrCode, or use qrCode() when script code needs the image URL or canonical SVG.
Placeholders
Render square or custom-dimension images withPlaceholder, or use placeholder() when script code needs the selected image URL or SVG markup.
Use composables
UseuseIcon, useAvatar, useQrCode, and usePlaceholder with values, refs, or getters. Each composable returns a computed asset.
icon(), avatar(), qrCode(), and placeholder() helpers. Raw helpers 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 composables work immediately after installation. Only addPictumProvider when a subtree should use another Pictum deployment:
:options="{ baseUrl }" to one component or pass options to a use* composable to override the provider. Raw helpers do not read provider context; pass baseUrl directly to those calls.