LoginFormPortals
Loading example…
Picker of the portal the person signs in through: a radio group of icon tiles with arrow-key navigation. Renders nothing when the form has fewer than two portals.
Import
Section titled “Import”import { LoginFormPortals } from "@jcsoftdev/ui/auth";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/auth/login-form.
<LoginFormPortals portals={[]} />| Prop | Type | Default | Description |
|---|---|---|---|
label |
string |
Visible heading of the picker. Defaults to the localized “Sign in as”. | |
className |
string |
* marks a required prop.
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