Skip to main content

`<UserDropdown />`

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

The UserDropdown component renders a button showing the user's avatar or name. When clicked, it opens a dropdown menu with links to the user profile and a sign-out action. It is auto-registered by the Nuxt module.

Usage​

Basic Usage​

components/NavBar.vue
<template>
<nav>
<SignedIn>
<UserDropdown />
</SignedIn>
<SignedOut>
<SignInButton />
</SignedOut>
</nav>
</template>

Props​

PropTypeRequiredDescription
appearanceAppearance❌Customize the component's visual appearance
preferencesPreferences❌Customization options for i18n and theming

Was this page helpful?