import PasskeyButton from "./PasskeyButton.wrn" import { Button, Checkbox, Input, TogglePassword } from "@wrnexus/ui" component SignIn { props { action = "/api/auth/login" schema = "auth-login" returnTo = "/" redirect = "" mfaHref = "/two-factor" title = "Welcome back" description = "Sign in to continue to your account." identifierLabel = "Email, phone, or username" identifierPlaceholder = "Enter your email, mobile number, or username" passwordLabel = "Password" passwordPlaceholder = "Enter your password" submitLabel = "Sign in" forgotHref = "/recover" signUpHref = "/sign-up" showRemember = true showPasskey = true showSignUp = true color = "primary" size = "md" class = "" } view {

{title}

{description}

{#if showRemember}{/if}
} style { .wrn-auth-sign-in__header { margin-bottom: 1.5rem; } .wrn-auth-sign-in__header h1 { font-size: 1.75rem; line-height: 1.15; } .wrn-auth-sign-in__header p { margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.5; } .wrn-auth-sign-in__form { display: grid; gap: 1.15rem; } .wrn-auth-sign-in__form > * { margin: 0 !important; } .wrn-auth-sign-in__remember { margin-top: -0.25rem !important; } .wrn-auth-sign-in__form .wrn-next__field-heading label, .wrn-auth-sign-in__form .wrn-next__password-heading { font-size: 0.875rem; font-weight: 650; } .wrn-auth-sign-in__form .wrn-next__field-control > input { min-height: 3rem; font-size: 0.875rem; } .wrn-auth-sign-in__form [data-error]:empty { display: none; } .wrn-auth-sign-in__form .wrn-action[data-full-width="true"] { margin-top: 0.15rem !important; } } }