Signup Form
A full account creation form with social login options, built from native form elements and Jazz components.
<style>
form {
display: flex;
flex-direction: column;
gap: var(--spacing-4);
width: 100%;
max-width: 420px;
}
header,
footer {
text-align: center;
}
.password-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--spacing-3);
text-align: left;
}
.divider {
display: flex;
align-items: center;
gap: var(--spacing-3);
}
.divider hr {
flex: 1;
}
.social-row {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: var(--spacing-3);
}
</style>
<form>
<header>
<h2>Create your account</h2>
<p style="color: var(--jazz-neutral-400)">
Enter your email below to create your account
</p>
</header>
<label class="field" style="">
Email
<input type="email" placeholder="coolcat@example.com" />
<small>
We'll use this to contact you. We will not share your email with anyone
else.
</small>
</label>
<div class="password-row">
<label class="field">
Password
<input type="password" minlength="8" />
</label>
<label class="field">
Confirm Password
<input type="password" minlength="8" />
</label>
</div>
<small>Must be at least 8 characters long.</small>
<button type="submit">Create Account</button>
<div class="divider">
<hr />
<small style="color: var(--jazz-neutral-400)">Or continue with</small>
<hr />
</div>
<div class="social-row">
<button type="button" class="outline"><svg>...</svg></button>
<button type="button" class="outline"><svg>...</svg></button>
<button type="button" class="outline"><svg>...</svg></button>
</div>
<footer style="color: var(--jazz-neutral-400)">
Already have an account? <a href="#">Sign in</a>
</footer>
</form>