© 2026 Hedgehog Software, LLC
Stat::make('User Analytics', $totalUsers) ->description( <<<HTML Active: $activeUsers ({$this->getActivePercentage($activeUsers, $totalUsers)}%)<br> Inactive: $inactiveUsers ({$this->getInactivePercentage($inactiveUsers, $totalUsers)}%) HTML ) ->descriptionIcon('heroicon-m-users') ->chart($userGrowth->pluck('aggregate')->toArray()) ->color('primary'),
->description(new HtmlString('Active<br>Inactive'))