Display user profile or social information.
Show username.
Show an extra description.
Show link below user name.
User.Props
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
name(required) | user name | ReactNode / string | - | - |
src | avatar url | string | - | - |
text | display text when image is missing | string | - | - |
altText | alt attribute used by inner avatar image | string | - | - |
... | native props | HTMLAttributes | 'id', 'name', 'className', ... | - |
User.Link.Props
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
href | link address | string | - | - |
... | native props | AnchorHTMLAttributes | 'id', 'name', 'className', ... | - |