User (Avatar) overview

Overview
API
Theme
Examples

NbUserComponent

Represents a component showing a user avatar (picture) with a user name on the right.

Showcase
  <nb-user name="John Doe" title="Engineer"></nb-user>

Installation

Import NbUserModule to your feature module.

@NgModule({
  imports: [
    // ...
    NbUserModule,
  ],
})
export class PageModule { }

Usage

Available in multiple sizes:

Multiple Sizes

You can hide unnecessary captions (name, title or both):

Hide captions in user component

You can set custom avatar background-color, user image (as link or BASE64 string) and disable user initials:

Avatar image settings

Component shape could be controlled with shape input.

Shapes
Global Search
Previous page
Alert
Next page

Need some help or found an issue?

Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.