Skip to content
On this page

NcListItemIcon

Props

Prop nameDescriptionTypeValuesDefault
titleDefault first line textstring-
subtitleSecondary optional line
Only visible on size of 32 and above
string-''
iconIcon class to be displayed at the end of the componentstring-''
iconSvgSVG icon to be displayed at the end of the componentstring-''
iconTitleDescriptive title for the iconstring-''
searchSearch within the highlight of title/subtitlestring-''
avatarSizeSet a size in px that will define the avatar height/width
and therefore, the height of the component
number-defaultSize
noMarginDisable the margins of this component.
Useful for integration in Multiselect for example
boolean-false
displayNameSee the Avatar displayName prop
Fallback to title
string-null
isNoUserSee the Avatar isNoUser prop
Enable/disable the UserStatus fetching
boolean-false
idUnique list item IDstring-null

Slots

NameDescriptionBindings
defaultuse this slot to add a custom icon or actions

This is used to display a avatar-title/subtitle + icon layout

It might be used for list rendering or within the multiselect for example

Note: Any binding will be forwarded on the Avatar component root

loading...
loading...

With icon

loading...

Searching

loading...

With actions

loading...