Skip to content

React-Avatars makes it possible to generate endless different avatars.

License

Notifications You must be signed in to change notification settings

fduschka/react-avatars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Avatars

React-Avatars makes it possible to generate endless different avatars.

License Latest Version

Installation

The best way to consume React-Avatars is via the npm package which you can install with npm.

npm i react-avatars

Importing Components

import { Initials } from 'react-avatars'

Examples

Basic Avatar

<Initials name="React Avatars" />

All Avatars

If you don't want a new avatar each time your application renders, you can provide a seed which generates an avatar based on your seed.

<Initials name="React Avatars" color="white" font="Arial" size="50" bg="#FF6347" />
<Pixelcon color="#FF6347" size="50" />
<Jdenticon seed="your_seed" size="50" bg="#FF6347" />

Styles

We are constantly working on adding more styles!

  • Initials
  • Pixelcon
  • Jdenticon by dmester

License

MIT

About

React-Avatars makes it possible to generate endless different avatars.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published