Etch component
Author 1
Avatar, name and role of a person, for reviews, posts and team lists. With a link, the whole author is clickable.
Documentation
A person's avatar, name and role on one line, for reviews, posts and team lists. With a link, the whole author becomes clickable.
How to use it
- Pick an Image from the media library. Without one, it shows a filler avatar.
- Leave Role empty to hide it.
- Add a Link to make the name a link whose click area covers the whole author. In the builder the link stays on the name, so you can still select the parts.
Good to know
- The avatar is decorative (
alt=""), because the name sits right next to it. --mac-author-1-avatar-sizesets the avatar's size, and a parent can set it too, as MAC Review Card 1 does.
Reference
Read from the component's JSON, so it's always current.
Loading the reference