Skip to content
FORMS · FREE

Captcha

A light first check against simple bots, with no external service.

A light first check against simple bots, with no external service: a small arithmetic question.

Why it helps

  • No third-party service
  • Simple for people
  • Stops basic bots

Where it fits

  • Contact forms
  • Sign-up forms
  • Comments
Captcha control in a RayCraft page

Example

<Captcha @bind-Verified="_human" />
<Button Disabled="@(!_human)">Send message</Button>
<span>@(_human ? "Verified: the button is enabled." : "Solve the question to enable the button.")</span>

@code {
    private bool _human;
}

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation