{{-- Resource Allocation Card Component - TailAdmin style For displaying CPU, Memory, and other resource allocation vs entitlement Usage: --}} @props([ 'label', 'percent' => null, 'usageSummary', 'entitlementLabel', 'description' => null, 'gradient' => 'linear-gradient(90deg, #465fff 0%, #8b5cf6 100%)', 'badge' => null, 'icon' => null, 'iconColor' => 'text-brand-500', ])
class(['rounded-2xl border border-gray-200 bg-white p-5 transition-colors duration-150 hover:bg-gray-50 dark:border-gray-800 dark:bg-white/[0.03] dark:hover:bg-gray-800/50']) }}>
@if($icon)
@endif

{{ $label }}

{{ $usageSummary }}

{{ $entitlementLabel }}

@if($badge) {{ $badge['label'] ?? '' }} @endif
@if(!is_null($percent))
Usage {{ $percent }}%
@endif @if($description)

{{ $description }}

@endif