LoginForm

Opinionated email + password login template — composes TextField, PasswordField, and a submit button

Interactive-mode

Examples

Default login form

Sign in

Welcome back

Sign in to your account to continue.

API

The element family below can be composed together. Click an element to jump to its properties.

Element Purpose
LoginForm An opinionated email + password login form. Composes TextField (email type) and PasswordField chunks with a native submit button. Fires OnSubmit with a LoginFormSubmitArgs record containing the entered email and password.

LoginForm

An opinionated email + password login form. Composes TextField (email type) and PasswordField chunks with a native submit button. Fires OnSubmit with a LoginFormSubmitArgs record containing the entered email and password.

Property Type Required Description
OnSubmit EventCallback<LoginFormSubmitArgs> Fired when the form is submitted. The argument contains Email and Password strings.
Title string? Heading text rendered as <h1>. Default: "Sign in".
Description string? Optional subtitle rendered below the title. Omit to hide.
Footer RenderFragment? Optional slot below the submit button — typically a "Forgot password?" link.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.