Persona

A Persona is a visual representation of a person with an avatar. A status can be specified optionally.

Examples

Default

Display a person with his avatar and his status.
Example
Bill Gates
Bill Gates
Download: 

Text Position

Display a person with his name at the start.
Example
Bill Gates
Bill Gates
Download: 

Icon

An icon can be displayed instead of an image (in this example, to depict an anonymous user).
Example
Anonymous
Anonymous
Download: 

With no image (Default initials)

If no image is specified, the initials of the person are automatically retrieved.
Example
LB
Lydia Bauer
LB
Download: 

With no image (Specific initials)

Explicit initials for the person can be defined with the Initials property.
Example
LY
Lydia Bauer
Download: 

Dismiss action

Display a "Dismiss" cross and raise an event.
Example
Bill Gates
Bill Gates
Download: 

Documentation

FluentPersona Class

Parameters

Name
Type
Default
Description
ChildContentRenderFragment?
Gets or sets the content to display under the FluentPersona.Name.
DismissTitlestring?
Gets or sets the title of the dismiss button.
Imagestring?
Gets or sets the image to display, in replacement of the initials.
ImageSizestring?
Gets or sets the size of the image.
Initialsstring?
Gets or sets the initials to display if no image is provided.
By default, the first letters of the FluentPersona.Name is used.
Namestring
Gets or sets the name to display.
StatusPresenceStatus?
Gets or sets the status to show. See PresenceStatus for options.
StatusSizePresenceBadgeSize
ExtraSmall
Gets or sets the FluentPersona.Status size to use.
Default is ExtraSmall.
StatusTitlestring?
Gets or sets the title to show on hover. If not provided, the status will be used.
TextPositionTextPosition
End
Gets or sets the TextPosition of the text.
Default is End.

EventCallbacks

Name
Type
Description
OnClickEventCallback<MouseEventArgs>
Gets or sets the event raised when the user clicks on this Persona.
OnDismissClickEventCallback
Gets or sets the event raised when the user clicks on the dismiss button.
Busy
OutOfOffice
Away
Available
Offline
DoNotDisturb
Unknown
Tiny
ExtraSmall
Small
Medium
Large
End
Start
An error has occurred. This application may no longer respond until reloaded. Reload 🗙