Skip to content

UserMenuProps

UserMenuProps = object

Defined in: packages/ui/src/types.ts:1182

Props for the UserMenu component.

Header dropdown showing the current user’s avatar, name, email, role badge, impersonation indicator, configurable navigation links, and sign-out action. Reads user data from @cfast/auth’s useCurrentUser().

optional links: UserMenuLink[]

Defined in: packages/ui/src/types.ts:1184

Additional navigation links in the dropdown.


optional onSignOut: () => void

Defined in: packages/ui/src/types.ts:1186

Callback for the sign-out action.

void