API reference: @salmonui/layout/avatar
Avatarfunction
import { Avatar } from '@salmonui/layout/avatar';function Avatar(props: AvatarProps): ReactElement;
namespace Avatar {
export { AvatarGroup as Group };
}
Avatar (.salmon-avatar, data-size, data-shape, data-tone, data-variant). With
alt or name it is an image (role="img", aria-label); otherwise it
is decorative (aria-hidden), for use inside a labelled control.