@props([ 'statistic', 'tone' => 'light', // light | dark ]) {{-- Animated counter. The final number is rendered server-side, so the value is present without JavaScript and for reduced-motion visitors; GSAP counts up from zero to the same figure when motion is allowed. --}}
$tone === 'light', 'text-white' => $tone === 'dark', ])> @if ($statistic->prefix){{ $statistic->prefix }}@endif {{ number_format($statistic->numericValue()) }} @if ($statistic->suffix){{ $statistic->suffix }}@endif
$tone === 'light', 'text-white/70' => $tone === 'dark', ])>{{ $statistic->label }}
@if ($statistic->description)$tone === 'light', 'text-white/50' => $tone === 'dark', ])>{{ $statistic->description }}
@endif