Skip to content

jstclair/react-gravatar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-gravatar

React component for rendering a gravatar profile image. Adjusts automatically to HiDPI displays.

Demo

http://kyleamathews.github.io/react-gravatar/examples/

Install

npm install react-gravatar

Usage

See https://en.gravatar.com/site/implement/images/ for documentation on all the options.

Defaults

  • 50x50 image
  • g rated photos
  • http
  • retro backup faces for emails without profiles

Use defaults

<Gravatar email="[email protected]" />

Override all defaults

<Gravatar email="[email protected]" size=100 rating="pg" https default="monsterid" />

About

React component for rendering a gravatar profile image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%