User Component

    User (Avatar)

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

      AE
      ahmed elywa
      Manger
      AE
      ahmed elywa
      Manger
      AE
      ahmed elywa
      Manger
      AE
      ahmed elywa
      Manger
      AE
      ahmed elywa
      Manger

      Usage

      import User from '@paljs/ui/User';

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

        only Picture
        AE
        hide title
        AE
        ahmed elywa
        hide name
        Manger

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

          User avatar image set as link
          ahmed elywa
          Manger
          User avatar with custom background color
          AE
          ahmed elywa
          Manger
          User avatar image not set and showInitials disabled
          ahmed elywa
          Manger