smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Users · Components

UserMenu

User profile menu dropdown.

Public export

typescript
import { UserMenu } from '@happyvertical/smrt-users/svelte';
Import path
@happyvertical/smrt-users/svelte
Props
6
Props described
6 of 6
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
profileProfileNoFull SMRT profile object
user{ name: string; email?: string; }NoSimple user object (used when profile is not available)
signoutUrlstringNoURL for sign out
profileUrlstringNoURL for profile page
settingsUrlstringNoURL for settings page
aria-labelstringNoAccessible label for the menu button

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation