Users
UsersDirectory
Searchable user directory with filters for admin user management.
UsersDirectory
Renders a paginated, searchable table of all users with filter controls for role, status, and date range. Supports bulk actions such as suspend, delete, and role assignment.
Components
<XAdminUsersDirectory />
Displays a full-featured user list with search, column sorting, status filters, and row-level action menus.
<XAdminUsersDirectory />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | string | '/api/admin/users' | API endpoint for user list |
loading | boolean | false | Show loading skeleton |
pageSize | number | 25 | Number of users per page |
searchable | boolean | true | Show search input |
showFilters | boolean | true | Show role/status filter panel |
AI Context
component: XAdminUsersDirectory
package: "@xenterprises/nuxt-x-app-admin"
category: Users
use-when: Building an admin user management page that lists, searches, and filters all users
