Installation
Install the Astro package with your preferred package manager.Icons
Render an icon withIcon, or use icon() in the frontmatter script when you need its URL or SVG markup.
Avatars
Render a deterministic profile image withAvatar, or use avatar() to pass the selected image URL to another service or retrieve its canonical SVG.
QR codes
Render scannable text or URLs withQrCode, or use qrCode() when frontmatter code needs the image URL or canonical SVG.
Placeholders
Render square or custom-dimension images withPlaceholder, or use placeholder() when frontmatter code needs the selected image URL or SVG markup.
.svg() retrieves canonical SVG markup for the same asset.