@props(['name', 'label', 'type' => 'text', 'value' => null, 'help' => null])
class(['input', 'ring-red-400 focus:ring-red-500' => $errors->has($name)]) }}> @error($name)

{{ $message }}

@else @if ($help)

{{ $help }}

@endif @enderror