Tenants
TenantsDirectory
Tenant list with search and filters for admin multi-tenant management.
TenantsDirectory
Renders a paginated, searchable table of all tenants with plan, status (active, suspended), user count, and quick-action controls for suspend, activate, and plan change.
Components
<XAdminTenantsDirectory />
Displays all tenants with search, plan and status filters, and row-level admin actions.
<XAdminTenantsDirectory />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | string | '/api/admin/tenants' | API endpoint for tenant list |
loading | boolean | false | Show loading skeleton |
pageSize | number | 25 | Number of tenants per page |
searchable | boolean | true | Show search input |
showFilters | boolean | true | Show plan and status filter controls |
AI Context
component: XAdminTenantsDirectory
package: "@xenterprises/nuxt-x-app-admin"
category: Tenants
use-when: Listing and searching tenants in an admin multi-tenant management section
