import { Button, Checkbox, Input, StrongPassword } from "@wrnexus/ui" component SignUp { props { action = "/api/auth/register" schema = "auth-register" redirect = "" title = "Create your account" description = "Use a strong password and verify your contact details." submitLabel = "Create account" signInHref = "/sign-in" termsHref = "/legal/terms" privacyHref = "/legal/privacy-policy" namePlaceholder = "Enter your full name" emailPlaceholder = "Enter your email address" phonePlaceholder = "Enter your mobile number" usernamePlaceholder = "Choose a username" passwordPlaceholder = "Create a strong password" showPhone = true showUsername = true requireConsent = true color = "primary" size = "md" class = "" } view {

{title}

{description}

{#if showPhone} {/if} {#if showUsername} {/if} {#if requireConsent} {:else} {/if}

Already have an account? Sign in

} style { .wrn-auth-sign-up > header { margin-bottom: 1.5rem; } .wrn-auth-sign-up > header h1 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.025em; } .wrn-auth-sign-up > header p { margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.5; } .wrn-auth-sign-up__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; } .wrn-auth-sign-up__form .wrn-next__field-heading label, .wrn-auth-sign-up__form .wrn-next--strong-password > label { font-size: 0.875rem; font-weight: 650; } .wrn-auth-sign-up__form .wrn-next__field-control > input { min-height: 3rem; font-size: 0.875rem; } .wrn-auth-sign-up__form [data-error]:empty { display: none; } .wrn-auth-sign-up__wide { grid-column: 1 / -1; min-width: 0; } .wrn-auth-sign-up__submit { width: 100%; margin-top: 0.25rem; } .wrn-auth-sign-up__submit .wrn-btn { min-height: 3rem; font-size: 0.9375rem; } } }