User

Display user profile or social information.

Default

Show username.

Description

Show an extra description.

Social

Show link below user name.

APIs

User.Props

AttributeDescriptionTypeAccepted valuesDefault
name(required)user nameReactNode / string--
srcavatar urlstring--
textdisplay text when image is missingstring--
altTextalt attribute used by inner avatar imagestring--
...native propsHTMLAttributes'id', 'name', 'className', ...-

User.Link.Props

AttributeDescriptionTypeAccepted valuesDefault
hreflink addressstring--
...native propsAnchorHTMLAttributes'id', 'name', 'className', ...-