User (Avatar) api
NbUserComponent
Inputs
| Name | Type | Description |
| badgePosition | NbBadgePosition | Badge position. Can be set to any class or to one of predefined positions: 'top left', 'top right', 'bottom left', 'bottom right', 'top start', 'top end', 'bottom start', 'bottom end' |
| badgeStatus | NbComponentOrCustomStatus | Badge status (adds specific styles):
|
| badgeText | string | Badge text to display |
| color | string | Color of the area shown when no picture specified |
| name | string | Specifies a name to be shown on the right of a user picture |
| shape | NbComponentShape | Shape of the picture box.
Possible values: |
| size | NbComponentSize | Size of the component.
Possible values: |
| title | string | Specifies a title to be shown under the name |
| onlyPicture | boolean | Whether to show only a picture or also show the name and title |
| picture | string | Absolute path to a user picture or base64 image. User name initials will be shown if no picture specified (JD for John Doe). |
| showInitials | boolean | Whether to show a user initials (if no picture specified) or not |
| showName | boolean | Whether to show a user name or not |
| showTitle | boolean | Whether to show a user title or not |
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.
