LoginForm
Opinionated email + password login template — composes TextField, PasswordField, and a submit button
Interactive-mode
Examples
Default login form
Login form with description and footer
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. |