LoginFormProviders
Loading example…
Labelled slot for alternative ways to sign in. The library ships no providers: it renders only the children you pass (buttons, links) in a wrapping row, and nothing when there are none.
Import
Section titled “Import”import { LoginFormProviders } from "@jcsoftdev/ui/auth";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/auth/login-form.
<LoginFormProviders portals={[]} />| Prop | Type | Default | Description |
|---|---|---|---|
label |
string |
Text on the divider above the providers. Defaults to the localized “Or log in with”. |
* 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).
Storybook stories
Section titled “Storybook stories”- Standalone
- With Portals
- Portal Tiles Focus And Check
- Complete
- Missing Identifier
- Wrong Password
- Loading
- Controlled Error
- Inside Auth Layout
- Repeated Error
- Controlled Outcome Reset
- Keeps Default Active Index
- Submit Keeps Focus While Loading
Source
Section titled “Source”packages/ui/src/auth/login-form/parts.tsx