@props([ 'label' => '', 'name' => '', 'id' => '', 'value' => '', 'type' => 'text', 'required' => false, 'autofocus' => false, 'disabled' => false, 'placeholder' => '', 'variant' => 'primary', 'autocomplete' => 'on', ]) @php // Paleta por variante $palette = [ 'primary' => 'input-primary', 'secondary' => 'input-secondary', ][$variant] ?? ''; @endphp