{"repo":"ghostdevv/svelte-turnstile","free":true,"listed":false,"github":"https://github.com/ghostdevv/svelte-turnstile","clone":"git clone https://github.com/ghostdevv/svelte-turnstile.git","description":"A lightweight Svelte component for Cloudflare Turnstile","language":"Svelte","stars":272,"topics":["hacktoberfest","svelte"],"license":"MIT","category":"ui-components","readme_excerpt":"Svelte Turnstile Works with Svelte 3, 4, and 5 (compatibility mode)! Cloudflare's Turnstile is a new CAPTCHA alternative, this library allows you to easily integrate it into your svelte projects. Installing Demo https://svelte-turnstile.willow.codes Using The only required prop is the siteKey which you can get from adding a site here. Props Prop Type Description Required ------------------- ---------------------------------------------------- ---------------------------------------------------------------------------------------------- -------- siteKey string sitekey for your website ✅ theme 'light' \\ 'dark' \\ 'auto' colour theme of the widget (defaults to auto ) size 'normal' \\ 'flexible' \\ 'invisible' \\ 'compact' size of the widget (defaults to normal ) action string A string that can be used to differentiate widgets, returned on validation cData string A string that can attach customer data to a challange, returned on validation tabIndex number Used for accessibility (defaults to 0 ) responseField boolean if true the response token will be a property on the form data (default true ) responseFieldName string the name of the input which will appear on the form data (default cf-turnstile-response ) retry 'auto' \\ 'never' should the widget automatically retry to obtain a token if it did not succeed (default auto ) retryInterval number if retry is true, this controls the time between attempts in milliseconds (default 8000 ) language SupportedLanguage \\ 'auto' the language turns","default_branch":null,"files":null,"tree":[],"storefront":"/r/ghostdevv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ghostdevv/svelte-turnstile/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}