@props([ 'id', 'label' => null, 'hint' => null, 'error' => null, 'required' => false, 'disabled' => false, 'loading' => false, 'wide' => false, ])
class([ 'ui-form-field', 'ui-form-field--wide' => $wide, 'is-invalid' => filled($error), 'is-disabled' => $disabled, 'is-loading' => $loading, ]) }} data-ui-form-field @if ($loading) aria-busy="true" @endif > @if (filled($label)) @endif
{{ $slot }}
@if (filled($hint))

{{ $hint }}

@endif @if (filled($error)) @endif