@nice-avatar-svg/element
v0.0.2
Published
Library to generate SVG avatar as Web Component
Downloads
1
Readme
Nice Avatar SVG as Web Component
This is a fork of react-nice-avatar which provide and handy way to generate beautiful SVG avatar.
Usage
Install the lib
npm install @react-nice-avatar/element
<script type="module" src="node_modules/@nice-avatar-svg/element"></script>
<nice-avatar
bgColor="azure"
earSize="small"
eyesStyle="base"
facialHairStyle=""
hairColor="red"
hairStyle="pixie"
mouthStyle="smile"
noseStyle="round"
shirtColor="#ffff"
shirtStyle="open"
skinColor="coral"
glassesStyle="round"
shape="circle"
></nice-avatar>