@trustcomponent/trustcaptcha-vue
| Install | |
|---|---|
npm install @trustcomponent/trustcaptcha-vue |
|
| Latest Version: | 3.0.2 |
| Vue: | 3 |
| License: | Apache-2.0 |
| Last Updated: | Aug 31, 2026 |
| Links: | npm |
TrustCaptcha for Vue.js — GDPR-compliant, privacy-first CAPTCHA
Protect websites and apps against bots and spam with a privacy-first, EU-hosted CAPTCHA solution.
What is TrustCaptcha?
TrustCaptcha combines proof-of-work, an AI bot-score and custom security rules to stop automated bot abuse — without image marking or puzzles
Key perks:
- Privacy-friendly & GDPR-compliant – data processed exclusively in Europe
- No visual challenges – users never label images or solve quizzes
- Fully themable widget – matches any brand and design and improves your user flow
- Conversion-safe – near-zero user drop-off compared to legacy CAPTCHAs
Read the full TrustCaptcha product overview for technical details and the security concept.
Get started
- Create an account: sign up / sign in.
- Choose a CAPTCHA: pick an existing one or create a new one.
- Embed the widget: implement the TrustCaptcha widget into your website or app.
- Validate result: validate the CAPTCHA verification result in your backend.
Need a walkthrough? See the Vue.js integration guide.
Basic Vue.js integration
- Install the package
npm i @trustcomponent/trustcaptcha-vue
- Add TrustCaptcha component to the app
import {TrustcaptchaComponent} from "@trustcomponent/trustcaptcha-vue";
createApp(App).use(TrustcaptchaComponent).mount('#app')
- Use the TrustCaptcha component in any form element
<form>
<!-- your input fields -->
<trustcaptcha-component
sitekey="<your-site-key>"
@captchaSolved="handleSuccess($event.detail)"
@captchaFailed="handleError($event.detail)"
></trustcaptcha-component>
<!-- further input fields / submit button -->
</form>
Congratulations — you have successfully integrated the TrustCaptcha widget into your website!
For detailed implementation instructions, read the Vue.js integration guide.
Other pre-built integrations
TrustCaptcha ships ready-made integrations for popular stacks:
- Platforms like WordPress, Joomla, CraftCMS or Keycloak
- Frontends like JavaScript, Angular, React or Vue.js
- Backends like Node.js, PHP, Python, Java, Ruby, Rust, Go or DotNet
- Mobile Applications like iOS, Android, React Native or Flutter
Discover all our pre-built Integrations on our website.
Get support
Questions? We will be happy to help!
- Email: mail@trustcomponent.com
- Contact form: reach the support team
Related Packages
Nawa Captcha for Vue 3: accessible, self-hosted puzzle CAPTCHA component with v-...
Add Pulse Analytics — privacy-first web analytics — to a Nuxt site with one modu...
GDPR cookie and cookieless-tracking consent for Nuxt 4: banner, floating button,...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 3.0.2 | >=3.3.0 <4.0.0 | Apache-2.0 | |
| 3.0.1 | >=3.3.0 <4.0.0 | Apache-2.0 | |
| 3.0.0 | >=3.3.0 <4.0.0 | Apache-2.0 | |
| 2.2.0 | ^3.2.47 | Apache-2.0 | |
| 2.1.2 | ^3.2.47 | Apache-2.0 | |
| 2.1.1 | ^3.2.47 | Apache-2.0 | |
| 2.1.0 | ^3.2.47 | Apache-2.0 | |
| 2.0.1 | ^3.2.47 | Apache-2.0 | |
| 2.0.0 | ^3.2.47 | Apache-2.0 |
Pre-releases (5)
| Version | Released | Vue | License |
|---|---|---|---|
| 3.0.2-beta.0 | >=3.3.0 <4.0.0 | Apache-2.0 | |
| 3.0.0-beta.0 | >=3.3.0 <4.0.0 | Apache-2.0 | |
| 2.2.0-beta.0 | ^3.2.47 | Apache-2.0 | |
| 2.0.1-beta.0 | ^3.2.47 | Apache-2.0 | |
| 2.0.0-beta.0 | ^3.2.47 | Apache-2.0 |