8 lines
372 B
PHP
8 lines
372 B
PHP
<span class="badge {{ $class }}" {{ $attributes->merge(['class' => 'rounded-pill px-3 py-2 d-inline-flex align-items-center justify-content-center']) }}>
|
|
@if($icon)
|
|
<i data-lucide="{{ $icon }}" style="width: 14px; height: 14px; margin-right: 6px;"></i>
|
|
@endif
|
|
<span style="font-size: 0.85rem; font-weight: 500;">
|
|
{{ $slot }}
|
|
</span>
|
|
</span> |