<snip-form key="YOUR_KEY" mode="live">
<form>
<div loading:show class="absolute left-0 top-0 w-full dark:bg-black bg-white bg-opacity-75 dark:bg-opacity-25 z-10 h-full rounded-md">
<div class="flex justify-center items-center h-64">
<div class="animate-spin rounded-full h-32 w-32 border-b-2 border-primary-500"></div>
</div>
</div>
<div class="mb-2">
<label for="name" class="form-label">Full Name</label>
<input sf-validate:required="Please enter your name" type="text" name="full_name" id="name" class="form-input" />
<p error-show-text:full_name class="form-error-text"></p>
</div>
<div class="mb-2">
<label for="email" class="form-label">Email</label>
<input sf-validate:email type="email" name="email" id="email" class="form-input" placeholder="[email protected]" />
<p error-show-text:email class="form-error-text"></p>
</div>
<div class="flex justify-between items-center">
<div>
<div submit:show style="display:none" class="text-orange-500 text-lg">One moment please</div>
</div>
<button submit:class="!bg-orange-500" submit:text="Submitting...." type="submit" class="form-button">Submit</button>
</div>
</form>
</snip-form>
<script src="https://cdn.snipform.io/wrap/sf.iife.js" defer></script>