Skip to main content

<UserDropdown />

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

Explore with AI

ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.