Skip to content

generates fractal from string(user name, email, nickname, etc..) that can be used as avatar

License

Notifications You must be signed in to change notification settings

keenethics/react-avatar-fractal

Repository files navigation

react-avatar-fractal

Generates fractal from string(user name, email, nickname, etc..) that can be used as avatar

NPM JavaScript Style Guide

Install

npm install --save react-avatar-fractal

Usage

import AvatarFractal from 'react-avatar-fractal'

function Example {
  return (
    <AvatarFractal value="Arnold Schwarzenegger" size={200} />
  )
}

Props

Name Type Description
value String Required. Any name/email/nickname.
size Number Size of avatar in px.
scale Number Scale of fractal (0.45 default)

License

MIT © dikhtenkott

About

generates fractal from string(user name, email, nickname, etc..) that can be used as avatar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published