Search documentation of phoenix_kit

# PhoenixKitWeb.Components.UserDashboardNav (phoenix_kit v1.7.87)

Copy Markdown View Source

User dashboard navigation components for the PhoenixKit user dashboard. Provides navigation elements specifically for user dashboard pages.

## Summary

### Functions

user_dropdown(assigns)

Renders user dropdown for dashboard navigation. Shows user avatar with dropdown menu containing email, role, settings and logout.

## Functions

# user_dropdown(assigns)

Renders user dropdown for dashboard navigation. Shows user avatar with dropdown menu containing email, role, settings and logout.

## Attributes

- `scope` (`:any`) - Defaults to `nil`.
- `current_path` (`:string`) - Defaults to `""`.
- `current_locale` (`:string`) - Defaults to `"en"`.
- `admin_edit_url` (`:string`) - Defaults to `nil`.
- `admin_edit_label` (`:string`) - Defaults to `nil`.