@props([ 'label', 'value', 'icon' => null, 'trend' => null, 'tone' => 'neutral', ]) {{-- Status is conveyed by an icon and a sign as well as by colour. Roughly one in twelve men has a colour vision deficiency, and a dashboard that encodes "bad" purely as red is unreadable to them. --}}
merge(['class' => 'clinic-stat clinic-stat--'.$tone]) }}> @if ($icon)
@endif
{{ $label }}
{{ $value }}
@if ($trend !== null)
{{ $trend >= 0 ? '+' : '' }}{{ $trend }}%
@endif