@questpie/avatar
v1.0.0-beta.1
Published
Deterministic generative construct avatars — 2M+ unique variations from any seed
Downloads
65
Maintainers
Readme
@questpie/avatar
Deterministic generative construct avatars — 2M+ unique variations from any seed string. Given the same seed, the same avatar is always produced.
Install
bun add @questpie/avatarUsage
SVG generation (core)
import { generateAvatar } from '@questpie/avatar'
const svg = generateAvatar('agent-alpha')
// Returns an SVG stringReact component
import { Avatar } from '@questpie/avatar/react'
<Avatar seed="agent-alpha" size={64} />Exports
| Entry point | Description |
| --- | --- |
| @questpie/avatar | Core SVG generation — zero runtime dependencies |
| @questpie/avatar/react | React component wrapper — requires react >= 18 as peer dependency |
Links
License
MIT
