{"repo":"snelsi/next-recaptcha-v3","free":true,"listed":false,"github":"https://github.com/snelsi/next-recaptcha-v3","clone":"git clone https://github.com/snelsi/next-recaptcha-v3.git","description":"⭐ Straightforward solution for using ReCaptcha in your Next.js application","language":"TypeScript","stars":163,"topics":["nextjs","react","recaptcha","recaptcha-v3"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"⭐ Next.js ReCaptcha V3 Straightforward solution for using ReCaptcha in your Next.js application. 🗜️ Tiny and Tree-Shakable 🥰 Written in TypeScript 🐅 Highly customizable 😎 Uses next/script component Install Pure ESM package This package is pure ESM. It cannot be require() 'd from CommonJS. Generate reCAPTCHA Key To use ReCaptcha, you need to generate a reCAPTCHA site key for your site's domain. You can get one here. You can either add generated key as a Next.js env variable or pass it directly to the ReCaptchaProvider using reCaptchaKey attribute. Getting Started Wrap your application with ReCaptchaProvider . It will load ReCaptcha script to your document. ReCaptchaProvider uses Next.js Script to add ReCaptcha script to the document. ReCaptchaProvider Props Prop Type Default Required Description --------------- -------- ----------- ------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- reCaptchaKey string ? Your reCAPTCHA key, get one from here useEnterprise boolean false Set to true if you use ReCaptcha Enterprise useRecaptchaNet boolean false Set to true if you want to use recaptcha.net to load ReCaptcha script. docs language string Optional Language Code You must pass reCaptchaKey if NEXT PUBLIC RECAPTCHA SITE KEY env variable is not defined. All extra props are passed directly to the Script tag, so you can use all props from the next/script documentati","default_branch":null,"files":null,"tree":[],"storefront":"/r/snelsi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/snelsi/next-recaptcha-v3/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}