Skip to main content
The <UrUserButton> component renders a small profile avatar that, when clicked, opens a dropdown menu containing the user’s name, email, and action buttons like “Profile”, “Settings”, and “Logout”. It automatically disappears if the user is not logged in, making it safe to place anywhere in your application layout.

Usage

Props

Logout Behavior

The “Logout” button inside the dropdown is automatically wired up to the SDK. Clicking it will immediately log the user out and clear the session state across the application.