tyger-avatar
TypeScript icon, indicating that this package has built-in type declarations

2.2.4 • Public • Published

tyger-avatar

npm npm type definitions npm

An illustrated avatar react library

View all avatars


Installation

npm i tyger-avatar

Usage

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/>;
  );
}

Options

Props

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

View all avatars

License

MIT

Dependencies (0)

    Dev Dependencies (28)

    Package Sidebar

    Install

    npm i tyger-avatar

    Weekly Downloads

    18

    Version

    2.2.4

    License

    MIT

    Unpacked Size

    612 kB

    Total Files

    29

    Last publish

    Collaborators

    • ivstudio