All Projects → evenchange4 → react-grecaptcha

evenchange4 / react-grecaptcha

Licence: MIT license
React.js Google reCAPTCHA v2 integration component.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-grecaptcha

Codeigniter-recaptcha
CodeIgniter library to use Google's reCAPTCHA V2
Stars: ✭ 25 (-51.92%)
Mutual labels:  recaptcha, google-recaptcha, recaptchav2
recaptcha
Google reCAPTCHA v2 PHP class
Stars: ✭ 41 (-21.15%)
Mutual labels:  recaptcha, google-recaptcha, recaptchav2
react-recaptcha-x
a React reCAPTCHA version 3 and version 2 (checkbox) component in one.
Stars: ✭ 21 (-59.62%)
Mutual labels:  recaptcha, google-recaptcha, recaptchav2
evileg-core
EVILEG Social Network Framework - Core (ESNF-C)
Stars: ✭ 17 (-67.31%)
Mutual labels:  recaptcha, google-recaptcha
recaptcha2
Easy verifier for google reCAPTCHA version 2 for Node.js and Express.js
Stars: ✭ 48 (-7.69%)
Mutual labels:  recaptcha, google-recaptcha
reCAPTCHA
‼️ Google reCAPTCHA (security) for Nette Framework \ Forms
Stars: ✭ 35 (-32.69%)
Mutual labels:  recaptcha, google-recaptcha
AspNetCore-ReCAPTCHAv3
reCAPTCHA v3 Usage in Asp.Net Core MVC
Stars: ✭ 17 (-67.31%)
Mutual labels:  recaptcha, google-recaptcha
Hooman
http interceptor to hoomanize cloudflare requests
Stars: ✭ 82 (+57.69%)
Mutual labels:  recaptcha
Robe React Ui
Robe React UI Components
Stars: ✭ 133 (+155.77%)
Mutual labels:  recaptcha
Dnato System Login
Manage member user & login System for CodeIgniter. It's very small, secure (with notification to review activity log in, will Sent via Email) and very fast login system, 👍 with bootstrap 3 & Custom Theme.
Stars: ✭ 53 (+1.92%)
Mutual labels:  recaptcha
Recaptcha Go
Validate Google reCAPTCHA v2 & v3 form submission package in golang
Stars: ✭ 49 (-5.77%)
Mutual labels:  recaptcha
Recaptcha Spring Boot Starter
Spring Boot starter for Google's reCAPTCHA
Stars: ✭ 103 (+98.08%)
Mutual labels:  recaptcha
Python Anticaptcha
Client library for solve captchas with Anticaptcha.com support.
Stars: ✭ 137 (+163.46%)
Mutual labels:  recaptcha
Recaptcha
Go wrapper for http://www.google.com/recaptcha
Stars: ✭ 63 (+21.15%)
Mutual labels:  recaptcha
Captcha solver
Universal python API to captcha solving services
Stars: ✭ 152 (+192.31%)
Mutual labels:  recaptcha
Karserrecaptcha3bundle
Google ReCAPTCHA v3 for Symfony
Stars: ✭ 52 (+0%)
Mutual labels:  recaptcha
Recaptcha
[In]visible ReCaptcha v2 for iOS
Stars: ✭ 208 (+300%)
Mutual labels:  recaptcha
Laravel Google Recaptcha V3
It's probably the best Laravel Package for Google reCAPTCHA v3. Vue component supported.
Stars: ✭ 149 (+186.54%)
Mutual labels:  recaptcha
Nim websitecreator
Nim fullstack website framework - deploy a website within minutes
Stars: ✭ 124 (+138.46%)
Mutual labels:  recaptcha
Recaptcha.aspnetcore
Google reCAPTCHA v2/v3 for .NET Core 3.x
Stars: ✭ 122 (+134.62%)
Mutual labels:  recaptcha

react-grecaptcha

React.js Google reCAPTCHA v2 integration component.

Travis Codecov Status npm package npm downloads

Dependency Status devDependency Status peerDependency Status

prettier license

Feature

  1. Isomorphic support. (Only render on client side.)
  2. Lazy load scripts for routing.
  3. Automatically render the reCAPTCHA widget.
  4. I18n support. https://developers.google.com/recaptcha/docs/language
  5. Simple to use.

Demo

  1. Storybook: react-grecaptcha.netlify.com
  2. Webpackbin: webpackbin.com/bins/-KjCPM_MB-WIp-vxaBCy

storybook

Installation

$ yarn add react-grecaptcha

Usage

import Recaptcha from 'react-grecaptcha';

const verifyCallback = response => console.log(response);
const expiredCallback = () => {...};

<Recaptcha
  sitekey={RECAPTCHA_SITE_KEY}
  callback={verifyCallback}
  expiredCallback={expiredCallback}
  locale="zh-TW"
  className="customClassName"

  // Other props will be passed into the component.
  data-theme="dark"
/>

API

  • To reset the recaptcha:
window.grecaptcha.reset();

// You can use other functions the same way.
window.grecaptcha.execute
window.grecaptcha.getResponse
window.grecaptcha.render
...

Development

Requirements

  • node >= 9.4.0
  • yarn >= 1.3.2
$ yarn install --pure-lockfile
$ yarn start

Test

$ yarn run format
$ yarn run eslint
$ yarn run test:watch
$ yarn run build
$ yarn run build-storybook

CONTRIBUTING

  • ⇄ Pull requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • Pull requests must be accompanied by passing automated tests ($ yarn test).

CHANGELOG

LICENSE

MIT: http://michaelhsu.mit-license.org

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].