@props([ 'action' => 'submit', // must match the action in the form request: new RecaptchaV3('') 'tone' => 'light', // light | dark (colour of the small notice) ]) {{-- Google reCAPTCHA v3 for a form. Put it inside the
: - holds the hidden g-recaptcha-response token (filled and refreshed automatically) - shows the validation error and the "protected by reCAPTCHA" notice (the floating badge is hidden in CSS) The api script is loaded once per page. --}} @if (config('recaptcha.enabled', true))
class(['recaptcha-v3 w-full']) }}> @error('g-recaptcha-response')

{{ $message }}

@enderror

{{ __('pages.captcha_notice') }} {{ __('pages.captcha_privacy') }} & {{ __('pages.captcha_terms') }}.

@once @push('scripts') @endpush @endonce @endif