@emanon/ema-avatar

0.5.1 • Public • Published

ema-avatar

Overall

Show profile image as a user's avatar.

TODO: Support placeholder image

Properties

Property Attribute Type Default Description
label label string "" Placeholder text of the inner img.
shape shape "square" | "rounded" | "circle" "circle" Shape type.
src src string "" URL for an image.

CSS Custom Properties

Property Default Description
--ema-c-avatar-size "40px" Height and width.

Readme

Keywords

none

Package Sidebar

Install

npm i @emanon/ema-avatar

Weekly Downloads

1

Version

0.5.1

License

MIT

Unpacked Size

80.9 kB

Total Files

8

Last publish

Collaborators

  • npm-cam
  • fkei
  • noritama
  • t4y3
  • ejithon
  • higashiyama
  • usui_yuki_cam