Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(captcha): Add customization options for the CAPTCHA widget #2046

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anagstef
Copy link
Member

@anagstef anagstef commented Feb 21, 2025

🔎 Previews:

What does this solve?

This gives the ability to developers to customize the appearance of the CAPTCHA widget.

What changed?

Adds 3 new appearance.layout properties for customizing the CAPTCHA widget:

  • captchaTheme
  • captchaSize
  • captchaLanguage

Also, for custom flows we have added 3 data attributes:

  • data-cl-theme
  • data-cl-size
  • data-cl-language

More info on this PR: clerk/javascript#5184

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • I have added the "deploy-preview" label and added the preview link(s) to this PR description
  • All existing checks pass

@anagstef anagstef self-assigned this Feb 21, 2025
Copy link

Hey, here’s your docs preview: https://clerk.com/docs/pr/2046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant