User

Identity composite: an avatar with a name, description, and optional action slot

Category: display · WCAG 2.2-AA · user, avatar, identity, display

States

Props

PropTypeDefaultDescription
nameReactNodeThe user’s display name.
descriptionReactNodeSupporting description text.
avatarPropsAvatarPropsForwarded to the composed <Avatar>

Design tokens

When to use

When not to use

How to build an accessible User in React →

Examples

Basic

<User name="Jane Doe" description="[email protected]" avatarProps={{ src: "/jane.jpg", alt: "Jane Doe" }} />

With action

<User name="Jane Doe" description="Admin"><IconButton aria-label="More" /></User>

Related components

← Back to docs