UserView
Compact signed-in user summary view.
Import
import { UserView } from "@xylex-group/athena-auth-ui"Details
- Category:
component - Primary entrypoint:
@xylex-group/athena-auth-ui - Public entrypoints:
@xylex-group/athena-auth-ui - Source:
packages/heroui/src/components/auth/user/user-view.tsx
Props
| Prop | Type | Required | Notes |
|---|---|---|---|
className | string | undefined | No | |
isPending | boolean | undefined | No | |
size | "lg" | "md" | "sm" | undefined | No | |
user | (StripEmptyObjects<{ id: string; createdAt: Date; updatedAt: Date; email: string; emailVerified: boolean; name: string; image?: string | null | undefined; }> & { username?: string | null; displayUsername?: string | null; }) | undefined | No |
Notes
- Most interactive auth components expect to be rendered under
AuthProviderso hooks such asuseAuthand the configured navigation bridge are available. - See Customization Guide for provider-level localization, route overrides, class-name slots, loading overrides, and email template key mapping.