avatar-gradient
v0.2.1
Published
Avatar Gradient - Generate random gradient avatars for react
Downloads
15
Maintainers
Readme
Avatar Gradient React
Installation:
npm install avatar-gradient
pnpm install avatar-gradient
yarn install avatar-gradient
Usage:
import { Avatar } from "avatar-gradient";
function App() {
return (
<div>
<Avatar username="test" />
</div>
);
}
export default App;
Customization:
import { Avatar } from "avatar-gradient";
function App() {
return (
<div>
<Avatar username="test" style={{borderRadius:"0px"}} />
<Avatar username="test" className="custom-style" />
</div>
);
}
export default App;