UserProfileCard
stableUser profile with avatar, role badge, permissions summary, last login, and sign-out action
import { UserProfileCard } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
namereq | string | — | Full name |
emailreq | string | — | Email address |
rolereq | TreasuryRole | — | Treasury role |
permissions | Permission[] | — | Permission summary |
lastLogin | string | — | Last sign-in date/time |
onSignOut | () => void | — | Sign out callback |
namerequiredType
stringDefault —Full name
emailrequiredType
stringDefault —Email address
rolerequiredType
TreasuryRoleDefault —Treasury role
permissionsType
Permission[]Default —Permission summary
lastLoginType
stringDefault —Last sign-in date/time
onSignOutType
() => voidDefault —Sign out callback
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?