<div class="tw-rounded-2xl tw-border tw-border-gray-200 tw-dark:border-gray-800
tw-bg-white tw-p-5 tw-dark:bg-white/[0.03] tw-md:p-6">
    <div class="tw-flex tw-h-12 tw-w-12 tw-items-center tw-justify-center tw-rounded-xl tw-bg-gray-100
    tw-dark:bg-gray-800">
        <svg class="tw-fill-gray-800 tw-dark:fill-white/90"
             width="24"
             height="24"
             viewBox="{$icon->viewBox|default:'0 0 24 24'}"
             fill="none"
             xmlns="http://www.w3.org/2000/svg">
            {include file="{$tailadminURI}svg-paths/{$icon->name}.tpl"}
        </svg>
    </div>
    <div class="tw-mt-5 tw-flex tw-items-end tw-justify-between">
        <div title="{__('Total')}"
             data-toggle="tooltip">
            <span class="tw-text-sm tw-text-gray-500 tw-dark:text-gray-400">
                {$title}
            </span>
            <h4 class="tw-mt-2 tw-text-title-sm tw-font-bold tw-text-gray-800 tw-dark:text-white/90">
                {$total}
            </h4>
        </div>
        <span title="{__('Last %s day performance%s', $timeFrame|default:30, $totalLastXDays|default:'')}"
              data-toggle="tooltip">
            {include file="{$tailadminURI}smarty/reloadable/components/metric-item/{$changeType}.tpl"
            amount={$changeAmount}}
        </span>
    </div>
</div>
