An illustrated avatar react library
npm i tyger-avatar
import { TygerAvatar } from 'tyger-avatar';
export default function App() {
return (
<TygerAvatar name="TrIggy" size="md"/>;
);
}
or
import { TygerAvatar } from 'tyger-avatar';
import 'tyger-avatar/lib/bundle/styles.css';
export default function App() {
return (
<TygerAvatar name="TrIggy" size="md" rounded/>;
);
}
Prop | Type |
---|---|
name* |
TrChelsea , TrEric , TrSamantha , TrTorsten , TrIggy , TrFranklin , TrImran , TrMaria , TrRachel , TrShamila , TrAlex , TrFelix , TrEnrique , TrSophia , TrHarry , TrHelen , TrStu , TrNancy , TrChad , |
size |
2xs , xs , sm , md , lg , xl , 2xl , 3xl , |
title | string |
id | string |
rounded | boolean |
MIT