Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PixelPeeps

Artist Palette PixelPeeps

Deterministic pixel-style avatars from any name


Features

  • 13 Style Variants – Band, Crescent, Wave, Ring & more
  • Facial Customization – 6 eye shapes, 5 mouth styles, glasses, hats
  • 100+ Color Palettes – Beautiful built-in combinations
  • Deterministic – Same name always produces identical avatars
  • Zero Dependencies – Lightweight React component
  • SVG Output – Perfect scaling at any size

Reminder Ribbon Installation

npm install pixelpeeps

Usage

Basic

import Avatar from 'pixelpeeps';

<Avatar name="user@example.com" size={128} />

Customized

<Avatar
  name="Ada Lovelace"
  size={180}
  colors={["#06b6a4", "#73a9ff"]}
  bg={["#f0f9ff", "#e0f2fe"]}
  variant="crescent"
  eyeShape="surprised"
  mouthShape="smile"
  glasses="round"
  hat="beanie"
  eyebrows={true}
  blush={true}
/>

Keyboard Key Props

Prop Type Default Description
name string required Seed for generation
size number 128 Avatar size (px)
variant string "auto" Style: band, crescent, wave, etc.
headShape string "circle" circle or square
eyeShape string "random" circle, wink, sleepy, etc.
mouthShape string "random" smile, frown, open, etc.
glasses string "random" none, round, square
hat string "random" none, beanie, cap
colors string | array "random" Character colors
bg string | array "random" Background colors

Full API: See all props in playground


Open Book How It Works

PixelPeeps uses deterministic hashing (CYRB128) to ensure identical avatars from the same input:

Input Name β†’ Hash β†’ Deterministic RNG β†’ Avatar Features β†’ SVG

Same name = Same avatar, every time. Perfect for user profiles!


Handshake Contributing

Contributions welcome! Fork, create a branch, commit changes, and open a PR.

git clone https://github.com/TheCHARITH/PixelPeeps.git
npm install
npm run dev

Memo License

MIT Β© Charith Pramodya


About

🎨 Generate unique, customizable pixel-style avatars with PixelPeeps. Create beautiful SVG avatars with various styles, colors, and patterns for your projects. ✨

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages