UserCard
The account row at the foot of a sidebar: avatar, name, secondary line.
The account row at the foot of a sidebar. It renders a button, so it expects to open something — a menu or an account page.
Default
Props
UserCard
| Prop | Type | Default | Description |
|---|---|---|---|
initials | string | — | Required. Shown in the avatar slot. |
label | string | — | Required. The name. |
subtitle | string | — | Secondary line — an email, a role. |
trailing | ReactNode | — | Trailing content, such as a chevron. |