Skip to content
On this page

NcUserBubble

Props

Prop nameDescriptionTypeValuesDefault
avatarImageOverride generated avatar, can be an url or an icon classstring-undefined
userProvide the user id if this is a userstring-undefined
displayNameDisplayed labelstring-
showUserStatusWhether or not to display the user-statusboolean-false
urlDefine the whole bubble as a linkstring-undefined
openDefault popover state. Requires the UserBubble
to have some content to render inside the popover
boolean-false
primaryUse the primary colourboolean-false
sizeThis is the height of the componentnumber-20
marginThis is the margin of the avatar (size - margin = avatar size)number-2

Events

Event namePropertiesDescription
click
update:open

Slots

NameDescriptionBindings
title
defaultMain Popover content on userbubble hover/focus

General description

This component displays a user together with a small avatar in a grey bubble. It's possible to use an actual user's avatar, just an image/icon as a url or an icon-class, to link the bubble to e.g. a users profile and to show a popover on hover with e.g. the full user name handle / email address or something else.

This component has the following slot:

  • a default slot which is for the content of the popover (this is passed to the popover component directly).

Examples

loading...

Example with title slot

loading...

NcUserBubbleDiv

Slots

NameDescriptionBindings
trigger