@props([ 'href' => '#', 'variant' => 'default', 'class' => '', 'animated' => true, ]) @php $baseClasses = 'cursor-pointer group/button-link inline-flex items-center justify-center flex-nowrap h-10 px-6 rounded-full text-sm font-medium transition-all whitespace-nowrap'; $variantClasses = match ($variant) { 'outline' => 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50', default => 'bg-primary text-primary-foreground hover:bg-primary/90', }; $classes = cn($baseClasses, $variantClasses, $class); @endphp merge(['class' => $classes]) }} @if($animated) data-animate="appear" @endif> {{ $slot }} {{-- ChevronRight icon (Lucide) --}}