<?php
    $base_class = 'lqd-legend flex items-center gap-2.5';
    $box_base_class = 'lqd-legend-box shrink-0 grow-0 rounded-full bg-primary';
    $label_base_class = 'lqd-legend-label';

    $variations = [
        'size' => [
            'sm' => 'lqd-legend-sm size-2',
            'sm' => 'lqd-legend-sm size-2',
            'md' => 'lqd-legend-md size-2.5',
        ],
    ];

    $size = isset($variations['size'][$size]) ? $variations['size'][$size] : $variations['size']['md'];
?>

<div <?php echo e($attributes->withoutTwMergeClasses()->twMerge($base_class, $attributes->get('class'))); ?>>
    <span <?php echo e($attributes->twMergeFor('box', $size, $box_base_class)); ?>></span>
    <span <?php echo e($attributes->twMergeFor('label', $label_base_class)); ?>>
        <?php echo e($label); ?>

    </span>
    <?php echo e($slot); ?>

</div>
<?php /**PATH /home/aineptune/public_html/resources/views/default/components/legend.blade.php ENDPATH**/ ?>