---
title: "Workspace and admin components"
description: "The workspace settings, the invitation page, the activity trail and the admin console's components, and the console's tabs: one section per component, with its props, slots, events, states and accessibility."
canonical_url: "https://nuxt-backend.dev/docs/reference/components/workspaces"
---
# Workspace and admin components

> The workspace settings, the invitation page, the activity trail and the admin console's components, and the console's tabs: one section per component, with its props, slots, events, states and accessibility.

Version: nuxt-backend 0.6.x · Tab: Reference · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/tree/main/src/runtime/vue/components)

The components that manage workspaces, read the activity trail and run the [admin console](https://nuxt-backend.dev/docs/build/auth/admin). Each one keeps the [component contract](https://nuxt-backend.dev/docs/reference/components#the-component-contract): its props, slots, events, states and accessibility are listed in its section.

## The admin console's tabs

The console shows its built-in tabs in this order. A tab that reads a backend file shows only once the app has it:

<table>
<thead>
  <tr>
    <th>
      Tab
    </th>
    
    <th>
      What it shows
    </th>
    
    <th>
      Shows once
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Users
    </td>
    
    <td>
      Every account, with <code>
        <AdminUsers>
      </code>
    </td>
    
    <td>
      always
    </td>
  </tr>
  
  <tr>
    <td>
      Workspaces
    </td>
    
    <td>
      Every workspace, with <code>
        <AdminWorkspaces>
      </code>
    </td>
    
    <td>
      always
    </td>
  </tr>
  
  <tr>
    <td>
      Activity
    </td>
    
    <td>
      The whole activity trail, with <code>
        <AuditLog scope="all">
      </code>
    </td>
    
    <td>
      always
    </td>
  </tr>
  
  <tr>
    <td>
      Reports
    </td>
    
    <td>
      Reported content, notices and appeals, the content review queue
    </td>
    
    <td>
      <code>
        backend/admin.ts
      </code>
      
       passes <code>
        reports
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Flags
    </td>
    
    <td>
      The kill switches and the app's feature flags
    </td>
    
    <td>
      always
    </td>
  </tr>
  
  <tr>
    <td>
      Access
    </td>
    
    <td>
      The launch phase, invite codes, access links, member tickets and invitations by address
    </td>
    
    <td>
      the app has <code>
        backend/access.ts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Waitlist
    </td>
    
    <td>
      The waiting people, admitted in waves
    </td>
    
    <td>
      the app has <code>
        backend/waitlist.ts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Announcements
    </td>
    
    <td>
      The notices everyone signed in sees, and the emails that go with them
    </td>
    
    <td>
      the app has <code>
        backend/email.ts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Inbox
    </td>
    
    <td>
      The contact form's messages and inbound mail, with replies
    </td>
    
    <td>
      <code>
        backend/email.ts
      </code>
      
       re-exports <code>
        getInboxConsole
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Referrals
    </td>
    
    <td>
      The referral program's totals, top referrers and flagged queue
    </td>
    
    <td>
      the app has <code>
        backend/referrals.ts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Billing
    </td>
    
    <td>
      Save offers, withdrawals and renewal consent proofs
    </td>
    
    <td>
      <code>
        backend/billing.ts
      </code>
      
       re-exports <code>
        getBillingConsole
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Queue
    </td>
    
    <td>
      The generation job queue and its dead letters
    </td>
    
    <td>
      <code>
        backend/jobs.ts
      </code>
      
       defines a queue
    </td>
  </tr>
  
  <tr>
    <td>
      Costs
    </td>
    
    <td>
      What each person's AI calls cost
    </td>
    
    <td>
      <code>
        backend/ai.ts
      </code>
      
       re-exports <code>
        getCosts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Analytics
    </td>
    
    <td>
      The Revenue, Growth and Experiments views
    </td>
    
    <td>
      the app re-exports <code>
        getRevenue
      </code>
      
      , <code>
        getFunnel
      </code>
      
       or <code>
        getExperiments
      </code>
      
      , one per view
    </td>
  </tr>
  
  <tr>
    <td>
      Webhooks
    </td>
    
    <td>
      Both providers' webhook delivery log, with a replay per delivery
    </td>
    
    <td>
      the app has <code>
        backend/webhooks.ts
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Suppressions
    </td>
    
    <td>
      The addresses the email provider stopped delivering to, lifted one by one
    </td>
    
    <td>
      <code>
        backend/email.ts
      </code>
      
       re-exports <code>
        getSuppressions
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      System
    </td>
    
    <td>
      Every app capability's state, in the detail the health endpoint gives an administrator
    </td>
    
    <td>
      always
    </td>
  </tr>
</tbody>
</table>

Apps add tabs of their own: a page of yours under the console's path with the `adminTab` page meta joins the console, guarded like the console itself, and a page guarded with `hidden: true` answers 404 to anyone it refuses ([Add your own admin tabs](https://nuxt-backend.dev/docs/build/auth/admin/custom-tabs)).

## `<WorkspaceSettings>`

Workspace, plan, and credits management — the billing entity is the active workspace, so switching workspaces switches the subscription. Sections: workspace list + create + switch (`WorkspaceList`); the plan (`WorkspaceBilling`), which follows its subscription's state (a trial's end, a failed payment to update in the portal, a pause to resume, a cancellation to keep the plan from, a scheduled change to cancel) with what it includes, a switch to another plan or billing period that says when it applies before it does, a pause of one to three months, and a one-step cancellation; credits balance + top-up (`WorkspaceCredits`).

