Package org.patternfly.component.avatar
package org.patternfly.component.avatar
Provides the PatternFly avatar component for displaying user profile images.
An avatar is a visual used to represent a user. It may contain an image or a placeholder graphic. Avatars support different sizes and an optional border.
Usage
Basic avatar with size and border variations:
Avatar basicAvatar = avatar("/img/avatar.svg", "User avatar");
Avatar largeAvatar = avatar("/img/avatar.svg", "User avatar").size(lg);
Avatar borderedAvatar = avatar("/img/avatar.svg", "User avatar").bordered();
- See Also:
-
Classes