@finastra/user-profile
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

User Profile

See it on NPM! How big is this package in your project? Storybook

The user profile web component shows detailed information about a user. It is customizable enough to allow you to add more user information or even actions if needed.

Usage

Import

npm i @finastra/user-profile
import '@finastra/user-profile';
...
<fds-user-profile userName="Adnen Manai">
    <div slot="userInfo">adnen.manai@finastra.com</div>
    <div slot="actions">
      Actions go here
    </div>
</fds-user-profile>

API

Properties

Property Attribute Type Default Description
dense dense boolean false Align the default avatar with user info
divider boolean true
shortName shortName string "" Use this property to override the initials
userName userName string "" Name of the avatar, used to generate the initials (Displayed on hover)

Slots

Name Description
actions Actions that a user can perform
userInfo The user info

Package Sidebar

Install

npm i @finastra/user-profile

Weekly Downloads

82

Version

1.8.1

License

MIT

Unpacked Size

33.5 kB

Total Files

20

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot