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.

Author 1

Copy Author 1

Configurator settings

Change a setting in the configurator to include it.

Optional. Copies the component under its own name, such as News Card Alpha for a site.

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-size sets 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