bitcrowd / bitstyles_phoenix

A collection of Elixir phoenix helpers for bitstyles
ISC License
12 stars 0 forks source link

Add component: avatar #14

Closed planktonic closed 1 year ago

planktonic commented 3 years ago

We want to add an avatar component using this: https://bitcrowd.github.io/bitstyles/?path=/docs/atoms-avatar--avatar

Ideally the helper would allow to print a avatar with an image url attribute and a alt tag with an optional size. Also add extra attributes (or extra helpers) for printing out a username either left or right of it.