+
{{ $value }}
+
{{ $label }}
+ @if($trend !== null)
+ @php
+ $trendClass = match(true) {
+ $trend > 0 => 'text-success',
+ $trend < 0 => 'text-danger',
+ default => 'text-charcoal/50',
+ };
+ $trendPrefix = $trend > 0 ? '+' : '';
+ @endphp
+
+ {{ $trendPrefix }}{{ $trend }}%
+
+ @endif
+