Skip to content

Production-ready Astro package

Astro-native Gravatar components for production sites

Ship avatars, profile cards, and QR codes in Astro with clean components, fast setup, and production-ready defaults.

Installbun add astro-gravatar
  • Astro 4-6
  • TypeScript ready
  • Bun-first
  • MIT licensed
Avatar for i@m.junglei.kim
Avatar for pattern@astro-gravatar.and.guide
Avatar for pixel@astro-gravatar.and.guide
Avatar for i@m.junglei.kim

Junglei Kim

Share-ready QR output
QR code linking to i@m.junglei.kim's Gravatar profile
Scan to view profile

Built for fast adoption

Astro-native API surface

Use focused components and utility helpers without wrapping another client-side widget layer.

Production-friendly defaults

Lazy loading, responsive imagery, and clean fallback behavior come out of the box.

Profile-aware when you need it

Stay lightweight for simple avatars, or pull richer profile information for cards and links.

Bun-first workflow

The package, docs, and release flow stay aligned with the Bun-based monorepo that ships it.

The three components that carry the package

Section titled “The three components that carry the package”
GravatarAvatar

Compact, reliable avatar rendering

Render avatars with sensible defaults, fallback modes, and responsive sizing in a single line.

Avatar for i@m.junglei.kim
Avatar for pattern@astro-gravatar.and.guide
Avatar for pixel@astro-gravatar.and.guide
GravatarProfileCard

Profile cards without extra plumbing

Surface a public profile, avatar, and supporting details with one Astro component.

Avatar for i@m.junglei.kim

Junglei Kim

GravatarQR

QR codes that stay on-brand

Generate shareable profile QR codes with icon styles and campaign parameters when you need them.

QR code linking to i@m.junglei.kim's Gravatar profile
Scan to view profile

Minimal setup

Install, import, render.

  1. Install the package in your Astro project.
  2. Import the component you need in a page or content module.
  3. Pass an email and style it like the rest of your site.
30-second example
---
import GravatarAvatar from 'astro-gravatar';
---

<GravatarAvatar email="user@example.com" size={80} class="rounded-full" />

Need help or want to verify the package?

Use the docs to ship, then rely on GitHub for support and release context.