Skip to content

UserProfileCard

stable

User profile with avatar, role badge, permissions summary, last login, and sign-out action

Identity & AuthInteractive/Storybook ↗
import { UserProfileCard } from "@danagraph/design-system/patterns"
Loading demo…

Props

namerequired
Type stringDefault —

Full name

emailrequired
Type stringDefault —

Email address

rolerequired
Type TreasuryRoleDefault —

Treasury role

permissions
Type Permission[]Default —

Permission summary

lastLogin
Type stringDefault —

Last sign-in date/time

onSignOut
Type () => voidDefault —

Sign out callback

semantictypebordershadow
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?