hCaptcha JavaScript Widget

The hCaptcha JS widget renders the visible or invisible challenge on a page and produces a response token on success. Developers include a script tag pointing at js.hcaptcha.com/1/api.js and place a div with data-sitekey, optionally configuring theme, size, callback, and language. Frontend wrappers exist for React, Vue, and Angular.

API entry from apis.yml

apis.yml Raw ↑
aid: hcaptcha:js-widget
name: hCaptcha JavaScript Widget
description: 'The hCaptcha JS widget renders the visible or invisible challenge

  on a page and produces a response token on success. Developers

  include a script tag pointing at js.hcaptcha.com/1/api.js and place

  a div with data-sitekey, optionally configuring theme, size,

  callback, and language. Frontend wrappers exist for React, Vue,

  and Angular.

  '
humanURL: https://docs.hcaptcha.com/configuration
baseURL: https://js.hcaptcha.com/1/api.js
tags:
- JavaScript
- Widget
- Frontend
- Challenge
properties:
- type: Documentation
  url: https://docs.hcaptcha.com/configuration
- type: ScriptURL
  url: https://js.hcaptcha.com/1/api.js
- type: SDKReact
  url: https://github.com/hCaptcha/react-hcaptcha
- type: SDKVue
  url: https://github.com/hCaptcha/vue-hcaptcha
- type: SDKAngular
  url: https://github.com/hCaptcha/ng-hcaptcha