User shows a person: an Avatar, their name, an optional Tag and a subline such as a role or an email. While loading, skeletons stand in for the name and subline. See the web User for the browser version.
loading turns the avatar, name and subline into skeletons.
- Long names and sublines are cut to one line with an ellipsis, so the row keeps its height on a narrow screen.
- The subline is left out when there is none, instead of an empty line.
- avatarProps takes the native Avatar props, which have no empty.
- className is replaced by style.