GoogleReCaptchaCheckbox

Checkbox component for Google reCAPTCHA v2 in Vue applications

<GoogleReCaptchaCheckbox site-key id size theme language action @change @error @expired @update />

Props

PropTypeRequiredDefaultDescription
siteKeystring--The site key for the reCAPTCHA widget
idstringYes-Unique identifier for the checkbox container
size'normal' | 'compact'--Size of the reCAPTCHA widget
theme'light' | 'dark'--Theme of the reCAPTCHA widget
languagestring--Language code for the reCAPTCHA widget
actionstring--Action name for the reCAPTCHA

Events

EventPayloadDescription
changestringEmitted when the user completes the challenge
error-Emitted when an error occurs
expired-Emitted when the challenge expires
update:tokenstringEmitted when the token is updated

On this page