Skip to content

LoginFormOptions

Open .md
Live preview

Loading example…

Row under the fields with a remember-me checkbox (reported to onSubmit as remember) and a help slot.

import { LoginFormOptions } from "@jcsoftdev/ui/auth";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/auth/login-form.

<LoginFormOptions portals={[]} />
Prop Type Default Description
rememberLabel string Label of the checkbox. Defaults to the localized “Remember me”.
help ReactNode Help link or button at the end of the row.
helpHref string Adds the localized “Need help?” link to this address when help is not given.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/auth/login-form/parts.tsx