1.0.0 • Published 2 years ago

react-byte-avatar v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-byte-avatar

Simple React component to display a uniq avatar from user name.

Inspired from this HN post: https://news.ycombinator.com/item?id=30668137

Install

yarn add react-byte-avatar
// or
npm i react-byte-avatar

Props

propdefaulttype
nickrequiredstring
width18number
height14number

Demo

demo screenshot

Example

import { Avatar } from "react-byte-avatar";

const App = () => {
  return (
    <div>
      <Avatar name="React" />
    </div>
  );
};