<table>
<thead>
  <tr>
    <th>
      At a glance
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Registered from
    </td>
    
    <td>
      <code>
        src/runtime/vue/components/workspaces/WorkspaceSettings.vue
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Rendered by
    </td>
    
    <td>
      the <code>
        /settings
      </code>
      
       page (<code>
        pages.settings
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      Family
    </td>
    
    <td>
      <code>
        data-settings
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/configuration/labels#settings">
        <code>
          settings
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Slots
    </td>
    
    <td>
      <code>
        workspaces
      </code>
      
      , <code>
        workspace
      </code>
      
      , <code>
        create
      </code>
      
      , <code>
        billing
      </code>
      
      , <code>
        credits
      </code>
      
      , <code>
        footer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Events
    </td>
    
    <td>
      <code>
        workspace-created
      </code>
      
      , <code>
        workspace-switched
      </code>
      
      , <code>
        plan-canceled
      </code>
      
      , <code>
        plan-uncanceled
      </code>
      
      , <code>
        plan-resumed
      </code>
      
      , <code>
        change-canceled
      </code>
      
      , <code>
        plan-changed
      </code>
      
      , <code>
        plan-paused
      </code>
      
      , <code>
        topped-up
      </code>
      
      , <code>
        error
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      States
    </td>
    
    <td>
      ready, loading, pending, error, refused, trialing, past-due, paused, canceling, changing, confirm-cancel
    </td>
  </tr>
  
  <tr>
    <td>
      Parts
    </td>
    
    <td>
      <code>
        WorkspaceList
      </code>
      
      , <code>
        WorkspaceBilling
      </code>
      
      , <code>
        WorkspaceCredits
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Tier
    </td>
    
    <td>
      stable
    </td>
  </tr>
</tbody>
</table>

**Props**

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        sections
      </code>
    </td>
    
    <td>
      <code>
        WorkspaceSettingsSection[]
      </code>
    </td>
    
    <td>
      <code>
        ['workspaces', 'billing', 'credits']
      </code>
    </td>
    
    <td>
      
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        pricingPath
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Pricing page path for the "view plans" link. Default: the resolved default-page path.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        labels
      </code>
    </td>
    
    <td>
      <code>
        LabelOverrides<BackendLabels['settings']>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Copy for this component, over <code>
        appConfig.backend.labels.settings
      </code>
      
       and the translations.
    </td>
  </tr>
</tbody>
</table>

**Accessibility:** Each workspace row is named by its name and slug, which also describe its switch button; the active row is `aria-current` and, in the default rows (not a `workspace` slot of yours), takes focus once a switch the person made has landed; the plan's state is words (a trial, a failed payment, a pause, a cancellation or a change and its date), never colour alone; "Cancel plan" says whether it is expanded and opens one group named by its heading, with what ends when and one button that cancels, nothing else; Escape or the same button closes it and keeps focus there, and once a cancellation went through focus moves to the plan's state; "Change plan" and "Pause plan" say whether they are expanded and each open one group named by its heading: the switch a select inside its label, then a group named by its question with the price, when the switch happens and how the period settles in words, "Confirm switch" and "Not now"; the pause what it does in words and its lengths as radios under a legend, "Confirm pause" and "Not now"; Escape closes either and gives focus back to its button, and once a switch or a pause went through focus moves to the plan's state; a busy button keeps focus, and a status announces what it waits for, the outcome, that the plan or the credits load, and that a purchase is being finished; the create field has a visible label; a failure is an alert.

## `<AcceptInvitation>`

Accept/decline UI for a workspace-invitation link (`/accept-invitation?id=<invitationId>` — the URL invitation emails point at). Loads the invitation, shows who invited the user to which workspace, and offers Accept / Decline (`AcceptInvitationActions`). Accepting joins the workspace and (by default) makes it the active one.

<table>
<thead>
  <tr>
    <th>
      At a glance
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Registered from
    </td>
    
    <td>
      <code>
        src/runtime/vue/components/workspaces/AcceptInvitation.vue
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Rendered by
    </td>
    
    <td>
      the <code>
        /accept-invitation
      </code>
      
       page (<code>
        pages.acceptInvitation
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      Family
    </td>
    
    <td>
      <code>
        data-invitation
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/configuration/labels#invitation">
        <code>
          invitation
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Slots
    </td>
    
    <td>
      <code>
        loading
      </code>
      
      , <code>
        ready
      </code>
      
      , <code>
        accepted
      </code>
      
      , <code>
        declined
      </code>
      
      , <code>
        missing
      </code>
      
      , <code>
        error
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Events
    </td>
    
    <td>
      <code>
        accepted
      </code>
      
      , <code>
        declined
      </code>
      
      , <code>
        error
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      States
    </td>
    
    <td>
      loading, ready, pending, accepted, declined, missing, error
    </td>
  </tr>
  
  <tr>
    <td>
      Parts
    </td>
    
    <td>
      <code>
        AcceptInvitationActions
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Tier
    </td>
    
    <td>
      stable
    </td>
  </tr>
</tbody>
</table>

**Props**

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        invitationId
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Invitation id. Defaults to the <code>
        id
      </code>
      
       query parameter of the current URL.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        activate
      </code>
    </td>
    
    <td>
      <code>
        boolean
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      Make the joined workspace active after accepting. Default <code>
        true
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        labels
      </code>
    </td>
    
    <td>
      <code>
        LabelOverrides<BackendLabels['invitation']>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Copy for this component, over <code>
        appConfig.backend.labels.invitation
      </code>
      
       and the translations.
    </td>
  </tr>
</tbody>
</table>

**Accessibility:** Every message is a live region: an outcome a polite status, a dead link or a failure an alert; the wrapper is `aria-busy` while the invitation loads and while an answer is on its way, and the answering button says so and keeps focus (`aria-disabled`).

## `<AuditLog>`

The activity trail as a list, a page at a time: the signed-in account's own (`scope="mine"`, the default), the active workspace's for its owners and admins (`scope="workspace"`), or every event for administrators (`scope="all"`). Each event (`AuditLogEvent`) is one sentence from the `audit` labels, who acted first, then what the sentence leaves out.

<table>
<thead>
  <tr>
    <th>
      At a glance
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Registered from
    </td>
    
    <td>
      <code>
        src/runtime/vue/components/workspaces/AuditLog.vue
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Rendered by
    </td>
    
    <td>
      the <code>
        /security
      </code>
      
       page (<code>
        pages.security
      </code>
      
      ) and the <code>
        /settings
      </code>
      
       page (<code>
        pages.settings
      </code>
      
      ); the <code>
        /admin
      </code>
      
       page (<code>
        pages.admin
      </code>
      
      ), inside its component
    </td>
  </tr>
  
  <tr>
    <td>
      Family
    </td>
    
    <td>
      <code>
        data-audit
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/configuration/labels#audit">
        <code>
          audit
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Slots
    </td>
    
    <td>
      <code>
        header
      </code>
      
      , <code>
        loading
      </code>
      
      , <code>
        empty
      </code>
      
      , <code>
        event
      </code>
      
      , <code>
        pager
      </code>
      
      , <code>
        error
      </code>
      
      , <code>
        footer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Events
    </td>
    
    <td>
      none
    </td>
  </tr>
  
  <tr>
    <td>
      States
    </td>
    
    <td>
      loading, empty, ready, pending, error, refused
    </td>
  </tr>
  
  <tr>
    <td>
      Parts
    </td>
    
    <td>
      <code>
        AuditLogEvent
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Tier
    </td>
    
    <td>
      stable
    </td>
  </tr>
</tbody>
</table>

**Props**

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        scope
      </code>
    </td>
    
    <td>
      <code>
        AuditScope
      </code>
    </td>
    
    <td>
      <code>
        'mine'
      </code>
    </td>
    
    <td>
      Whose activity: <code>
        mine
      </code>
      
      , <code>
        workspace
      </code>
      
       or <code>
        all
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        title
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      The heading. Default: the scope's title label; an empty string for none.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        limit
      </code>
    </td>
    
    <td>
      <code>
        number
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Events per page, at most 100. Default 20.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        labels
      </code>
    </td>
    
    <td>
      <code>
        LabelOverrides<BackendLabels['audit']>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Copy for this component, over <code>
        appConfig.backend.labels.audit
      </code>
      
       and the translations.
    </td>
  </tr>
</tbody>
</table>

**Accessibility:** Each event is one sentence with its time as a `<time>`, then what the sentence leaves out; loading and empty are polite statuses, a failure an alert with no empty note beside it; `aria-busy` while a page loads; the pager button pressed keeps focus (`aria-disabled`) and says the page loads, a status announcing it, and once no page is left in its direction focus moves to the other one.

## `<AdminUsers>`

Every account of the app, for its administrators: a search by address, a page at a time (`AdminUsersTable`), and a drawer with one account in full (`AdminUserDrawer`): its role, its ban, its device sessions and workspaces, and "Impersonate". Setting a role, banning, lifting a ban and impersonating take a recent sign-in, which the component's own `<ReauthenticateDialog>` asks for; signing an account's sessions out does not. An administrator's own account offers none of these, and another administrator's offers no impersonation.

<table>
<thead>
  <tr>
    <th>
      At a glance
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Registered from
    </td>
    
    <td>
      <code>
        src/runtime/vue/components/admin/AdminUsers.vue
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Rendered by
    </td>
    
    <td>
      the <code>
        /admin
      </code>
      
       page (<code>
        pages.admin
      </code>
      
      ), inside its component
    </td>
  </tr>
  
  <tr>
    <td>
      Family
    </td>
    
    <td>
      <code>
        data-admin
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/configuration/labels#admin">
        <code>
          admin
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Slots
    </td>
    
    <td>
      <code>
        header
      </code>
      
      , <code>
        loading
      </code>
      
      , <code>
        empty
      </code>
      
      , <code>
        user
      </code>
      
      , <code>
        pager
      </code>
      
      , <code>
        error
      </code>
      
      , <code>
        footer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Events
    </td>
    
    <td>
      <code>
        role-changed
      </code>
      
      , <code>
        banned
      </code>
      
      , <code>
        unbanned
      </code>
      
      , <code>
        sessions-revoked
      </code>
      
      , <code>
        impersonated
      </code>
      
      , <code>
        error
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      States
    </td>
    
    <td>
      loading, empty, ready, pending, error, refused
    </td>
  </tr>
  
  <tr>
    <td>
      Parts
    </td>
    
    <td>
      <code>
        AdminUsersTable
      </code>
      
      , <code>
        AdminUserDrawer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Tier
    </td>
    
    <td>
      stable
    </td>
  </tr>
</tbody>
</table>

**Props**

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        limit
      </code>
    </td>
    
    <td>
      <code>
        number
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Accounts per page, at most 100. Default 20.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        roles
      </code>
    </td>
    
    <td>
      <code>
        string[]
      </code>
    </td>
    
    <td>
      <code>
        ['user', 'admin']
      </code>
    </td>
    
    <td>
      The app-wide roles the drawer offers, by key (an account's own role is offered too). Default: <code>
        user
      </code>
      
       and <code>
        admin
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        landing
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '/'
      </code>
    </td>
    
    <td>
      Where an impersonation lands: the app reloads there as the account. Default <code>
        /
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        confirm
      </code>
    </td>
    
    <td>
      <code>
        (message: string) => boolean | Promise<boolean>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Confirm a ban; return <code>
        false
      </code>
      
       to abort. Default: the component's own confirmation dialog.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        labels
      </code>
    </td>
    
    <td>
      <code>
        LabelOverrides<BackendLabels['admin']>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Copy for this component, over <code>
        appConfig.backend.labels.admin
      </code>
      
       and the translations.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        userId
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      An account to open in the drawer, by id, whatever page of the list shows: the console's <code>
        ?tab=users&user=<id>
      </code>
      
      , which the Reports tab links an author to.
    </td>
  </tr>
</tbody>
</table>

**Accessibility:** The accounts are a table with a header row, each row headed by its account, whose name also names its "View" button; the search is a labelled search field in a `search` landmark; "View" opens a native modal dialog named by the account, which takes focus on its close button, keeps it inside, closes on Escape or "Close" and gives focus back to the "View" pressed; every field in it has a visible label; a busy button keeps focus (`aria-disabled`) and says what it waits for; an outcome is a polite status, a failure an alert; loading and empty are polite statuses; nothing at all for a caller who is no administrator.

## `<AdminWorkspaces>`

Every workspace of the app, read-only, for its administrators: a search by name, a page at a time (`AdminWorkspacesTable`), and a drawer with one workspace's members and open invitations (`AdminWorkspaceDrawer`). An administrator acts inside a workspace only by impersonating a member ("Impersonate" on their row), which opens the visit in that workspace and takes a recent sign-in; a member who is an administrator offers none.

<table>
<thead>
  <tr>
    <th>
      At a glance
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Registered from
    </td>
    
    <td>
      <code>
        src/runtime/vue/components/admin/AdminWorkspaces.vue
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Rendered by
    </td>
    
    <td>
      the <code>
        /admin
      </code>
      
       page (<code>
        pages.admin
      </code>
      
      ), inside its component
    </td>
  </tr>
  
  <tr>
    <td>
      Family
    </td>
    
    <td>
      <code>
        data-admin
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/reference/configuration/labels#admin">
        <code>
          admin
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Slots
    </td>
    
    <td>
      <code>
        header
      </code>
      
      , <code>
        loading
      </code>
      
      , <code>
        empty
      </code>
      
      , <code>
        workspace
      </code>
      
      , <code>
        pager
      </code>
      
      , <code>
        error
      </code>
      
      , <code>
        footer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Events
    </td>
    
    <td>
      <code>
        impersonated
      </code>
      
      , <code>
        error
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      States
    </td>
    
    <td>
      loading, empty, ready, pending, error, refused
    </td>
  </tr>
  
  <tr>
    <td>
      Parts
    </td>
    
    <td>
      <code>
        AdminWorkspacesTable
      </code>
      
      , <code>
        AdminWorkspaceDrawer
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Tier
    </td>
    
    <td>
      stable
    </td>
  </tr>
</tbody>
</table>

**Props**

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        limit
      </code>
    </td>
    
    <td>
      <code>
        number
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Workspaces per page, at most 100. Default 20.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        landing
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      <code>
        '/'
      </code>
    </td>
    
    <td>
      Where an impersonation lands: the app reloads there as the member. Default <code>
        /
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        labels
      </code>
    </td>
    
    <td>
      <code>
        LabelOverrides<BackendLabels['admin']>
      </code>
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Copy for this component, over <code>
        appConfig.backend.labels.admin
      </code>
      
       and the translations.
    </td>
  </tr>
</tbody>
</table>

**Accessibility:** The workspaces are a table with a header row, each row headed by its workspace, whose name also names its "View" button; the search is a labelled search field in a `search` landmark; "View" opens a native modal dialog named by the workspace, which says it is read-only, takes focus on its close button, closes on Escape or "Close" and gives focus back; each member's "Impersonate" is named by the member; a busy button keeps focus (`aria-disabled`) and says what it waits for; a failure is an alert; nothing at all for a caller who is no administrator.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
