# `PhoenixKitWeb.Components.AdminNav`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit_web/components/admin_nav.ex#L1)

Admin navigation components for the PhoenixKit admin panel.
Provides consistent navigation elements for both desktop sidebar and mobile drawer.

# `admin_language_dropdown`

Renders language dropdown for top bar navigation.
Shows globe icon with dropdown menu for language selection.

## Attributes

* `current_path` (`:string`) - Defaults to `""`.
* `current_locale` (`:string`) - Defaults to `"en"`.

# `admin_nav_icon`

Renders an icon for admin navigation items.

## Attributes

* `icon` (`:string`) (required)
* `active` (`:boolean`) - Defaults to `false`.

# `admin_nav_item`

Renders an admin navigation item with proper active state styling.

## Examples

    <.admin_nav_item
      href={Routes.locale_aware_path(assigns,"/admin")}
      icon="dashboard"
      label="Dashboard"
      current_path={Routes.locale_aware_path(assigns,"/admin")}
    />

    <.admin_nav_item
      href={Routes.locale_aware_path(assigns,"/admin/users")}
      icon="users"
      label="Users"
      current_path={Routes.locale_aware_path(assigns,"/admin")}
      mobile={true}
    />

## Attributes

* `href` (`:string`) (required)
* `icon` (`:string`) (required)
* `label` (`:string`) (required)
* `description` (`:string`) - Defaults to `nil`.
* `current_path` (`:string`) (required)
* `mobile` (`:boolean`) - Defaults to `false`.
* `nested` (`:boolean`) - Defaults to `false`.
* `disable_active` (`:boolean`) - Defaults to `false`.
* `exact_match_only` (`:boolean`) - Defaults to `false`.
* `submenu_open` (`:boolean`) - Defaults to `false`.

# `admin_theme_controller`

Renders theme controller for admin panel.
Uses the shared theme_controller component with all themes.

## Attributes

* `mobile` (`:boolean`) - Defaults to `false`.

# `admin_user_dropdown`

Renders user dropdown for top bar 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_user_info`

Renders user information section for admin panel sidebar.
Shows current user email and role information.

## Attributes

* `scope` (`:any`) - Defaults to `nil`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
