New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@blaze-react/avatar

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blaze-react/avatar

Avatar is the graphical representation of the user or the user's alter ego or character.

  • 0.8.0-alpha.24
  • npm
  • Socket score

Version published
Weekly downloads
133
decreased by-42.67%
Maintainers
10
Weekly downloads
 
Created

Description

Avatar is the graphical representation of the user or the user's alter ego or character.

Usage

  • Image
const url = 'http://lorempixel.com/400/400/people/';

<Avatar url={url} modifier={Avatar.availableModifiers.med} />

<Avatar
  url={url}
  username="Ismael Haytam"
  modifier={Avatar.availableModifiers.small}
/>
  • User Initials
<Avatar username="Blaz 2" modifier={Avatar.availableModifiers.med} />

<Avatar
  username="Lorem Ipsum"
  modifier={Avatar.availableModifiers.xSmall}
/>

API

Avatar can receive a number of props as follow:
NAMETYPEDEFAULTOptions
modifierStringemptymed, small, x-small
urlstringempty
usernameString!

FAQs

Package last updated on 20 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts