@props(['label', 'icon' => null, 'url' => null, 'textClass' => null]) @php $isButton = $attributes->has('type'); $labelClass = $textClass ?? 'text-xs'; @endphp @if ($isButton) @else merge(['class' => 'flex items-center justify-center gap-1 px-4 py-2 text-center border-[2px] border-(--button-to) text-white rounded-md bg-gradient-to-t shadow-xs shadow-violet-950 from-(--button-from) to-(--button-to)']) }}> @isset($icon)
@endisset
{{ $label }}
@endif