0.0.4 • Published 30 days ago

@nice-avatar-svg/react v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
30 days ago

Nice Avatar SVG for React

This is a fork of react-nice-avatar which provide and handy way to generate beautiful SVG avatar.

preview

This package is about using it with React

Usage

Install the lib

npm install @nice-avatar-svg/react
import NiceAvatar from "@nice-avatar-svg/react";

import { Suspense } from "react";

export default function App() {
  return (
    <Suspens fallback={"Loading..."}>
      <NiceAvatar
        bgColor="#6BD9E9"
        hairColor="#9287FF"
        shirtColor="#F4D150"
        skinColor="#F9C9B6"
        earSize="big"
        hairStyle="dannyPhantom"
        noseStyle="curve"
        glassesStyle="round"
        eyesStyle="smiling"
        facialHairStyle="beard"
        mouthStyle="laughing"
        shirtStyle="collared"
        earRing="loop"
        eyebrowsStyle="up"
      />
    </Suspens>
  );
}
0.0.3

30 days ago

0.0.4

30 days ago

0.0.2

1 month ago

0.0.1

1 month ago