Skip to content

LoginFormPortals

Open .md
Live preview

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 { 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.

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