RayCraftDocs
v1.0.3 raycraft.dev
On this page

LoginForm

Free

Ready-made sign-in form with localized validation. It raises OnSubmit with the entered LoginModel and leaves the actual sign-in to you.

Example

LoginForm control

Parameters

ParameterTypeDescription
BusyboolDisables the submit button while your code works.
ClassstringExtra CSS classes added to the root element.
ErrorMessagestringError shown above the fields, for example a failed sign-in.
FooterRenderFragmentContent shown under the form, such as links.
ShowRememberboolShows the Remember me check box (default true).
StylestringInline style added to the root element.
TitlestringHeading; defaults to Sign in.
UserLabelstringLabel of the first field (default Email).

Events

EventTypeDescription
OnSubmitEventCallback<LoginModel>Raised with the entered model when validation passes.

Package

LoginForm is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.