Users
UsersProfile
User profile management panel for editing basic account information.
UsersProfile
Renders an editable profile form for a specific user — name, email, avatar, and metadata — with save and reset actions available to admins.
Components
<XAdminUsersProfile />
Displays and allows editing of a user's core profile fields including name, email, avatar, and custom metadata.
<XAdminUsersProfile :userId="userId" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
userId | string | — | ID of the user whose profile to display |
endpoint | string | '/api/admin/users' | Base API endpoint |
loading | boolean | false | Show loading skeleton |
readonly | boolean | false | Disable all editing controls |
showAvatar | boolean | true | Show avatar upload control |
AI Context
component: XAdminUsersProfile
package: "@xenterprises/nuxt-x-app-admin"
category: Users
use-when: Displaying and editing a user's profile information in an admin user detail view
