Examples
Default
Online Indicator
Avatar Sizes
Without Avatar
Nickname
Props
UserItem
A compact user row showing an avatar, display name (or nickname) and handle, with optional verified and AI-disclosure badges and online and muted indicators. PassUserItemProps.trailing to pin a value to the end of the row, the shape most list rows need — top spenders, most active fans, a recent-activity feed.
Replace the display-name line with arbitrary content, for rows that read as a sentence about the user rather than their name — an activity feed entry, for instance. Badges do not apply to custom content.
A supporting line under the name, mirroring
UserItemTrailing’s meta. Both are block lines on the same 18px advance, so a row using secondary on the left and meta on the right reads as two aligned tiers. Prefer it over letting a long primary wrap, which mixes line heights and drifts out of step.Content pinned to the end of the row — a value, count, timestamp or action. It keeps its intrinsic width while the name block absorbs the remaining space, so trailing content stays aligned down the rows of a list.Prefer
UserItemTrailing over composing the lines yourself.UserItemTrailing
The end-of-row block for aUserItem: a value with an optional supporting line beneath it, both aligned to the right edge so figures line up down a list.
Pass it to UserItem’s trailing slot rather than composing the two lines at each call site, so value and meta typography stay consistent wherever a list row carries a figure.
Exported types
Also exported from@fanvue/ui: UserItemPadding, UserItemProps, UserItemTrailingProps, UserItemUser.
Setup: Installation · Theming