X Enterprises
Dashboard

DashboardActiveUsers

Real-time active users count widget for the admin dashboard.

DashboardActiveUsers

Displays the number of users currently active in the application, refreshed on a configurable polling interval, with optional sparkline history.

Components

<XAdminDashboardActiveUsers />

Renders a compact stat card with the live active user count, delta since last period, and an optional mini sparkline.

<XAdminDashboardActiveUsers />

Props

PropTypeDefaultDescription
endpointstring'/api/admin/dashboard/active-users'API endpoint for active user count
loadingbooleanfalseShow loading skeleton
refreshIntervalnumber15000Polling interval in milliseconds
showSparklinebooleantrueShow mini activity sparkline

AI Context

component: XAdminDashboardActiveUsers
package: "@xenterprises/nuxt-x-app-admin"
category: Dashboard
use-when: Showing a live count of currently active users as a dashboard stat widget
Copyright © 2026