Google reCaptcha components for Angular 14, supporting v2, v3, and invisible captcha.
ngx-captcha is an Angular library that provides components for integrating Google reCaptcha into Angular applications. It offers a seamless way to add bot protection and security verification by supporting multiple reCaptcha versions (v2, v3, and invisible) and integrating directly with Angular's form systems for both reactive and template-driven approaches.
Angular developers building web applications that require bot protection, such as login forms, registration pages, or any user input forms that need security verification against automated abuse.
Developers choose ngx-captcha because it provides a native Angular experience with minimal setup complexity, offering direct access to Google's configuration properties while automatically handling dynamic script loading and seamless integration with Angular forms.
ReCaptcha components for Angular. Live preview:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly integrates with both ReactiveFormsModule and FormsModule, enabling easy validation and control binding as shown in the reactive and template-driven form examples in the README.
Provides components for reCaptcha v2, v3 (beta), and invisible reCaptcha, covering use cases from checkbox verification to background behavior analysis, as highlighted in the features list.
Automatically loads Google's reCaptcha script only when needed, optimizing performance by reducing initial page load times, as mentioned in the key features.
Exposes all official Google reCaptcha properties directly, allowing developers to fine-tune behavior and appearance without abstraction layers, per the philosophy section.
The reCaptcha v3 implementation is labeled as beta, indicating potential instability or breaking changes as Google updates its API, which could affect production reliability.
Unit testing requires workarounds like adding timeouts due to script loading occurring outside Angular's zone, making tests slower and less reliable, as admitted in the README's testing section.
Locks applications into Google's reCaptcha ecosystem with no built-in support for alternative CAPTCHA providers, limiting flexibility for privacy-focused or multi-vendor projects.